Liferay 6.0.3

com.liferay.portlet.journal.service.persistence
Class JournalTemplatePersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<JournalTemplate>
      extended by com.liferay.portlet.journal.service.persistence.JournalTemplatePersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<JournalTemplate>, JournalTemplatePersistence

public class JournalTemplatePersistenceImpl
extends BasePersistenceImpl<JournalTemplate>
implements JournalTemplatePersistence

See Also:
JournalTemplatePersistence, JournalTemplateUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
protected  ExpandoValuePersistence expandoValuePersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_G_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_T
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID
           
static FinderPath FINDER_PATH_COUNT_BY_TEMPLATEID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_G_T
           
static FinderPath FINDER_PATH_FETCH_BY_SMALLIMAGEID
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_G_S
           
static FinderPath FINDER_PATH_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_FIND_BY_TEMPLATEID
           
static FinderPath FINDER_PATH_FIND_BY_UUID
           
protected  ImagePersistence imagePersistence
           
protected  JournalArticleImagePersistence journalArticleImagePersistence
           
protected  JournalArticlePersistence journalArticlePersistence
           
protected  JournalArticleResourcePersistence journalArticleResourcePersistence
           
protected  JournalContentSearchPersistence journalContentSearchPersistence
           
protected  JournalFeedPersistence journalFeedPersistence
           
protected  JournalStructurePersistence journalStructurePersistence
           
protected  JournalTemplatePersistence journalTemplatePersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  UserPersistence userPersistence
           
protected  WebDAVPropsPersistence webDAVPropsPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
JournalTemplatePersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void cacheResult(JournalTemplate journalTemplate)
           
 void cacheResult(List<JournalTemplate> journalTemplates)
           
 void clearCache()
          Clears the cache for all instances of this model.
 void clearCache(JournalTemplate journalTemplate)
          Clears the cache for one instance of this model.
 int countAll()
           
 int countByG_S(long groupId, String structureId)
           
 int countByG_T(long groupId, String templateId)
           
 int countByGroupId(long groupId)
           
 int countBySmallImageId(long smallImageId)
           
 int countByTemplateId(String templateId)
           
 int countByUUID_G(String uuid, long groupId)
           
 int countByUuid(String uuid)
           
 JournalTemplate create(long id)
           
 JournalTemplate fetchByG_T(long groupId, String templateId)
           
 JournalTemplate fetchByG_T(long groupId, String templateId, boolean retrieveFromCache)
           
 JournalTemplate fetchByPrimaryKey(long id)
           
 JournalTemplate fetchByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or return null if it could not be found.
 JournalTemplate fetchBySmallImageId(long smallImageId)
           
 JournalTemplate fetchBySmallImageId(long smallImageId, boolean retrieveFromCache)
           
 JournalTemplate fetchByUUID_G(String uuid, long groupId)
           
 JournalTemplate fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
           
 int filterCountByG_S(long groupId, String structureId)
           
 int filterCountByG_T(long groupId, String templateId)
           
 int filterCountByGroupId(long groupId)
           
 List<JournalTemplate> filterFindByG_S(long groupId, String structureId)
           
 List<JournalTemplate> filterFindByG_S(long groupId, String structureId, int start, int end)
           
 List<JournalTemplate> filterFindByG_S(long groupId, String structureId, int start, int end, OrderByComparator orderByComparator)
           
 List<JournalTemplate> filterFindByGroupId(long groupId)
           
 List<JournalTemplate> filterFindByGroupId(long groupId, int start, int end)
           
 List<JournalTemplate> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<JournalTemplate> findAll()
           
 List<JournalTemplate> findAll(int start, int end)
           
 List<JournalTemplate> findAll(int start, int end, OrderByComparator orderByComparator)
           
 JournalTemplate findByG_S_First(long groupId, String structureId, OrderByComparator orderByComparator)
           
 JournalTemplate findByG_S_Last(long groupId, String structureId, OrderByComparator orderByComparator)
           
 JournalTemplate[] findByG_S_PrevAndNext(long id, long groupId, String structureId, OrderByComparator orderByComparator)
           
 List<JournalTemplate> findByG_S(long groupId, String structureId)
           
 List<JournalTemplate> findByG_S(long groupId, String structureId, int start, int end)
           
 List<JournalTemplate> findByG_S(long groupId, String structureId, int start, int end, OrderByComparator orderByComparator)
           
 JournalTemplate findByG_T(long groupId, 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)
           
 List<JournalTemplate> findByGroupId(long groupId)
           
 List<JournalTemplate> findByGroupId(long groupId, int start, int end)
           
 List<JournalTemplate> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 JournalTemplate findByPrimaryKey(long id)
           
 JournalTemplate findByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or throw an exception if it could not be found.
 JournalTemplate findBySmallImageId(long smallImageId)
           
 JournalTemplate findByTemplateId_First(String templateId, OrderByComparator orderByComparator)
           
 JournalTemplate findByTemplateId_Last(String templateId, OrderByComparator orderByComparator)
           
 JournalTemplate[] findByTemplateId_PrevAndNext(long id, String templateId, OrderByComparator orderByComparator)
           
 List<JournalTemplate> findByTemplateId(String templateId)
           
 List<JournalTemplate> findByTemplateId(String templateId, int start, int end)
           
 List<JournalTemplate> findByTemplateId(String templateId, int start, int end, OrderByComparator orderByComparator)
           
 JournalTemplate findByUuid_First(String uuid, OrderByComparator orderByComparator)
           
 JournalTemplate findByUUID_G(String uuid, long groupId)
           
 JournalTemplate findByUuid_Last(String uuid, OrderByComparator orderByComparator)
           
 JournalTemplate[] findByUuid_PrevAndNext(long id, String uuid, OrderByComparator orderByComparator)
           
 List<JournalTemplate> findByUuid(String uuid)
           
 List<JournalTemplate> findByUuid(String uuid, int start, int end)
           
 List<JournalTemplate> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
           
protected  JournalTemplate getByG_S_PrevAndNext(Session session, JournalTemplate journalTemplate, long groupId, String structureId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalTemplate getByGroupId_PrevAndNext(Session session, JournalTemplate journalTemplate, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalTemplate getByTemplateId_PrevAndNext(Session session, JournalTemplate journalTemplate, String templateId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalTemplate getByUuid_PrevAndNext(Session session, JournalTemplate journalTemplate, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 JournalTemplate remove(long id)
           
 JournalTemplate remove(Serializable primaryKey)
          Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.
 void removeAll()
           
 void removeByG_S(long groupId, String structureId)
           
 void removeByG_T(long groupId, String templateId)
           
 void removeByGroupId(long groupId)
           
 void removeBySmallImageId(long smallImageId)
           
 void removeByTemplateId(String templateId)
           
 void removeByUUID_G(String uuid, long groupId)
           
 void removeByUuid(String uuid)
           
protected  JournalTemplate removeImpl(JournalTemplate journalTemplate)
          Removes the model instance from the database.
protected  JournalTemplate toUnwrappedModel(JournalTemplate journalTemplate)
           
 JournalTemplate updateImpl(JournalTemplate journalTemplate, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_UUID

public static final FinderPath FINDER_PATH_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FIND_BY_TEMPLATEID

public static final FinderPath FINDER_PATH_FIND_BY_TEMPLATEID

FINDER_PATH_COUNT_BY_TEMPLATEID

public static final FinderPath FINDER_PATH_COUNT_BY_TEMPLATEID

FINDER_PATH_FETCH_BY_SMALLIMAGEID

public static final FinderPath FINDER_PATH_FETCH_BY_SMALLIMAGEID

FINDER_PATH_COUNT_BY_SMALLIMAGEID

public static final FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID

FINDER_PATH_FETCH_BY_G_T

public static final FinderPath FINDER_PATH_FETCH_BY_G_T

FINDER_PATH_COUNT_BY_G_T

public static final FinderPath FINDER_PATH_COUNT_BY_G_T

FINDER_PATH_FIND_BY_G_S

public static final FinderPath FINDER_PATH_FIND_BY_G_S

FINDER_PATH_COUNT_BY_G_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_S

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

journalArticlePersistence

@BeanReference(type=JournalArticlePersistence.class)
protected JournalArticlePersistence journalArticlePersistence

journalArticleImagePersistence

@BeanReference(type=JournalArticleImagePersistence.class)
protected JournalArticleImagePersistence journalArticleImagePersistence

journalArticleResourcePersistence

@BeanReference(type=JournalArticleResourcePersistence.class)
protected JournalArticleResourcePersistence journalArticleResourcePersistence

journalContentSearchPersistence

@BeanReference(type=JournalContentSearchPersistence.class)
protected JournalContentSearchPersistence journalContentSearchPersistence

journalFeedPersistence

@BeanReference(type=JournalFeedPersistence.class)
protected JournalFeedPersistence journalFeedPersistence

journalStructurePersistence

@BeanReference(type=JournalStructurePersistence.class)
protected JournalStructurePersistence journalStructurePersistence

journalTemplatePersistence

@BeanReference(type=JournalTemplatePersistence.class)
protected JournalTemplatePersistence journalTemplatePersistence

imagePersistence

@BeanReference(type=ImagePersistence.class)
protected ImagePersistence imagePersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

webDAVPropsPersistence

@BeanReference(type=WebDAVPropsPersistence.class)
protected WebDAVPropsPersistence webDAVPropsPersistence

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence
Constructor Detail

JournalTemplatePersistenceImpl

public JournalTemplatePersistenceImpl()
Method Detail

cacheResult

public void cacheResult(JournalTemplate journalTemplate)
Specified by:
cacheResult in interface JournalTemplatePersistence

cacheResult

public void cacheResult(List<JournalTemplate> journalTemplates)
Specified by:
cacheResult in interface JournalTemplatePersistence

clearCache

public void clearCache()
Description copied from interface: BasePersistence
Clears the cache for all instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Caching information and settings can be found in portal.properties

Specified by:
clearCache in interface BasePersistence<JournalTemplate>
Overrides:
clearCache in class BasePersistenceImpl<JournalTemplate>

clearCache

public void clearCache(JournalTemplate journalTemplate)
Description copied from interface: BasePersistence
Clears the cache for one instance of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<JournalTemplate>
Overrides:
clearCache in class BasePersistenceImpl<JournalTemplate>
Parameters:
journalTemplate - the instance of this model to clear the cache for

create

public JournalTemplate create(long id)
Specified by:
create in interface JournalTemplatePersistence

remove

public JournalTemplate remove(Serializable primaryKey)
                       throws NoSuchModelException,
                              SystemException
Description copied from interface: BasePersistence
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<JournalTemplate>
Overrides:
remove in class BasePersistenceImpl<JournalTemplate>
Parameters:
primaryKey - the primary key of the model instance to remove
Returns:
the model instance that was removed
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if a system exception occurred

remove

public JournalTemplate remove(long id)
                       throws NoSuchTemplateException,
                              SystemException
Specified by:
remove in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

removeImpl

protected JournalTemplate removeImpl(JournalTemplate journalTemplate)
                              throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<JournalTemplate>
Parameters:
journalTemplate - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public JournalTemplate updateImpl(JournalTemplate journalTemplate,
                                  boolean merge)
                           throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface JournalTemplatePersistence
Overrides:
updateImpl in class BasePersistenceImpl<JournalTemplate>
Parameters:
journalTemplate - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected JournalTemplate toUnwrappedModel(JournalTemplate journalTemplate)

findByPrimaryKey

public JournalTemplate findByPrimaryKey(Serializable primaryKey)
                                 throws NoSuchModelException,
                                        SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or throw an exception if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<JournalTemplate>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<JournalTemplate>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if the primary key is null, or if a system exception occurred

findByPrimaryKey

public JournalTemplate findByPrimaryKey(long id)
                                 throws NoSuchTemplateException,
                                        SystemException
Specified by:
findByPrimaryKey in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

fetchByPrimaryKey

public JournalTemplate fetchByPrimaryKey(Serializable primaryKey)
                                  throws SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or return null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<JournalTemplate>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<JournalTemplate>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance, or null if an instance of this model with the primary key does not exist
Throws:
SystemException - if the primary key is null, or if a system exception occurred

fetchByPrimaryKey

public JournalTemplate fetchByPrimaryKey(long id)
                                  throws SystemException
Specified by:
fetchByPrimaryKey in interface JournalTemplatePersistence
Throws:
SystemException

findByUuid

public List<JournalTemplate> findByUuid(String uuid)
                                 throws SystemException
Specified by:
findByUuid in interface JournalTemplatePersistence
Throws:
SystemException

findByUuid

public List<JournalTemplate> findByUuid(String uuid,
                                        int start,
                                        int end)
                                 throws SystemException
Specified by:
findByUuid in interface JournalTemplatePersistence
Throws:
SystemException

findByUuid

public List<JournalTemplate> findByUuid(String uuid,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Specified by:
findByUuid in interface JournalTemplatePersistence
Throws:
SystemException

findByUuid_First

public JournalTemplate findByUuid_First(String uuid,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchTemplateException,
                                        SystemException
Specified by:
findByUuid_First in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

findByUuid_Last

public JournalTemplate findByUuid_Last(String uuid,
                                       OrderByComparator orderByComparator)
                                throws NoSuchTemplateException,
                                       SystemException
Specified by:
findByUuid_Last in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

findByUuid_PrevAndNext

public JournalTemplate[] findByUuid_PrevAndNext(long id,
                                                String uuid,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchTemplateException,
                                                SystemException
Specified by:
findByUuid_PrevAndNext in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

getByUuid_PrevAndNext

protected JournalTemplate getByUuid_PrevAndNext(Session session,
                                                JournalTemplate journalTemplate,
                                                String uuid,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

findByUUID_G

public JournalTemplate findByUUID_G(String uuid,
                                    long groupId)
                             throws NoSuchTemplateException,
                                    SystemException
Specified by:
findByUUID_G in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

fetchByUUID_G

public JournalTemplate fetchByUUID_G(String uuid,
                                     long groupId)
                              throws SystemException
Specified by:
fetchByUUID_G in interface JournalTemplatePersistence
Throws:
SystemException

fetchByUUID_G

public JournalTemplate fetchByUUID_G(String uuid,
                                     long groupId,
                                     boolean retrieveFromCache)
                              throws SystemException
Specified by:
fetchByUUID_G in interface JournalTemplatePersistence
Throws:
SystemException

findByGroupId

public List<JournalTemplate> findByGroupId(long groupId)
                                    throws SystemException
Specified by:
findByGroupId in interface JournalTemplatePersistence
Throws:
SystemException

findByGroupId

public List<JournalTemplate> findByGroupId(long groupId,
                                           int start,
                                           int end)
                                    throws SystemException
Specified by:
findByGroupId in interface JournalTemplatePersistence
Throws:
SystemException

findByGroupId

public List<JournalTemplate> findByGroupId(long groupId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Specified by:
findByGroupId in interface JournalTemplatePersistence
Throws:
SystemException

findByGroupId_First

public JournalTemplate findByGroupId_First(long groupId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchTemplateException,
                                           SystemException
Specified by:
findByGroupId_First in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

findByGroupId_Last

public JournalTemplate findByGroupId_Last(long groupId,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchTemplateException,
                                          SystemException
Specified by:
findByGroupId_Last in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

findByGroupId_PrevAndNext

public JournalTemplate[] findByGroupId_PrevAndNext(long id,
                                                   long groupId,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchTemplateException,
                                                   SystemException
Specified by:
findByGroupId_PrevAndNext in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

getByGroupId_PrevAndNext

protected JournalTemplate getByGroupId_PrevAndNext(Session session,
                                                   JournalTemplate journalTemplate,
                                                   long groupId,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

filterFindByGroupId

public List<JournalTemplate> filterFindByGroupId(long groupId)
                                          throws SystemException
Specified by:
filterFindByGroupId in interface JournalTemplatePersistence
Throws:
SystemException

filterFindByGroupId

public List<JournalTemplate> filterFindByGroupId(long groupId,
                                                 int start,
                                                 int end)
                                          throws SystemException
Specified by:
filterFindByGroupId in interface JournalTemplatePersistence
Throws:
SystemException

filterFindByGroupId

public List<JournalTemplate> filterFindByGroupId(long groupId,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Specified by:
filterFindByGroupId in interface JournalTemplatePersistence
Throws:
SystemException

findByTemplateId

public List<JournalTemplate> findByTemplateId(String templateId)
                                       throws SystemException
Specified by:
findByTemplateId in interface JournalTemplatePersistence
Throws:
SystemException

findByTemplateId

public List<JournalTemplate> findByTemplateId(String templateId,
                                              int start,
                                              int end)
                                       throws SystemException
Specified by:
findByTemplateId in interface JournalTemplatePersistence
Throws:
SystemException

findByTemplateId

public List<JournalTemplate> findByTemplateId(String templateId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Specified by:
findByTemplateId in interface JournalTemplatePersistence
Throws:
SystemException

findByTemplateId_First

public JournalTemplate findByTemplateId_First(String templateId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchTemplateException,
                                              SystemException
Specified by:
findByTemplateId_First in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

findByTemplateId_Last

public JournalTemplate findByTemplateId_Last(String templateId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchTemplateException,
                                             SystemException
Specified by:
findByTemplateId_Last in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

findByTemplateId_PrevAndNext

public JournalTemplate[] findByTemplateId_PrevAndNext(long id,
                                                      String templateId,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchTemplateException,
                                                      SystemException
Specified by:
findByTemplateId_PrevAndNext in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

getByTemplateId_PrevAndNext

protected JournalTemplate getByTemplateId_PrevAndNext(Session session,
                                                      JournalTemplate journalTemplate,
                                                      String templateId,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

findBySmallImageId

public JournalTemplate findBySmallImageId(long smallImageId)
                                   throws NoSuchTemplateException,
                                          SystemException
Specified by:
findBySmallImageId in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

fetchBySmallImageId

public JournalTemplate fetchBySmallImageId(long smallImageId)
                                    throws SystemException
Specified by:
fetchBySmallImageId in interface JournalTemplatePersistence
Throws:
SystemException

fetchBySmallImageId

public JournalTemplate fetchBySmallImageId(long smallImageId,
                                           boolean retrieveFromCache)
                                    throws SystemException
Specified by:
fetchBySmallImageId in interface JournalTemplatePersistence
Throws:
SystemException

findByG_T

public JournalTemplate findByG_T(long groupId,
                                 String templateId)
                          throws NoSuchTemplateException,
                                 SystemException
Specified by:
findByG_T in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

fetchByG_T

public JournalTemplate fetchByG_T(long groupId,
                                  String templateId)
                           throws SystemException
Specified by:
fetchByG_T in interface JournalTemplatePersistence
Throws:
SystemException

fetchByG_T

public JournalTemplate fetchByG_T(long groupId,
                                  String templateId,
                                  boolean retrieveFromCache)
                           throws SystemException
Specified by:
fetchByG_T in interface JournalTemplatePersistence
Throws:
SystemException

findByG_S

public List<JournalTemplate> findByG_S(long groupId,
                                       String structureId)
                                throws SystemException
Specified by:
findByG_S in interface JournalTemplatePersistence
Throws:
SystemException

findByG_S

public List<JournalTemplate> findByG_S(long groupId,
                                       String structureId,
                                       int start,
                                       int end)
                                throws SystemException
Specified by:
findByG_S in interface JournalTemplatePersistence
Throws:
SystemException

findByG_S

public List<JournalTemplate> findByG_S(long groupId,
                                       String structureId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Specified by:
findByG_S in interface JournalTemplatePersistence
Throws:
SystemException

findByG_S_First

public JournalTemplate findByG_S_First(long groupId,
                                       String structureId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchTemplateException,
                                       SystemException
Specified by:
findByG_S_First in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

findByG_S_Last

public JournalTemplate findByG_S_Last(long groupId,
                                      String structureId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchTemplateException,
                                      SystemException
Specified by:
findByG_S_Last in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

findByG_S_PrevAndNext

public JournalTemplate[] findByG_S_PrevAndNext(long id,
                                               long groupId,
                                               String structureId,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchTemplateException,
                                               SystemException
Specified by:
findByG_S_PrevAndNext in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

getByG_S_PrevAndNext

protected JournalTemplate getByG_S_PrevAndNext(Session session,
                                               JournalTemplate journalTemplate,
                                               long groupId,
                                               String structureId,
                                               OrderByComparator orderByComparator,
                                               boolean previous)

filterFindByG_S

public List<JournalTemplate> filterFindByG_S(long groupId,
                                             String structureId)
                                      throws SystemException
Specified by:
filterFindByG_S in interface JournalTemplatePersistence
Throws:
SystemException

filterFindByG_S

public List<JournalTemplate> filterFindByG_S(long groupId,
                                             String structureId,
                                             int start,
                                             int end)
                                      throws SystemException
Specified by:
filterFindByG_S in interface JournalTemplatePersistence
Throws:
SystemException

filterFindByG_S

public List<JournalTemplate> filterFindByG_S(long groupId,
                                             String structureId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Specified by:
filterFindByG_S in interface JournalTemplatePersistence
Throws:
SystemException

findAll

public List<JournalTemplate> findAll()
                              throws SystemException
Specified by:
findAll in interface JournalTemplatePersistence
Throws:
SystemException

findAll

public List<JournalTemplate> findAll(int start,
                                     int end)
                              throws SystemException
Specified by:
findAll in interface JournalTemplatePersistence
Throws:
SystemException

findAll

public List<JournalTemplate> findAll(int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Specified by:
findAll in interface JournalTemplatePersistence
Throws:
SystemException

removeByUuid

public void removeByUuid(String uuid)
                  throws SystemException
Specified by:
removeByUuid in interface JournalTemplatePersistence
Throws:
SystemException

removeByUUID_G

public void removeByUUID_G(String uuid,
                           long groupId)
                    throws NoSuchTemplateException,
                           SystemException
Specified by:
removeByUUID_G in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Specified by:
removeByGroupId in interface JournalTemplatePersistence
Throws:
SystemException

removeByTemplateId

public void removeByTemplateId(String templateId)
                        throws SystemException
Specified by:
removeByTemplateId in interface JournalTemplatePersistence
Throws:
SystemException

removeBySmallImageId

public void removeBySmallImageId(long smallImageId)
                          throws NoSuchTemplateException,
                                 SystemException
Specified by:
removeBySmallImageId in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

removeByG_T

public void removeByG_T(long groupId,
                        String templateId)
                 throws NoSuchTemplateException,
                        SystemException
Specified by:
removeByG_T in interface JournalTemplatePersistence
Throws:
NoSuchTemplateException
SystemException

removeByG_S

public void removeByG_S(long groupId,
                        String structureId)
                 throws SystemException
Specified by:
removeByG_S in interface JournalTemplatePersistence
Throws:
SystemException

removeAll

public void removeAll()
               throws SystemException
Specified by:
removeAll in interface JournalTemplatePersistence
Throws:
SystemException

countByUuid

public int countByUuid(String uuid)
                throws SystemException
Specified by:
countByUuid in interface JournalTemplatePersistence
Throws:
SystemException

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Specified by:
countByUUID_G in interface JournalTemplatePersistence
Throws:
SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Specified by:
countByGroupId in interface JournalTemplatePersistence
Throws:
SystemException

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Specified by:
filterCountByGroupId in interface JournalTemplatePersistence
Throws:
SystemException

countByTemplateId

public int countByTemplateId(String templateId)
                      throws SystemException
Specified by:
countByTemplateId in interface JournalTemplatePersistence
Throws:
SystemException

countBySmallImageId

public int countBySmallImageId(long smallImageId)
                        throws SystemException
Specified by:
countBySmallImageId in interface JournalTemplatePersistence
Throws:
SystemException

countByG_T

public int countByG_T(long groupId,
                      String templateId)
               throws SystemException
Specified by:
countByG_T in interface JournalTemplatePersistence
Throws:
SystemException

filterCountByG_T

public int filterCountByG_T(long groupId,
                            String templateId)
                     throws SystemException
Specified by:
filterCountByG_T in interface JournalTemplatePersistence
Throws:
SystemException

countByG_S

public int countByG_S(long groupId,
                      String structureId)
               throws SystemException
Specified by:
countByG_S in interface JournalTemplatePersistence
Throws:
SystemException

filterCountByG_S

public int filterCountByG_S(long groupId,
                            String structureId)
                     throws SystemException
Specified by:
filterCountByG_S in interface JournalTemplatePersistence
Throws:
SystemException

countAll

public int countAll()
             throws SystemException
Specified by:
countAll in interface JournalTemplatePersistence
Throws:
SystemException

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3