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)
           
 java.util.List<JournalTemplate> findAll()
           
 java.util.List<JournalTemplate> findAll(int start, int end)
           
 java.util.List<JournalTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalTemplate findByG_S_First(long groupId, java.lang.String structureId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalTemplate findByG_S_Last(long groupId, java.lang.String structureId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalTemplate[] findByG_S_PrevAndNext(long id, long groupId, java.lang.String structureId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalTemplate findByG_T(long groupId, java.lang.String templateId)
           
 JournalTemplate findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalTemplate findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalTemplate[] findByGroupId_PrevAndNext(long id, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalTemplate findByPrimaryKey(long id)
           
 JournalTemplate findBySmallImageId(long smallImageId)
           
 JournalTemplate findByTemplateId_First(java.lang.String templateId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalTemplate findByTemplateId_Last(java.lang.String templateId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalTemplate[] findByTemplateId_PrevAndNext(long id, java.lang.String templateId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalTemplate findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalTemplate findByUUID_G(java.lang.String uuid, long groupId)
           
 JournalTemplate findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalTemplate[] findByUuid_PrevAndNext(long id, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, 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 com.liferay.portal.kernel.exception.SystemException,
                              NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

updateImpl

JournalTemplate updateImpl(JournalTemplate journalTemplate,
                           boolean merge)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

JournalTemplate findByPrimaryKey(long id)
                                 throws com.liferay.portal.kernel.exception.SystemException,
                                        NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

fetchByPrimaryKey

JournalTemplate fetchByPrimaryKey(long id)
                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

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

findByUuid

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

findByUuid

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

findByUuid_First

JournalTemplate findByUuid_First(java.lang.String uuid,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.kernel.exception.SystemException,
                                        NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

findByUuid_Last

JournalTemplate findByUuid_Last(java.lang.String uuid,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

findByUuid_PrevAndNext

JournalTemplate[] findByUuid_PrevAndNext(long id,
                                         java.lang.String uuid,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.kernel.exception.SystemException,
                                                NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

findByUUID_G

JournalTemplate findByUUID_G(java.lang.String uuid,
                             long groupId)
                             throws com.liferay.portal.kernel.exception.SystemException,
                                    NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

fetchByUUID_G

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

fetchByUUID_G

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

findByGroupId

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

findByGroupId

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

findByGroupId

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

findByGroupId_First

JournalTemplate findByGroupId_First(long groupId,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.kernel.exception.SystemException,
                                           NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

findByGroupId_Last

JournalTemplate findByGroupId_Last(long groupId,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.kernel.exception.SystemException,
                                          NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

findByGroupId_PrevAndNext

JournalTemplate[] findByGroupId_PrevAndNext(long id,
                                            long groupId,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.kernel.exception.SystemException,
                                                   NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

findByTemplateId

java.util.List<JournalTemplate> findByTemplateId(java.lang.String templateId)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByTemplateId

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

findByTemplateId

java.util.List<JournalTemplate> findByTemplateId(java.lang.String templateId,
                                                 int start,
                                                 int end,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByTemplateId_First

JournalTemplate findByTemplateId_First(java.lang.String templateId,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.kernel.exception.SystemException,
                                              NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

findByTemplateId_Last

JournalTemplate findByTemplateId_Last(java.lang.String templateId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.kernel.exception.SystemException,
                                             NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

findByTemplateId_PrevAndNext

JournalTemplate[] findByTemplateId_PrevAndNext(long id,
                                               java.lang.String templateId,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.kernel.exception.SystemException,
                                                      NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

findBySmallImageId

JournalTemplate findBySmallImageId(long smallImageId)
                                   throws com.liferay.portal.kernel.exception.SystemException,
                                          NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

fetchBySmallImageId

JournalTemplate fetchBySmallImageId(long smallImageId)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchBySmallImageId

JournalTemplate fetchBySmallImageId(long smallImageId,
                                    boolean retrieveFromCache)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_T

JournalTemplate findByG_T(long groupId,
                          java.lang.String templateId)
                          throws com.liferay.portal.kernel.exception.SystemException,
                                 NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

fetchByG_T

JournalTemplate fetchByG_T(long groupId,
                           java.lang.String templateId)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByG_T

JournalTemplate fetchByG_T(long groupId,
                           java.lang.String templateId,
                           boolean retrieveFromCache)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_S

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

findByG_S

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

findByG_S

java.util.List<JournalTemplate> findByG_S(long groupId,
                                          java.lang.String structureId,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_S_First

JournalTemplate findByG_S_First(long groupId,
                                java.lang.String structureId,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

findByG_S_Last

JournalTemplate findByG_S_Last(long groupId,
                               java.lang.String structureId,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

findByG_S_PrevAndNext

JournalTemplate[] findByG_S_PrevAndNext(long id,
                                        long groupId,
                                        java.lang.String structureId,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException,
                                               NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

findAll

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

findAll

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

findAll

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

removeByUuid

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

removeByUUID_G

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

removeByGroupId

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

removeByTemplateId

void removeByTemplateId(java.lang.String templateId)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeBySmallImageId

void removeBySmallImageId(long smallImageId)
                          throws com.liferay.portal.kernel.exception.SystemException,
                                 NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

removeByG_T

void removeByG_T(long groupId,
                 java.lang.String templateId)
                 throws com.liferay.portal.kernel.exception.SystemException,
                        NoSuchTemplateException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException

removeByG_S

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

removeAll

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

countByUuid

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

countByUUID_G

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

countByGroupId

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

countByTemplateId

int countByTemplateId(java.lang.String templateId)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countBySmallImageId

int countBySmallImageId(long smallImageId)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_T

int countByG_T(long groupId,
               java.lang.String templateId)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_S

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

countAll

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