com.liferay.portlet.journal.service.persistence
Interface JournalStructurePersistence

All Superinterfaces:
BasePersistence<JournalStructure>

public interface JournalStructurePersistence
extends BasePersistence<JournalStructure>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
JournalStructurePersistenceImpl, JournalStructureUtil
Generated:

Method Summary
 void cacheResult(JournalStructure journalStructure)
           
 void cacheResult(java.util.List<JournalStructure> journalStructures)
           
 int countAll()
           
 int countByG_P(long groupId, java.lang.String parentStructureId)
           
 int countByG_S(long groupId, java.lang.String structureId)
           
 int countByGroupId(long groupId)
           
 int countByStructureId(java.lang.String structureId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 JournalStructure create(long id)
           
 JournalStructure fetchByG_S(long groupId, java.lang.String structureId)
           
 JournalStructure fetchByG_S(long groupId, java.lang.String structureId, boolean retrieveFromCache)
           
 JournalStructure fetchByPrimaryKey(long id)
           
 JournalStructure fetchByUUID_G(java.lang.String uuid, long groupId)
           
 JournalStructure fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 int filterCountByG_P(long groupId, java.lang.String parentStructureId)
           
 int filterCountByG_S(long groupId, java.lang.String structureId)
           
 int filterCountByGroupId(long groupId)
           
 java.util.List<JournalStructure> filterFindByG_P(long groupId, java.lang.String parentStructureId)
           
 java.util.List<JournalStructure> filterFindByG_P(long groupId, java.lang.String parentStructureId, int start, int end)
           
 java.util.List<JournalStructure> filterFindByG_P(long groupId, java.lang.String parentStructureId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<JournalStructure> filterFindByGroupId(long groupId)
           
 java.util.List<JournalStructure> filterFindByGroupId(long groupId, int start, int end)
           
 java.util.List<JournalStructure> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<JournalStructure> findAll()
           
 java.util.List<JournalStructure> findAll(int start, int end)
           
 java.util.List<JournalStructure> findAll(int start, int end, OrderByComparator orderByComparator)
           
 JournalStructure findByG_P_First(long groupId, java.lang.String parentStructureId, OrderByComparator orderByComparator)
           
 JournalStructure findByG_P_Last(long groupId, java.lang.String parentStructureId, OrderByComparator orderByComparator)
           
 JournalStructure[] findByG_P_PrevAndNext(long id, long groupId, java.lang.String parentStructureId, OrderByComparator orderByComparator)
           
 java.util.List<JournalStructure> findByG_P(long groupId, java.lang.String parentStructureId)
           
 java.util.List<JournalStructure> findByG_P(long groupId, java.lang.String parentStructureId, int start, int end)
           
 java.util.List<JournalStructure> findByG_P(long groupId, java.lang.String parentStructureId, int start, int end, OrderByComparator orderByComparator)
           
 JournalStructure findByG_S(long groupId, java.lang.String structureId)
           
 JournalStructure findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 JournalStructure findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 JournalStructure[] findByGroupId_PrevAndNext(long id, long groupId, OrderByComparator orderByComparator)
           
 java.util.List<JournalStructure> findByGroupId(long groupId)
           
 java.util.List<JournalStructure> findByGroupId(long groupId, int start, int end)
           
 java.util.List<JournalStructure> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 JournalStructure findByPrimaryKey(long id)
           
 JournalStructure findByStructureId_First(java.lang.String structureId, OrderByComparator orderByComparator)
           
 JournalStructure findByStructureId_Last(java.lang.String structureId, OrderByComparator orderByComparator)
           
 JournalStructure[] findByStructureId_PrevAndNext(long id, java.lang.String structureId, OrderByComparator orderByComparator)
           
 java.util.List<JournalStructure> findByStructureId(java.lang.String structureId)
           
 java.util.List<JournalStructure> findByStructureId(java.lang.String structureId, int start, int end)
           
 java.util.List<JournalStructure> findByStructureId(java.lang.String structureId, int start, int end, OrderByComparator orderByComparator)
           
 JournalStructure findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator)
           
 JournalStructure findByUUID_G(java.lang.String uuid, long groupId)
           
 JournalStructure findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator)
           
 JournalStructure[] findByUuid_PrevAndNext(long id, java.lang.String uuid, OrderByComparator orderByComparator)
           
 java.util.List<JournalStructure> findByUuid(java.lang.String uuid)
           
 java.util.List<JournalStructure> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<JournalStructure> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator orderByComparator)
           
 JournalStructure remove(long id)
           
 void removeAll()
           
 void removeByG_P(long groupId, java.lang.String parentStructureId)
           
 void removeByG_S(long groupId, java.lang.String structureId)
           
 void removeByGroupId(long groupId)
           
 void removeByStructureId(java.lang.String structureId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 JournalStructure updateImpl(JournalStructure journalStructure, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(JournalStructure journalStructure)

cacheResult

void cacheResult(java.util.List<JournalStructure> journalStructures)

create

JournalStructure create(long id)

remove

JournalStructure remove(long id)
                        throws SystemException,
                               NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

updateImpl

JournalStructure updateImpl(JournalStructure journalStructure,
                            boolean merge)
                            throws SystemException
Throws:
SystemException

findByPrimaryKey

JournalStructure findByPrimaryKey(long id)
                                  throws SystemException,
                                         NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

fetchByPrimaryKey

JournalStructure fetchByPrimaryKey(long id)
                                   throws SystemException
Throws:
SystemException

findByUuid

java.util.List<JournalStructure> findByUuid(java.lang.String uuid)
                                            throws SystemException
Throws:
SystemException

findByUuid

java.util.List<JournalStructure> findByUuid(java.lang.String uuid,
                                            int start,
                                            int end)
                                            throws SystemException
Throws:
SystemException

findByUuid

java.util.List<JournalStructure> findByUuid(java.lang.String uuid,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
Throws:
SystemException

findByUuid_First

JournalStructure findByUuid_First(java.lang.String uuid,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

findByUuid_Last

JournalStructure findByUuid_Last(java.lang.String uuid,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

findByUuid_PrevAndNext

JournalStructure[] findByUuid_PrevAndNext(long id,
                                          java.lang.String uuid,
                                          OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

findByUUID_G

JournalStructure findByUUID_G(java.lang.String uuid,
                              long groupId)
                              throws SystemException,
                                     NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

fetchByUUID_G

JournalStructure fetchByUUID_G(java.lang.String uuid,
                               long groupId)
                               throws SystemException
Throws:
SystemException

fetchByUUID_G

JournalStructure fetchByUUID_G(java.lang.String uuid,
                               long groupId,
                               boolean retrieveFromCache)
                               throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<JournalStructure> findByGroupId(long groupId)
                                               throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<JournalStructure> findByGroupId(long groupId,
                                               int start,
                                               int end)
                                               throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<JournalStructure> findByGroupId(long groupId,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                               throws SystemException
Throws:
SystemException

findByGroupId_First

JournalStructure findByGroupId_First(long groupId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

findByGroupId_Last

JournalStructure findByGroupId_Last(long groupId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

findByGroupId_PrevAndNext

JournalStructure[] findByGroupId_PrevAndNext(long id,
                                             long groupId,
                                             OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

filterFindByGroupId

java.util.List<JournalStructure> filterFindByGroupId(long groupId)
                                                     throws SystemException
Throws:
SystemException

filterFindByGroupId

java.util.List<JournalStructure> filterFindByGroupId(long groupId,
                                                     int start,
                                                     int end)
                                                     throws SystemException
Throws:
SystemException

filterFindByGroupId

java.util.List<JournalStructure> filterFindByGroupId(long groupId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                                     throws SystemException
Throws:
SystemException

findByStructureId

java.util.List<JournalStructure> findByStructureId(java.lang.String structureId)
                                                   throws SystemException
Throws:
SystemException

findByStructureId

java.util.List<JournalStructure> findByStructureId(java.lang.String structureId,
                                                   int start,
                                                   int end)
                                                   throws SystemException
Throws:
SystemException

findByStructureId

java.util.List<JournalStructure> findByStructureId(java.lang.String structureId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                                   throws SystemException
Throws:
SystemException

findByStructureId_First

JournalStructure findByStructureId_First(java.lang.String structureId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

findByStructureId_Last

JournalStructure findByStructureId_Last(java.lang.String structureId,
                                        OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

findByStructureId_PrevAndNext

JournalStructure[] findByStructureId_PrevAndNext(long id,
                                                 java.lang.String structureId,
                                                 OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

findByG_S

JournalStructure findByG_S(long groupId,
                           java.lang.String structureId)
                           throws SystemException,
                                  NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

fetchByG_S

JournalStructure fetchByG_S(long groupId,
                            java.lang.String structureId)
                            throws SystemException
Throws:
SystemException

fetchByG_S

JournalStructure fetchByG_S(long groupId,
                            java.lang.String structureId,
                            boolean retrieveFromCache)
                            throws SystemException
Throws:
SystemException

findByG_P

java.util.List<JournalStructure> findByG_P(long groupId,
                                           java.lang.String parentStructureId)
                                           throws SystemException
Throws:
SystemException

findByG_P

java.util.List<JournalStructure> findByG_P(long groupId,
                                           java.lang.String parentStructureId,
                                           int start,
                                           int end)
                                           throws SystemException
Throws:
SystemException

findByG_P

java.util.List<JournalStructure> findByG_P(long groupId,
                                           java.lang.String parentStructureId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                           throws SystemException
Throws:
SystemException

findByG_P_First

JournalStructure findByG_P_First(long groupId,
                                 java.lang.String parentStructureId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

findByG_P_Last

JournalStructure findByG_P_Last(long groupId,
                                java.lang.String parentStructureId,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

findByG_P_PrevAndNext

JournalStructure[] findByG_P_PrevAndNext(long id,
                                         long groupId,
                                         java.lang.String parentStructureId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

filterFindByG_P

java.util.List<JournalStructure> filterFindByG_P(long groupId,
                                                 java.lang.String parentStructureId)
                                                 throws SystemException
Throws:
SystemException

filterFindByG_P

java.util.List<JournalStructure> filterFindByG_P(long groupId,
                                                 java.lang.String parentStructureId,
                                                 int start,
                                                 int end)
                                                 throws SystemException
Throws:
SystemException

filterFindByG_P

java.util.List<JournalStructure> filterFindByG_P(long groupId,
                                                 java.lang.String parentStructureId,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                                 throws SystemException
Throws:
SystemException

findAll

java.util.List<JournalStructure> findAll()
                                         throws SystemException
Throws:
SystemException

findAll

java.util.List<JournalStructure> findAll(int start,
                                         int end)
                                         throws SystemException
Throws:
SystemException

findAll

java.util.List<JournalStructure> findAll(int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Throws:
SystemException

removeByUuid

void removeByUuid(java.lang.String uuid)
                  throws SystemException
Throws:
SystemException

removeByUUID_G

void removeByUUID_G(java.lang.String uuid,
                    long groupId)
                    throws SystemException,
                           NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByStructureId

void removeByStructureId(java.lang.String structureId)
                         throws SystemException
Throws:
SystemException

removeByG_S

void removeByG_S(long groupId,
                 java.lang.String structureId)
                 throws SystemException,
                        NoSuchStructureException
Throws:
SystemException
NoSuchStructureException

removeByG_P

void removeByG_P(long groupId,
                 java.lang.String parentStructureId)
                 throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUuid

int countByUuid(java.lang.String uuid)
                throws SystemException
Throws:
SystemException

countByUUID_G

int countByUUID_G(java.lang.String uuid,
                  long groupId)
                  throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Throws:
SystemException

countByStructureId

int countByStructureId(java.lang.String structureId)
                       throws SystemException
Throws:
SystemException

countByG_S

int countByG_S(long groupId,
               java.lang.String structureId)
               throws SystemException
Throws:
SystemException

filterCountByG_S

int filterCountByG_S(long groupId,
                     java.lang.String structureId)
                     throws SystemException
Throws:
SystemException

countByG_P

int countByG_P(long groupId,
               java.lang.String parentStructureId)
               throws SystemException
Throws:
SystemException

filterCountByG_P

int filterCountByG_P(long groupId,
                     java.lang.String parentStructureId)
                     throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException