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


public interface JournalStructurePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 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 fetchByPrimaryKey(long id)
           
 JournalStructure fetchByUUID_G(java.lang.String uuid, long groupId)
           
 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 obc)
           
 JournalStructure findByG_S(long groupId, java.lang.String structureId)
           
 JournalStructure findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalStructure findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalStructure[] findByGroupId_PrevAndNext(long id, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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 obc)
           
 JournalStructure findByPrimaryKey(long id)
           
 JournalStructure findByStructureId_First(java.lang.String structureId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalStructure findByStructureId_Last(java.lang.String structureId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalStructure[] findByStructureId_PrevAndNext(long id, java.lang.String structureId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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 obc)
           
 JournalStructure findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalStructure findByUUID_G(java.lang.String uuid, long groupId)
           
 JournalStructure findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalStructure[] findByUuid_PrevAndNext(long id, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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 obc)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 void registerListener(ModelListener listener)
           
 JournalStructure remove(JournalStructure journalStructure)
           
 JournalStructure remove(long id)
           
 void removeAll()
           
 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)
           
 void unregisterListener(ModelListener listener)
           
 JournalStructure update(JournalStructure journalStructure)
          Deprecated. Use update(JournalStructure journalStructure, boolean merge).
 JournalStructure update(JournalStructure journalStructure, boolean merge)
          Add, update, or merge, the entity.
 JournalStructure updateImpl(JournalStructure journalStructure, boolean merge)
           
 

Method Detail

create

JournalStructure create(long id)

remove

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

remove

JournalStructure remove(JournalStructure journalStructure)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

JournalStructure update(JournalStructure journalStructure)
                        throws com.liferay.portal.SystemException
Deprecated. Use update(JournalStructure journalStructure, boolean merge).

Throws:
com.liferay.portal.SystemException

update

JournalStructure update(JournalStructure journalStructure,
                        boolean merge)
                        throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
journalStructure - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when journalStructure is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
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 obc)
                                            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 obc)
                                  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 obc)
                                 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 obc)
                                          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

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 obc)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

JournalStructure findByGroupId_First(long groupId,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     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 obc)
                                    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 obc)
                                             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 obc)
                                                   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 obc)
                                         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 obc)
                                        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 obc)
                                                 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

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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 obc)
                                         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

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

countAll

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

registerListener

void registerListener(ModelListener listener)

unregisterListener

void unregisterListener(ModelListener listener)