com.liferay.portlet.dynamicdatamapping.service.persistence
Class DDMTemplatePersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
      extended by com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>, com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence

public class DDMTemplatePersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
implements com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence

The persistence implementation for the d d m template service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
DDMTemplatePersistence, DDMTemplateUtil
Generated:

Field Summary
protected  com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence ddmContentPersistence
           
protected  com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence ddmStorageLinkPersistence
           
protected  com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence ddmStructureLinkPersistence
           
protected  com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence ddmStructurePersistence
           
protected  com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence ddmTemplatePersistence
           
static java.lang.String FINDER_CLASS_NAME_ENTITY
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_LANGUAGE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_S_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_S_T_M
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_STRUCTUREID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TYPE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LANGUAGE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_S_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_S_T_M
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_STRUCTUREID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TYPE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LANGUAGE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_S_T
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_S_T_M
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TYPE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, 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
DDMTemplatePersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the d d m template persistence.
 void cacheResult(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
          Caches the d d m template in the entity cache if it is enabled.
 void cacheResult(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> ddmTemplates)
          Caches the d d m templates in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all d d m templates.
 void clearCache(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
          Clears the cache for the d d m template.
 void clearCache(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> ddmTemplates)
           
protected  void clearUniqueFindersCache(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
           
 int countAll()
          Returns the number of d d m templates.
 int countByGroupId(long groupId)
          Returns the number of d d m templates where groupId = ?.
 int countByLanguage(java.lang.String language)
          Returns the number of d d m templates where language = ?.
 int countByS_T_M(long structureId, java.lang.String type, java.lang.String mode)
          Returns the number of d d m templates where structureId = ? and type = ? and mode = ?.
 int countByS_T(long structureId, java.lang.String type)
          Returns the number of d d m templates where structureId = ? and type = ?.
 int countByStructureId(long structureId)
          Returns the number of d d m templates where structureId = ?.
 int countByType(java.lang.String type)
          Returns the number of d d m templates where type = ?.
 int countByUUID_G(java.lang.String uuid, long groupId)
          Returns the number of d d m templates where uuid = ? and groupId = ?.
 int countByUuid(java.lang.String uuid)
          Returns the number of d d m templates where uuid = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate create(long templateId)
          Creates a new d d m template with the primary key.
 void destroy()
           
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchByPrimaryKey(long templateId)
          Returns the d d m template with the primary key or returns null if it could not be found.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchByPrimaryKey(java.io.Serializable primaryKey)
          Returns the d d m template with the primary key or returns null if it could not be found.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchByUUID_G(java.lang.String uuid, long groupId)
          Returns the d d m template where uuid = ? and groupId = ? or returns null if it could not be found.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
          Returns the d d m template where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 int filterCountByGroupId(long groupId)
          Returns the number of d d m templates that the user has permission to view where groupId = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] filterFindByGroupId_PrevAndNext(long templateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the d d m templates before and after the current d d m template in the ordered set of d d m templates that the user has permission to view where groupId = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByGroupId(long groupId)
          Returns all the d d m templates that the user has permission to view where groupId = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the d d m templates that the user has permission to view where groupId = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m templates that the user has permissions to view where groupId = ?.
protected  com.liferay.portlet.dynamicdatamapping.model.DDMTemplate filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findAll()
          Returns all the d d m templates.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findAll(int start, int end)
          Returns a range of all the d d m templates.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m templates.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first d d m template in the ordered set where groupId = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last d d m template in the ordered set where groupId = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByGroupId_PrevAndNext(long templateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the d d m templates before and after the current d d m template in the ordered set where groupId = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByGroupId(long groupId)
          Returns all the d d m templates where groupId = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByGroupId(long groupId, int start, int end)
          Returns a range of all the d d m templates where groupId = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m templates where groupId = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByLanguage_First(java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first d d m template in the ordered set where language = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByLanguage_Last(java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last d d m template in the ordered set where language = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByLanguage_PrevAndNext(long templateId, java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the d d m templates before and after the current d d m template in the ordered set where language = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByLanguage(java.lang.String language)
          Returns all the d d m templates where language = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByLanguage(java.lang.String language, int start, int end)
          Returns a range of all the d d m templates where language = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByLanguage(java.lang.String language, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m templates where language = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByPrimaryKey(long templateId)
          Returns the d d m template with the primary key or throws a NoSuchTemplateException if it could not be found.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByPrimaryKey(java.io.Serializable primaryKey)
          Returns the d d m template with the primary key or throws a NoSuchModelException if it could not be found.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByS_T_First(long structureId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first d d m template in the ordered set where structureId = ? and type = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByS_T_Last(long structureId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last d d m template in the ordered set where structureId = ? and type = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByS_T_M_First(long structureId, java.lang.String type, java.lang.String mode, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first d d m template in the ordered set where structureId = ? and type = ? and mode = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByS_T_M_Last(long structureId, java.lang.String type, java.lang.String mode, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last d d m template in the ordered set where structureId = ? and type = ? and mode = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByS_T_M_PrevAndNext(long templateId, long structureId, java.lang.String type, java.lang.String mode, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the d d m templates before and after the current d d m template in the ordered set where structureId = ? and type = ? and mode = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T_M(long structureId, java.lang.String type, java.lang.String mode)
          Returns all the d d m templates where structureId = ? and type = ? and mode = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T_M(long structureId, java.lang.String type, java.lang.String mode, int start, int end)
          Returns a range of all the d d m templates where structureId = ? and type = ? and mode = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T_M(long structureId, java.lang.String type, java.lang.String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m templates where structureId = ? and type = ? and mode = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByS_T_PrevAndNext(long templateId, long structureId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the d d m templates before and after the current d d m template in the ordered set where structureId = ? and type = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T(long structureId, java.lang.String type)
          Returns all the d d m templates where structureId = ? and type = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T(long structureId, java.lang.String type, int start, int end)
          Returns a range of all the d d m templates where structureId = ? and type = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T(long structureId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m templates where structureId = ? and type = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first d d m template in the ordered set where structureId = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last d d m template in the ordered set where structureId = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByStructureId_PrevAndNext(long templateId, long structureId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the d d m templates before and after the current d d m template in the ordered set where structureId = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByStructureId(long structureId)
          Returns all the d d m templates where structureId = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByStructureId(long structureId, int start, int end)
          Returns a range of all the d d m templates where structureId = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m templates where structureId = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByType_First(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first d d m template in the ordered set where type = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByType_Last(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last d d m template in the ordered set where type = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByType_PrevAndNext(long templateId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the d d m templates before and after the current d d m template in the ordered set where type = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByType(java.lang.String type)
          Returns all the d d m templates where type = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByType(java.lang.String type, int start, int end)
          Returns a range of all the d d m templates where type = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByType(java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m templates where type = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first d d m template in the ordered set where uuid = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByUUID_G(java.lang.String uuid, long groupId)
          Returns the d d m template where uuid = ? and groupId = ? or throws a NoSuchTemplateException if it could not be found.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last d d m template in the ordered set where uuid = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByUuid_PrevAndNext(long templateId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the d d m templates before and after the current d d m template in the ordered set where uuid = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByUuid(java.lang.String uuid)
          Returns all the d d m templates where uuid = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByUuid(java.lang.String uuid, int start, int end)
          Returns a range of all the d d m templates where uuid = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m templates where uuid = ?.
protected  com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByLanguage_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate, java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByS_T_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate, long structureId, java.lang.String type, java.lang.String mode, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByS_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate, long structureId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByStructureId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate, long structureId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate remove(long templateId)
          Removes the d d m template with the primary key from the database.
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate remove(java.io.Serializable primaryKey)
          Removes the d d m template with the primary key from the database.
 void removeAll()
          Removes all the d d m templates from the database.
 void removeByGroupId(long groupId)
          Removes all the d d m templates where groupId = ? from the database.
 void removeByLanguage(java.lang.String language)
          Removes all the d d m templates where language = ? from the database.
 void removeByS_T_M(long structureId, java.lang.String type, java.lang.String mode)
          Removes all the d d m templates where structureId = ? and type = ? and mode = ? from the database.
 void removeByS_T(long structureId, java.lang.String type)
          Removes all the d d m templates where structureId = ? and type = ? from the database.
 void removeByStructureId(long structureId)
          Removes all the d d m templates where structureId = ? from the database.
 void removeByType(java.lang.String type)
          Removes all the d d m templates where type = ? from the database.
 void removeByUUID_G(java.lang.String uuid, long groupId)
          Removes the d d m template where uuid = ? and groupId = ? from the database.
 void removeByUuid(java.lang.String uuid)
          Removes all the d d m templates where uuid = ? from the database.
protected  com.liferay.portlet.dynamicdatamapping.model.DDMTemplate removeImpl(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
           
protected  com.liferay.portlet.dynamicdatamapping.model.DDMTemplate toUnwrappedModel(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
           
 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate updateImpl(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, 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
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_FIND_BY_STRUCTUREID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_STRUCTUREID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREID

FINDER_PATH_COUNT_BY_STRUCTUREID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_STRUCTUREID

FINDER_PATH_WITH_PAGINATION_FIND_BY_TYPE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TYPE

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TYPE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TYPE

FINDER_PATH_COUNT_BY_TYPE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TYPE

FINDER_PATH_WITH_PAGINATION_FIND_BY_LANGUAGE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LANGUAGE

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LANGUAGE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LANGUAGE

FINDER_PATH_COUNT_BY_LANGUAGE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_LANGUAGE

FINDER_PATH_WITH_PAGINATION_FIND_BY_S_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_S_T

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_S_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_S_T

FINDER_PATH_COUNT_BY_S_T

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_S_T

FINDER_PATH_WITH_PAGINATION_FIND_BY_S_T_M

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_S_T_M

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_S_T_M

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_S_T_M

FINDER_PATH_COUNT_BY_S_T_M

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_S_T_M

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

ddmContentPersistence

@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence.class)
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence ddmContentPersistence

ddmStorageLinkPersistence

@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence.class)
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence ddmStorageLinkPersistence

ddmStructurePersistence

@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence.class)
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence ddmStructurePersistence

ddmStructureLinkPersistence

@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence.class)
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence ddmStructureLinkPersistence

ddmTemplatePersistence

@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence.class)
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence ddmTemplatePersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
Constructor Detail

DDMTemplatePersistenceImpl

public DDMTemplatePersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
Caches the d d m template in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
ddmTemplate - the d d m template

cacheResult

public void cacheResult(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> ddmTemplates)
Caches the d d m templates in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
ddmTemplates - the d d m templates

clearCache

public void clearCache()
Clears the cache for all d d m templates.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>

clearCache

public void clearCache(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
Clears the cache for the d d m template.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>

clearCache

public void clearCache(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> ddmTemplates)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>

clearUniqueFindersCache

protected void clearUniqueFindersCache(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)

create

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate create(long templateId)
Creates a new d d m template with the primary key. Does not add the d d m template to the database.

Specified by:
create in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
templateId - the primary key for the new d d m template
Returns:
the new d d m template

remove

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate remove(long templateId)
                                                                throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                       com.liferay.portal.kernel.exception.SystemException
Removes the d d m template with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
templateId - the primary key of the d d m template
Returns:
the d d m template that was removed
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

remove

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate remove(java.io.Serializable primaryKey)
                                                                throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                       com.liferay.portal.kernel.exception.SystemException
Removes the d d m template with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
Parameters:
primaryKey - the primary key of the d d m template
Returns:
the d d m template that was removed
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeImpl

protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate removeImpl(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
Throws:
com.liferay.portal.kernel.exception.SystemException

updateImpl

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate updateImpl(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
                                                                           boolean merge)
                                                                    throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
Throws:
com.liferay.portal.kernel.exception.SystemException

toUnwrappedModel

protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate toUnwrappedModel(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)

findByPrimaryKey

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByPrimaryKey(java.io.Serializable primaryKey)
                                                                          throws com.liferay.portal.NoSuchModelException,
                                                                                 com.liferay.portal.kernel.exception.SystemException
Returns the d d m template with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
Parameters:
primaryKey - the primary key of the d d m template
Returns:
the d d m template
Throws:
com.liferay.portal.NoSuchModelException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPrimaryKey

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByPrimaryKey(long templateId)
                                                                          throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                 com.liferay.portal.kernel.exception.SystemException
Returns the d d m template with the primary key or throws a NoSuchTemplateException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
templateId - the primary key of the d d m template
Returns:
the d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchByPrimaryKey(java.io.Serializable primaryKey)
                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns the d d m template with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>
Parameters:
primaryKey - the primary key of the d d m template
Returns:
the d d m template, or null if a d d m template with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchByPrimaryKey(long templateId)
                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns the d d m template with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
templateId - the primary key of the d d m template
Returns:
the d d m template, or null if a d d m template with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByUuid(java.lang.String uuid)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d m templates where uuid = ?.

Specified by:
findByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
uuid - the uuid
Returns:
the matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByUuid(java.lang.String uuid,
                                                                                           int start,
                                                                                           int end)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d m templates where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
Returns:
the range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByUuid(java.lang.String uuid,
                                                                                           int start,
                                                                                           int end,
                                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d m templates where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid_First

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByUuid_First(java.lang.String uuid,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                          throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                 com.liferay.portal.kernel.exception.SystemException
Returns the first d d m template in the ordered set where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid_First in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid_Last

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByUuid_Last(java.lang.String uuid,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                         throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                com.liferay.portal.kernel.exception.SystemException
Returns the last d d m template in the ordered set where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid_Last in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid_PrevAndNext

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByUuid_PrevAndNext(long templateId,
                                                                                         java.lang.String uuid,
                                                                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                  throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                         com.liferay.portal.kernel.exception.SystemException
Returns the d d m templates before and after the current d d m template in the ordered set where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid_PrevAndNext in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
templateId - the primary key of the current d d m template
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByUuid_PrevAndNext

protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                         com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
                                                                                         java.lang.String uuid,
                                                                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                         boolean previous)

findByUUID_G

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByUUID_G(java.lang.String uuid,
                                                                             long groupId)
                                                                      throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                             com.liferay.portal.kernel.exception.SystemException
Returns the d d m template where uuid = ? and groupId = ? or throws a NoSuchTemplateException if it could not be found.

Specified by:
findByUUID_G in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByUUID_G

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchByUUID_G(java.lang.String uuid,
                                                                              long groupId)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns the d d m template where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByUUID_G in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching d d m template, or null if a matching d d m template could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByUUID_G

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchByUUID_G(java.lang.String uuid,
                                                                              long groupId,
                                                                              boolean retrieveFromCache)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns the d d m template where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByUUID_G in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching d d m template, or null if a matching d d m template could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByGroupId(long groupId)
                                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d m templates where groupId = ?.

Specified by:
findByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
groupId - the group ID
Returns:
the matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByGroupId(long groupId,
                                                                                              int start,
                                                                                              int end)
                                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d m templates where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
Returns:
the range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByGroupId(long groupId,
                                                                                              int start,
                                                                                              int end,
                                                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d m templates where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId_First

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByGroupId_First(long groupId,
                                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                             throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the first d d m template in the ordered set where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId_First in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId_Last

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByGroupId_Last(long groupId,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                            throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the last d d m template in the ordered set where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId_Last in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByGroupId_PrevAndNext(long templateId,
                                                                                            long groupId,
                                                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                     throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                            com.liferay.portal.kernel.exception.SystemException
Returns the d d m templates before and after the current d d m template in the ordered set where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId_PrevAndNext in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
templateId - the primary key of the current d d m template
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByGroupId_PrevAndNext

protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                            com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
                                                                                            long groupId,
                                                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                            boolean previous)

filterFindByGroupId

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByGroupId(long groupId)
                                                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d m templates that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
groupId - the group ID
Returns:
the matching d d m templates that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByGroupId

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByGroupId(long groupId,
                                                                                                    int start,
                                                                                                    int end)
                                                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d m templates that the user has permission to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
Returns:
the range of matching d d m templates that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByGroupId

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByGroupId(long groupId,
                                                                                                    int start,
                                                                                                    int end,
                                                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d m templates that the user has permissions to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m templates that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] filterFindByGroupId_PrevAndNext(long templateId,
                                                                                                  long groupId,
                                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                           throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                                  com.liferay.portal.kernel.exception.SystemException
Returns the d d m templates before and after the current d d m template in the ordered set of d d m templates that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId_PrevAndNext in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
templateId - the primary key of the current d d m template
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterGetByGroupId_PrevAndNext

protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                                  com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
                                                                                                  long groupId,
                                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                                  boolean previous)

findByStructureId

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByStructureId(long structureId)
                                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d m templates where structureId = ?.

Specified by:
findByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
Returns:
the matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByStructureId

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByStructureId(long structureId,
                                                                                                  int start,
                                                                                                  int end)
                                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d m templates where structureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
Returns:
the range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByStructureId

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByStructureId(long structureId,
                                                                                                  int start,
                                                                                                  int end,
                                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d m templates where structureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByStructureId_First

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByStructureId_First(long structureId,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                 throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                        com.liferay.portal.kernel.exception.SystemException
Returns the first d d m template in the ordered set where structureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByStructureId_First in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByStructureId_Last

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByStructureId_Last(long structureId,
                                                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                       com.liferay.portal.kernel.exception.SystemException
Returns the last d d m template in the ordered set where structureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByStructureId_Last in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByStructureId_PrevAndNext

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByStructureId_PrevAndNext(long templateId,
                                                                                                long structureId,
                                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                         throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                                com.liferay.portal.kernel.exception.SystemException
Returns the d d m templates before and after the current d d m template in the ordered set where structureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByStructureId_PrevAndNext in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
templateId - the primary key of the current d d m template
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByStructureId_PrevAndNext

protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByStructureId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                                com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
                                                                                                long structureId,
                                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                                boolean previous)

findByType

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByType(java.lang.String type)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d m templates where type = ?.

Specified by:
findByType in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
type - the type
Returns:
the matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByType

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByType(java.lang.String type,
                                                                                           int start,
                                                                                           int end)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d m templates where type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByType in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
type - the type
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
Returns:
the range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByType

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByType(java.lang.String type,
                                                                                           int start,
                                                                                           int end,
                                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d m templates where type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByType in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
type - the type
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByType_First

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByType_First(java.lang.String type,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                          throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                 com.liferay.portal.kernel.exception.SystemException
Returns the first d d m template in the ordered set where type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByType_First in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByType_Last

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByType_Last(java.lang.String type,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                         throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                com.liferay.portal.kernel.exception.SystemException
Returns the last d d m template in the ordered set where type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByType_Last in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByType_PrevAndNext

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByType_PrevAndNext(long templateId,
                                                                                         java.lang.String type,
                                                                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                  throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                         com.liferay.portal.kernel.exception.SystemException
Returns the d d m templates before and after the current d d m template in the ordered set where type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByType_PrevAndNext in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
templateId - the primary key of the current d d m template
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByType_PrevAndNext

protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                         com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
                                                                                         java.lang.String type,
                                                                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                         boolean previous)

findByLanguage

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByLanguage(java.lang.String language)
                                                                                        throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d m templates where language = ?.

Specified by:
findByLanguage in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
language - the language
Returns:
the matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByLanguage

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByLanguage(java.lang.String language,
                                                                                               int start,
                                                                                               int end)
                                                                                        throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d m templates where language = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByLanguage in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
language - the language
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
Returns:
the range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByLanguage

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByLanguage(java.lang.String language,
                                                                                               int start,
                                                                                               int end,
                                                                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                        throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d m templates where language = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByLanguage in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
language - the language
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByLanguage_First

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByLanguage_First(java.lang.String language,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                              throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                     com.liferay.portal.kernel.exception.SystemException
Returns the first d d m template in the ordered set where language = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByLanguage_First in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
language - the language
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByLanguage_Last

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByLanguage_Last(java.lang.String language,
                                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                             throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the last d d m template in the ordered set where language = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByLanguage_Last in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
language - the language
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByLanguage_PrevAndNext

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByLanguage_PrevAndNext(long templateId,
                                                                                             java.lang.String language,
                                                                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                      throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                             com.liferay.portal.kernel.exception.SystemException
Returns the d d m templates before and after the current d d m template in the ordered set where language = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByLanguage_PrevAndNext in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
templateId - the primary key of the current d d m template
language - the language
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByLanguage_PrevAndNext

protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByLanguage_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                             com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
                                                                                             java.lang.String language,
                                                                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                             boolean previous)

findByS_T

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T(long structureId,
                                                                                          java.lang.String type)
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d m templates where structureId = ? and type = ?.

Specified by:
findByS_T in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
Returns:
the matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByS_T

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T(long structureId,
                                                                                          java.lang.String type,
                                                                                          int start,
                                                                                          int end)
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d m templates where structureId = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByS_T in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
Returns:
the range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByS_T

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T(long structureId,
                                                                                          java.lang.String type,
                                                                                          int start,
                                                                                          int end,
                                                                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d m templates where structureId = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByS_T in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByS_T_First

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByS_T_First(long structureId,
                                                                                java.lang.String type,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                         throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                com.liferay.portal.kernel.exception.SystemException
Returns the first d d m template in the ordered set where structureId = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByS_T_First in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByS_T_Last

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByS_T_Last(long structureId,
                                                                               java.lang.String type,
                                                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                        throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                               com.liferay.portal.kernel.exception.SystemException
Returns the last d d m template in the ordered set where structureId = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByS_T_Last in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByS_T_PrevAndNext

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByS_T_PrevAndNext(long templateId,
                                                                                        long structureId,
                                                                                        java.lang.String type,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                 throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                        com.liferay.portal.kernel.exception.SystemException
Returns the d d m templates before and after the current d d m template in the ordered set where structureId = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByS_T_PrevAndNext in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
templateId - the primary key of the current d d m template
structureId - the structure ID
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByS_T_PrevAndNext

protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByS_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                        com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
                                                                                        long structureId,
                                                                                        java.lang.String type,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                        boolean previous)

findByS_T_M

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T_M(long structureId,
                                                                                            java.lang.String type,
                                                                                            java.lang.String mode)
                                                                                     throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d m templates where structureId = ? and type = ? and mode = ?.

Specified by:
findByS_T_M in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
mode - the mode
Returns:
the matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByS_T_M

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T_M(long structureId,
                                                                                            java.lang.String type,
                                                                                            java.lang.String mode,
                                                                                            int start,
                                                                                            int end)
                                                                                     throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d m templates where structureId = ? and type = ? and mode = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByS_T_M in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
mode - the mode
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
Returns:
the range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByS_T_M

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T_M(long structureId,
                                                                                            java.lang.String type,
                                                                                            java.lang.String mode,
                                                                                            int start,
                                                                                            int end,
                                                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                     throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d m templates where structureId = ? and type = ? and mode = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByS_T_M in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
mode - the mode
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByS_T_M_First

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByS_T_M_First(long structureId,
                                                                                  java.lang.String type,
                                                                                  java.lang.String mode,
                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                           throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                  com.liferay.portal.kernel.exception.SystemException
Returns the first d d m template in the ordered set where structureId = ? and type = ? and mode = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByS_T_M_First in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
mode - the mode
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByS_T_M_Last

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByS_T_M_Last(long structureId,
                                                                                 java.lang.String type,
                                                                                 java.lang.String mode,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                          throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                 com.liferay.portal.kernel.exception.SystemException
Returns the last d d m template in the ordered set where structureId = ? and type = ? and mode = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByS_T_M_Last in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
mode - the mode
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByS_T_M_PrevAndNext

public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByS_T_M_PrevAndNext(long templateId,
                                                                                          long structureId,
                                                                                          java.lang.String type,
                                                                                          java.lang.String mode,
                                                                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                   throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                                                                                          com.liferay.portal.kernel.exception.SystemException
Returns the d d m templates before and after the current d d m template in the ordered set where structureId = ? and type = ? and mode = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByS_T_M_PrevAndNext in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
templateId - the primary key of the current d d m template
structureId - the structure ID
type - the type
mode - the mode
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m template
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByS_T_M_PrevAndNext

protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByS_T_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                          com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
                                                                                          long structureId,
                                                                                          java.lang.String type,
                                                                                          java.lang.String mode,
                                                                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                          boolean previous)

findAll

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findAll()
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d m templates.

Specified by:
findAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Returns:
the d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findAll(int start,
                                                                                        int end)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d m templates.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
Returns:
the range of d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findAll(int start,
                                                                                        int end,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d m templates.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
start - the lower bound of the range of d d m templates
end - the upper bound of the range of d d m templates (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByUuid

public void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d m templates where uuid = ? from the database.

Specified by:
removeByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
uuid - the uuid
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByUUID_G

public void removeByUUID_G(java.lang.String uuid,
                           long groupId)
                    throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
                           com.liferay.portal.kernel.exception.SystemException
Removes the d d m template where uuid = ? and groupId = ? from the database.

Specified by:
removeByUUID_G in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d m templates where groupId = ? from the database.

Specified by:
removeByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
groupId - the group ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByStructureId

public void removeByStructureId(long structureId)
                         throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d m templates where structureId = ? from the database.

Specified by:
removeByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByType

public void removeByType(java.lang.String type)
                  throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d m templates where type = ? from the database.

Specified by:
removeByType in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
type - the type
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByLanguage

public void removeByLanguage(java.lang.String language)
                      throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d m templates where language = ? from the database.

Specified by:
removeByLanguage in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
language - the language
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByS_T

public void removeByS_T(long structureId,
                        java.lang.String type)
                 throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d m templates where structureId = ? and type = ? from the database.

Specified by:
removeByS_T in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByS_T_M

public void removeByS_T_M(long structureId,
                          java.lang.String type,
                          java.lang.String mode)
                   throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d m templates where structureId = ? and type = ? and mode = ? from the database.

Specified by:
removeByS_T_M in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
mode - the mode
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeAll

public void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d m templates from the database.

Specified by:
removeAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByUuid

public int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m templates where uuid = ?.

Specified by:
countByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
uuid - the uuid
Returns:
the number of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByUUID_G

public int countByUUID_G(java.lang.String uuid,
                         long groupId)
                  throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m templates where uuid = ? and groupId = ?.

Specified by:
countByUUID_G in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m templates where groupId = ?.

Specified by:
countByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
groupId - the group ID
Returns:
the number of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m templates that the user has permission to view where groupId = ?.

Specified by:
filterCountByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
groupId - the group ID
Returns:
the number of matching d d m templates that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByStructureId

public int countByStructureId(long structureId)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m templates where structureId = ?.

Specified by:
countByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
Returns:
the number of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByType

public int countByType(java.lang.String type)
                throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m templates where type = ?.

Specified by:
countByType in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
type - the type
Returns:
the number of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByLanguage

public int countByLanguage(java.lang.String language)
                    throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m templates where language = ?.

Specified by:
countByLanguage in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
language - the language
Returns:
the number of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByS_T

public int countByS_T(long structureId,
                      java.lang.String type)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m templates where structureId = ? and type = ?.

Specified by:
countByS_T in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
Returns:
the number of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByS_T_M

public int countByS_T_M(long structureId,
                        java.lang.String type,
                        java.lang.String mode)
                 throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m templates where structureId = ? and type = ? and mode = ?.

Specified by:
countByS_T_M in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Parameters:
structureId - the structure ID
type - the type
mode - the mode
Returns:
the number of matching d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countAll

public int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m templates.

Specified by:
countAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence
Returns:
the number of d d m templates
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the d d m template persistence.


destroy

public void destroy()