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)
           
 java.util.List<JournalStructure> findAll()
           
 java.util.List<JournalStructure> findAll(int start, int end)
           
 java.util.List<JournalStructure> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 JournalStructure findByG_P_First(long groupId, java.lang.String parentStructureId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 JournalStructure findByG_P_Last(long groupId, java.lang.String parentStructureId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 JournalStructure[] findByG_P_PrevAndNext(long id, long groupId, java.lang.String parentStructureId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 JournalStructure findByG_S(long groupId, java.lang.String structureId)
           
 JournalStructure findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 JournalStructure findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 JournalStructure[] findByGroupId_PrevAndNext(long id, long groupId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 JournalStructure findByPrimaryKey(long id)
           
 JournalStructure findByStructureId_First(java.lang.String structureId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 JournalStructure findByStructureId_Last(java.lang.String structureId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 JournalStructure[] findByStructureId_PrevAndNext(long id, java.lang.String structureId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 JournalStructure findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 JournalStructure findByUUID_G(java.lang.String uuid, long groupId)
           
 JournalStructure findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 JournalStructure[] findByUuid_PrevAndNext(long id, java.lang.String uuid, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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 update(JournalStructure journalStructure)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 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 com.liferay.portal.SystemException,
                               NoSuchStructureException
Throws:
com.liferay.portal.SystemException
NoSuchStructureException

update

JournalStructure update(JournalStructure journalStructure)
                        throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

JournalStructure updateImpl(JournalStructure journalStructure,
                            boolean merge)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

JournalStructure findByPrimaryKey(long id)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchStructureException
Throws:
com.liferay.portal.SystemException
NoSuchStructureException

fetchByPrimaryKey

JournalStructure fetchByPrimaryKey(long id)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

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

findByUuid

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

findByUuid

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

findByUuid_First

JournalStructure findByUuid_First(java.lang.String uuid,
                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchStructureException
Throws:
com.liferay.portal.SystemException
NoSuchStructureException

findByUuid_Last

JournalStructure findByUuid_Last(java.lang.String uuid,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchStructureException
Throws:
com.liferay.portal.SystemException
NoSuchStructureException

findByUuid_PrevAndNext

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

findByUUID_G

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

fetchByUUID_G

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

fetchByUUID_G

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

findByGroupId

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

findByGroupId

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

findByGroupId

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

findByGroupId_First

JournalStructure findByGroupId_First(long groupId,
                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchStructureException
Throws:
com.liferay.portal.SystemException
NoSuchStructureException

findByGroupId_Last

JournalStructure findByGroupId_Last(long groupId,
                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchStructureException
Throws:
com.liferay.portal.SystemException
NoSuchStructureException

findByGroupId_PrevAndNext

JournalStructure[] findByGroupId_PrevAndNext(long id,
                                             long groupId,
                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                             throws com.liferay.portal.SystemException,
                                                    NoSuchStructureException
Throws:
com.liferay.portal.SystemException
NoSuchStructureException

findByStructureId

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

findByStructureId

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

findByStructureId

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

findByStructureId_First

JournalStructure findByStructureId_First(java.lang.String structureId,
                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchStructureException
Throws:
com.liferay.portal.SystemException
NoSuchStructureException

findByStructureId_Last

JournalStructure findByStructureId_Last(java.lang.String structureId,
                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchStructureException
Throws:
com.liferay.portal.SystemException
NoSuchStructureException

findByStructureId_PrevAndNext

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

findByG_S

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

fetchByG_S

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

fetchByG_S

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

findByG_P

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

findByG_P

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

findByG_P

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

findByG_P_First

JournalStructure findByG_P_First(long groupId,
                                 java.lang.String parentStructureId,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchStructureException
Throws:
com.liferay.portal.SystemException
NoSuchStructureException

findByG_P_Last

JournalStructure findByG_P_Last(long groupId,
                                java.lang.String parentStructureId,
                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                throws com.liferay.portal.SystemException,
                                       NoSuchStructureException
Throws:
com.liferay.portal.SystemException
NoSuchStructureException

findByG_P_PrevAndNext

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

findAll

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

findAll

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

findAll

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

removeByUuid

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

removeByUUID_G

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

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByStructureId

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

removeByG_S

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

removeByG_P

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

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUuid

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

countByUUID_G

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

countByGroupId

int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByStructureId

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

countByG_S

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

countByG_P

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

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException