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

All Superinterfaces:
BasePersistence<JournalTemplate>

public interface JournalTemplatePersistence
extends BasePersistence<JournalTemplate>

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:
JournalTemplatePersistenceImpl, JournalTemplateUtil
Generated:

Method Summary
 void cacheResult(JournalTemplate journalTemplate)
           
 void cacheResult(java.util.List<JournalTemplate> journalTemplates)
           
 int countAll()
           
 int countByG_S(long groupId, java.lang.String structureId)
           
 int countByG_T(long groupId, java.lang.String templateId)
           
 int countByGroupId(long groupId)
           
 int countBySmallImageId(long smallImageId)
           
 int countByTemplateId(java.lang.String templateId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 JournalTemplate create(long id)
           
 JournalTemplate fetchByG_T(long groupId, java.lang.String templateId)
           
 JournalTemplate fetchByG_T(long groupId, java.lang.String templateId, boolean retrieveFromCache)
           
 JournalTemplate fetchByPrimaryKey(long id)
           
 JournalTemplate fetchBySmallImageId(long smallImageId)
           
 JournalTemplate fetchBySmallImageId(long smallImageId, boolean retrieveFromCache)
           
 JournalTemplate fetchByUUID_G(java.lang.String uuid, long groupId)
           
 JournalTemplate fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 int filterCountByG_S(long groupId, java.lang.String structureId)
           
 int filterCountByG_T(long groupId, java.lang.String templateId)
           
 int filterCountByGroupId(long groupId)
           
 java.util.List<JournalTemplate> filterFindByG_S(long groupId, java.lang.String structureId)
           
 java.util.List<JournalTemplate> filterFindByG_S(long groupId, java.lang.String structureId, int start, int end)
           
 java.util.List<JournalTemplate> filterFindByG_S(long groupId, java.lang.String structureId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<JournalTemplate> filterFindByGroupId(long groupId)
           
 java.util.List<JournalTemplate> filterFindByGroupId(long groupId, int start, int end)
           
 java.util.List<JournalTemplate> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<JournalTemplate> findAll()
           
 java.util.List<JournalTemplate> findAll(int start, int end)
           
 java.util.List<JournalTemplate> findAll(int start, int end, OrderByComparator orderByComparator)
           
 JournalTemplate findByG_S_First(long groupId, java.lang.String structureId, OrderByComparator orderByComparator)
           
 JournalTemplate findByG_S_Last(long groupId, java.lang.String structureId, OrderByComparator orderByComparator)
           
 JournalTemplate[] findByG_S_PrevAndNext(long id, long groupId, java.lang.String structureId, OrderByComparator orderByComparator)
           
 java.util.List<JournalTemplate> findByG_S(long groupId, java.lang.String structureId)
           
 java.util.List<JournalTemplate> findByG_S(long groupId, java.lang.String structureId, int start, int end)
           
 java.util.List<JournalTemplate> findByG_S(long groupId, java.lang.String structureId, int start, int end, OrderByComparator orderByComparator)
           
 JournalTemplate findByG_T(long groupId, java.lang.String templateId)
           
 JournalTemplate findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 JournalTemplate findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 JournalTemplate[] findByGroupId_PrevAndNext(long id, long groupId, OrderByComparator orderByComparator)
           
 java.util.List<JournalTemplate> findByGroupId(long groupId)
           
 java.util.List<JournalTemplate> findByGroupId(long groupId, int start, int end)
           
 java.util.List<JournalTemplate> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 JournalTemplate findByPrimaryKey(long id)
           
 JournalTemplate findBySmallImageId(long smallImageId)
           
 JournalTemplate findByTemplateId_First(java.lang.String templateId, OrderByComparator orderByComparator)
           
 JournalTemplate findByTemplateId_Last(java.lang.String templateId, OrderByComparator orderByComparator)
           
 JournalTemplate[] findByTemplateId_PrevAndNext(long id, java.lang.String templateId, OrderByComparator orderByComparator)
           
 java.util.List<JournalTemplate> findByTemplateId(java.lang.String templateId)
           
 java.util.List<JournalTemplate> findByTemplateId(java.lang.String templateId, int start, int end)
           
 java.util.List<JournalTemplate> findByTemplateId(java.lang.String templateId, int start, int end, OrderByComparator orderByComparator)
           
 JournalTemplate findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator)
           
 JournalTemplate findByUUID_G(java.lang.String uuid, long groupId)
           
 JournalTemplate findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator)
           
 JournalTemplate[] findByUuid_PrevAndNext(long id, java.lang.String uuid, OrderByComparator orderByComparator)
           
 java.util.List<JournalTemplate> findByUuid(java.lang.String uuid)
           
 java.util.List<JournalTemplate> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<JournalTemplate> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator orderByComparator)
           
 JournalTemplate remove(long id)
           
 void removeAll()
           
 void removeByG_S(long groupId, java.lang.String structureId)
           
 void removeByG_T(long groupId, java.lang.String templateId)
           
 void removeByGroupId(long groupId)
           
 void removeBySmallImageId(long smallImageId)
           
 void removeByTemplateId(java.lang.String templateId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 JournalTemplate updateImpl(JournalTemplate journalTemplate, 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(JournalTemplate journalTemplate)

cacheResult

void cacheResult(java.util.List<JournalTemplate> journalTemplates)

create

JournalTemplate create(long id)

remove

JournalTemplate remove(long id)
                       throws SystemException,
                              NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

updateImpl

JournalTemplate updateImpl(JournalTemplate journalTemplate,
                           boolean merge)
                           throws SystemException
Throws:
SystemException

findByPrimaryKey

JournalTemplate findByPrimaryKey(long id)
                                 throws SystemException,
                                        NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

fetchByPrimaryKey

JournalTemplate fetchByPrimaryKey(long id)
                                  throws SystemException
Throws:
SystemException

findByUuid

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

findByUuid

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

findByUuid

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

findByUuid_First

JournalTemplate findByUuid_First(java.lang.String uuid,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

findByUuid_Last

JournalTemplate findByUuid_Last(java.lang.String uuid,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

findByUuid_PrevAndNext

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

findByUUID_G

JournalTemplate findByUUID_G(java.lang.String uuid,
                             long groupId)
                             throws SystemException,
                                    NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

fetchByUUID_G

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

fetchByUUID_G

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

findByGroupId

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

findByGroupId

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

findByGroupId

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

findByGroupId_First

JournalTemplate findByGroupId_First(long groupId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

findByGroupId_Last

JournalTemplate findByGroupId_Last(long groupId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

findByGroupId_PrevAndNext

JournalTemplate[] findByGroupId_PrevAndNext(long id,
                                            long groupId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

filterFindByGroupId

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

filterFindByGroupId

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

filterFindByGroupId

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

findByTemplateId

java.util.List<JournalTemplate> findByTemplateId(java.lang.String templateId)
                                                 throws SystemException
Throws:
SystemException

findByTemplateId

java.util.List<JournalTemplate> findByTemplateId(java.lang.String templateId,
                                                 int start,
                                                 int end)
                                                 throws SystemException
Throws:
SystemException

findByTemplateId

java.util.List<JournalTemplate> findByTemplateId(java.lang.String templateId,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                                 throws SystemException
Throws:
SystemException

findByTemplateId_First

JournalTemplate findByTemplateId_First(java.lang.String templateId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

findByTemplateId_Last

JournalTemplate findByTemplateId_Last(java.lang.String templateId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

findByTemplateId_PrevAndNext

JournalTemplate[] findByTemplateId_PrevAndNext(long id,
                                               java.lang.String templateId,
                                               OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

findBySmallImageId

JournalTemplate findBySmallImageId(long smallImageId)
                                   throws SystemException,
                                          NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

fetchBySmallImageId

JournalTemplate fetchBySmallImageId(long smallImageId)
                                    throws SystemException
Throws:
SystemException

fetchBySmallImageId

JournalTemplate fetchBySmallImageId(long smallImageId,
                                    boolean retrieveFromCache)
                                    throws SystemException
Throws:
SystemException

findByG_T

JournalTemplate findByG_T(long groupId,
                          java.lang.String templateId)
                          throws SystemException,
                                 NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

fetchByG_T

JournalTemplate fetchByG_T(long groupId,
                           java.lang.String templateId)
                           throws SystemException
Throws:
SystemException

fetchByG_T

JournalTemplate fetchByG_T(long groupId,
                           java.lang.String templateId,
                           boolean retrieveFromCache)
                           throws SystemException
Throws:
SystemException

findByG_S

java.util.List<JournalTemplate> findByG_S(long groupId,
                                          java.lang.String structureId)
                                          throws SystemException
Throws:
SystemException

findByG_S

java.util.List<JournalTemplate> findByG_S(long groupId,
                                          java.lang.String structureId,
                                          int start,
                                          int end)
                                          throws SystemException
Throws:
SystemException

findByG_S

java.util.List<JournalTemplate> findByG_S(long groupId,
                                          java.lang.String structureId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                          throws SystemException
Throws:
SystemException

findByG_S_First

JournalTemplate findByG_S_First(long groupId,
                                java.lang.String structureId,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

findByG_S_Last

JournalTemplate findByG_S_Last(long groupId,
                               java.lang.String structureId,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

findByG_S_PrevAndNext

JournalTemplate[] findByG_S_PrevAndNext(long id,
                                        long groupId,
                                        java.lang.String structureId,
                                        OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

filterFindByG_S

java.util.List<JournalTemplate> filterFindByG_S(long groupId,
                                                java.lang.String structureId)
                                                throws SystemException
Throws:
SystemException

filterFindByG_S

java.util.List<JournalTemplate> filterFindByG_S(long groupId,
                                                java.lang.String structureId,
                                                int start,
                                                int end)
                                                throws SystemException
Throws:
SystemException

filterFindByG_S

java.util.List<JournalTemplate> filterFindByG_S(long groupId,
                                                java.lang.String structureId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                                throws SystemException
Throws:
SystemException

findAll

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

findAll

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

findAll

java.util.List<JournalTemplate> 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,
                           NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByTemplateId

void removeByTemplateId(java.lang.String templateId)
                        throws SystemException
Throws:
SystemException

removeBySmallImageId

void removeBySmallImageId(long smallImageId)
                          throws SystemException,
                                 NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

removeByG_T

void removeByG_T(long groupId,
                 java.lang.String templateId)
                 throws SystemException,
                        NoSuchTemplateException
Throws:
SystemException
NoSuchTemplateException

removeByG_S

void removeByG_S(long groupId,
                 java.lang.String structureId)
                 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

countByTemplateId

int countByTemplateId(java.lang.String templateId)
                      throws SystemException
Throws:
SystemException

countBySmallImageId

int countBySmallImageId(long smallImageId)
                        throws SystemException
Throws:
SystemException

countByG_T

int countByG_T(long groupId,
               java.lang.String templateId)
               throws SystemException
Throws:
SystemException

filterCountByG_T

int filterCountByG_T(long groupId,
                     java.lang.String templateId)
                     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

countAll

int countAll()
             throws SystemException
Throws:
SystemException