Interface DDMTemplatePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDMTemplate>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMTemplate>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(DDMTemplate ddmTemplate) Caches the ddm template in the entity cache if it is enabled.void
cacheResult
(List<DDMTemplate> ddmTemplates) Caches the ddm templates in the entity cache if it is enabled.int
countAll()
Returns the number of ddm templates.int
countByC_C_T
(long classNameId, long classPK, String type) Returns the number of ddm templates where classNameId = ? and classPK = ? and type = ?.int
countByClassPK
(long classPK) Returns the number of ddm templates where classPK = ?.int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of ddm templates where externalReferenceCode = ? and groupId = ?.int
countByG_C
(long groupId, long classNameId) Returns the number of ddm templates where groupId = ? and classNameId = ?.int
countByG_C_C
(long[] groupIds, long classNameId, long classPK) Returns the number of ddm templates where groupId = any ? and classNameId = ? and classPK = ?.int
countByG_C_C
(long groupId, long classNameId, long classPK) Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ?.int
countByG_C_C_T
(long groupId, long classNameId, long classPK, String type) Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.int
countByG_C_C_T_M
(long groupId, long classNameId, long classPK, String type, String mode) Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.int
countByG_C_T
(long groupId, long classNameId, String templateKey) Returns the number of ddm templates where groupId = ? and classNameId = ? and templateKey = ?.int
countByG_CPK
(long[] groupIds, long classPK) Returns the number of ddm templates where groupId = any ? and classPK = ?.int
countByG_CPK
(long groupId, long classPK) Returns the number of ddm templates where groupId = ? and classPK = ?.int
countByGroupId
(long groupId) Returns the number of ddm templates where groupId = ?.int
countByLanguage
(String language) Returns the number of ddm templates where language = ?.int
countBySmallImageId
(long smallImageId) Returns the number of ddm templates where smallImageId = ?.int
countByTemplateKey
(String templateKey) Returns the number of ddm templates where templateKey = ?.int
countByType
(String type) Returns the number of ddm templates where type = ?.int
countByUuid
(String uuid) Returns the number of ddm templates where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of ddm templates where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of ddm templates where uuid = ? and groupId = ?.create
(long templateId) Creates a new ddm template with the primary key.fetchByC_C_T_First
(long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?.fetchByC_C_T_Last
(long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?.fetchByClassPK_First
(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where classPK = ?.fetchByClassPK_Last
(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where classPK = ?.fetchByERC_G
(String externalReferenceCode, long groupId) Returns the ddm template where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the ddm template where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByG_C_C_First
(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.fetchByG_C_C_Last
(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.fetchByG_C_C_T_First
(long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.fetchByG_C_C_T_Last
(long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.fetchByG_C_C_T_M_First
(long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.fetchByG_C_C_T_M_Last
(long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.fetchByG_C_First
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classNameId = ?.fetchByG_C_Last
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classNameId = ?.fetchByG_C_T
(long groupId, long classNameId, String templateKey) Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or returnsnull
if it could not be found.fetchByG_C_T
(long groupId, long classNameId, String templateKey, boolean useFinderCache) Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByG_CPK_First
(long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classPK = ?.fetchByG_CPK_Last
(long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classPK = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ?.fetchByLanguage_First
(String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where language = ?.fetchByLanguage_Last
(String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where language = ?.fetchByPrimaryKey
(long templateId) Returns the ddm template with the primary key or returnsnull
if it could not be found.fetchBySmallImageId
(long smallImageId) Returns the ddm template where smallImageId = ? or returnsnull
if it could not be found.fetchBySmallImageId
(long smallImageId, boolean useFinderCache) Returns the ddm template where smallImageId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByTemplateKey_First
(String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where templateKey = ?.fetchByTemplateKey_Last
(String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where templateKey = ?.fetchByType_First
(String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where type = ?.fetchByType_Last
(String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where type = ?.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the ddm template where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the ddm template where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where uuid = ?.int
filterCountByG_C
(long groupId, long classNameId) Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ?.int
filterCountByG_C_C
(long[] groupIds, long classNameId, long classPK) Returns the number of ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?.int
filterCountByG_C_C
(long groupId, long classNameId, long classPK) Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.int
filterCountByG_C_C_T
(long groupId, long classNameId, long classPK, String type) Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.int
filterCountByG_C_C_T_M
(long groupId, long classNameId, long classPK, String type, String mode) Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.int
filterCountByG_CPK
(long[] groupIds, long classPK) Returns the number of ddm templates that the user has permission to view where groupId = any ? and classPK = ?.int
filterCountByG_CPK
(long groupId, long classPK) Returns the number of ddm templates that the user has permission to view where groupId = ? and classPK = ?.int
filterCountByGroupId
(long groupId) Returns the number of ddm templates that the user has permission to view where groupId = ?.filterFindByG_C
(long groupId, long classNameId) Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ?.filterFindByG_C
(long groupId, long classNameId, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classNameId = ?.filterFindByG_C
(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classNameId = ?.filterFindByG_C_C
(long[] groupIds, long classNameId, long classPK) Returns all the ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?.filterFindByG_C_C
(long[] groupIds, long classNameId, long classPK, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?.filterFindByG_C_C
(long[] groupIds, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?.filterFindByG_C_C
(long groupId, long classNameId, long classPK) Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.filterFindByG_C_C
(long groupId, long classNameId, long classPK, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.filterFindByG_C_C
(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?.filterFindByG_C_C_PrevAndNext
(long templateId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.filterFindByG_C_C_T
(long groupId, long classNameId, long classPK, String type) Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.filterFindByG_C_C_T
(long groupId, long classNameId, long classPK, String type, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.filterFindByG_C_C_T
(long groupId, long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.filterFindByG_C_C_T_M
(long groupId, long classNameId, long classPK, String type, String mode) Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.filterFindByG_C_C_T_M
(long groupId, long classNameId, long classPK, String type, String mode, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.filterFindByG_C_C_T_M
(long groupId, long classNameId, long classPK, String type, String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.filterFindByG_C_C_T_M_PrevAndNext
(long templateId, long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.filterFindByG_C_C_T_PrevAndNext
(long templateId, long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.filterFindByG_C_PrevAndNext
(long templateId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classNameId = ?.filterFindByG_CPK
(long[] groupIds, long classPK) Returns all the ddm templates that the user has permission to view where groupId = any ? and classPK = ?.filterFindByG_CPK
(long[] groupIds, long classPK, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = any ? and classPK = ?.filterFindByG_CPK
(long[] groupIds, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permission to view where groupId = any ? and classPK = ?.filterFindByG_CPK
(long groupId, long classPK) Returns all the ddm templates that the user has permission to view where groupId = ? and classPK = ?.filterFindByG_CPK
(long groupId, long classPK, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classPK = ?.filterFindByG_CPK
(long groupId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classPK = ?.filterFindByG_CPK_PrevAndNext
(long templateId, long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classPK = ?.filterFindByGroupId
(long groupId) Returns all the ddm templates that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ?.filterFindByGroupId_PrevAndNext
(long templateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ?.findAll()
Returns all the ddm templates.findAll
(int start, int end) Returns a range of all the ddm templates.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates.findByC_C_T
(long classNameId, long classPK, String type) Returns all the ddm templates where classNameId = ? and classPK = ? and type = ?.findByC_C_T
(long classNameId, long classPK, String type, int start, int end) Returns a range of all the ddm templates where classNameId = ? and classPK = ? and type = ?.findByC_C_T
(long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where classNameId = ? and classPK = ? and type = ?.findByC_C_T
(long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where classNameId = ? and classPK = ? and type = ?.findByC_C_T_First
(long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?.findByC_C_T_Last
(long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?.findByC_C_T_PrevAndNext
(long templateId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?.findByClassPK
(long classPK) Returns all the ddm templates where classPK = ?.findByClassPK
(long classPK, int start, int end) Returns a range of all the ddm templates where classPK = ?.findByClassPK
(long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where classPK = ?.findByClassPK
(long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where classPK = ?.findByClassPK_First
(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where classPK = ?.findByClassPK_Last
(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where classPK = ?.findByClassPK_PrevAndNext
(long templateId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where classPK = ?.findByERC_G
(String externalReferenceCode, long groupId) Returns the ddm template where externalReferenceCode = ? and groupId = ? or throws aNoSuchTemplateException
if it could not be found.findByG_C
(long groupId, long classNameId) Returns all the ddm templates where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end) Returns a range of all the ddm templates where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ?.findByG_C_C
(long[] groupIds, long classNameId, long classPK) Returns all the ddm templates where groupId = any ? and classNameId = ? and classPK = ?.findByG_C_C
(long[] groupIds, long classNameId, long classPK, int start, int end) Returns a range of all the ddm templates where groupId = any ? and classNameId = ? and classPK = ?.findByG_C_C
(long[] groupIds, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = any ? and classNameId = ? and classPK = ?.findByG_C_C
(long[] groupIds, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?, optionally using the finder cache.findByG_C_C
(long groupId, long classNameId, long classPK) Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ?.findByG_C_C
(long groupId, long classNameId, long classPK, int start, int end) Returns a range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?.findByG_C_C
(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?.findByG_C_C
(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?.findByG_C_C_First
(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.findByG_C_C_Last
(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.findByG_C_C_PrevAndNext
(long templateId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.findByG_C_C_T
(long groupId, long classNameId, long classPK, String type) Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.findByG_C_C_T
(long groupId, long classNameId, long classPK, String type, int start, int end) Returns a range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.findByG_C_C_T
(long groupId, long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.findByG_C_C_T
(long groupId, long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.findByG_C_C_T_First
(long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.findByG_C_C_T_Last
(long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.findByG_C_C_T_M
(long groupId, long classNameId, long classPK, String type, String mode) Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.findByG_C_C_T_M
(long groupId, long classNameId, long classPK, String type, String mode, int start, int end) Returns a range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.findByG_C_C_T_M
(long groupId, long classNameId, long classPK, String type, String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.findByG_C_C_T_M
(long groupId, long classNameId, long classPK, String type, String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.findByG_C_C_T_M_First
(long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.findByG_C_C_T_M_Last
(long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.findByG_C_C_T_M_PrevAndNext
(long templateId, long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.findByG_C_C_T_PrevAndNext
(long templateId, long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.findByG_C_First
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classNameId = ?.findByG_C_Last
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classNameId = ?.findByG_C_PrevAndNext
(long templateId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classNameId = ?.findByG_C_T
(long groupId, long classNameId, String templateKey) Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or throws aNoSuchTemplateException
if it could not be found.findByG_CPK
(long[] groupIds, long classPK) Returns all the ddm templates where groupId = any ? and classPK = ?.findByG_CPK
(long[] groupIds, long classPK, int start, int end) Returns a range of all the ddm templates where groupId = any ? and classPK = ?.findByG_CPK
(long[] groupIds, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = any ? and classPK = ?.findByG_CPK
(long[] groupIds, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classPK = ?, optionally using the finder cache.findByG_CPK
(long groupId, long classPK) Returns all the ddm templates where groupId = ? and classPK = ?.findByG_CPK
(long groupId, long classPK, int start, int end) Returns a range of all the ddm templates where groupId = ? and classPK = ?.findByG_CPK
(long groupId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = ? and classPK = ?.findByG_CPK
(long groupId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classPK = ?.findByG_CPK_First
(long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classPK = ?.findByG_CPK_Last
(long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classPK = ?.findByG_CPK_PrevAndNext
(long templateId, long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classPK = ?.findByGroupId
(long groupId) Returns all the ddm templates where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the ddm templates where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long templateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ?.findByLanguage
(String language) Returns all the ddm templates where language = ?.findByLanguage
(String language, int start, int end) Returns a range of all the ddm templates where language = ?.findByLanguage
(String language, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where language = ?.findByLanguage
(String language, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where language = ?.findByLanguage_First
(String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where language = ?.findByLanguage_Last
(String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where language = ?.findByLanguage_PrevAndNext
(long templateId, String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where language = ?.findByPrimaryKey
(long templateId) Returns the ddm template with the primary key or throws aNoSuchTemplateException
if it could not be found.findBySmallImageId
(long smallImageId) Returns the ddm template where smallImageId = ? or throws aNoSuchTemplateException
if it could not be found.findByTemplateKey
(String templateKey) Returns all the ddm templates where templateKey = ?.findByTemplateKey
(String templateKey, int start, int end) Returns a range of all the ddm templates where templateKey = ?.findByTemplateKey
(String templateKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where templateKey = ?.findByTemplateKey
(String templateKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where templateKey = ?.findByTemplateKey_First
(String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where templateKey = ?.findByTemplateKey_Last
(String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where templateKey = ?.findByTemplateKey_PrevAndNext
(long templateId, String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where templateKey = ?.findByType
(String type) Returns all the ddm templates where type = ?.findByType
(String type, int start, int end) Returns a range of all the ddm templates where type = ?.findByType
(String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where type = ?.findByType
(String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where type = ?.findByType_First
(String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where type = ?.findByType_Last
(String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where type = ?.findByType_PrevAndNext
(long templateId, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where type = ?.findByUuid
(String uuid) Returns all the ddm templates where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the ddm templates where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the ddm templates where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the ddm templates where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long templateId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the ddm template where uuid = ? and groupId = ? or throws aNoSuchTemplateException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long templateId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the ddm templates before and after the current ddm template in the ordered set where uuid = ?.remove
(long templateId) Removes the ddm template with the primary key from the database.void
Removes all the ddm templates from the database.void
removeByC_C_T
(long classNameId, long classPK, String type) Removes all the ddm templates where classNameId = ? and classPK = ? and type = ? from the database.void
removeByClassPK
(long classPK) Removes all the ddm templates where classPK = ? from the database.removeByERC_G
(String externalReferenceCode, long groupId) Removes the ddm template where externalReferenceCode = ? and groupId = ? from the database.void
removeByG_C
(long groupId, long classNameId) Removes all the ddm templates where groupId = ? and classNameId = ? from the database.void
removeByG_C_C
(long groupId, long classNameId, long classPK) Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? from the database.void
removeByG_C_C_T
(long groupId, long classNameId, long classPK, String type) Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? from the database.void
removeByG_C_C_T_M
(long groupId, long classNameId, long classPK, String type, String mode) Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ? from the database.removeByG_C_T
(long groupId, long classNameId, String templateKey) Removes the ddm template where groupId = ? and classNameId = ? and templateKey = ? from the database.void
removeByG_CPK
(long groupId, long classPK) Removes all the ddm templates where groupId = ? and classPK = ? from the database.void
removeByGroupId
(long groupId) Removes all the ddm templates where groupId = ? from the database.void
removeByLanguage
(String language) Removes all the ddm templates where language = ? from the database.removeBySmallImageId
(long smallImageId) Removes the ddm template where smallImageId = ? from the database.void
removeByTemplateKey
(String templateKey) Removes all the ddm templates where templateKey = ? from the database.void
removeByType
(String type) Removes all the ddm templates where type = ? from the database.void
removeByUuid
(String uuid) Removes all the ddm templates where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the ddm templates where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the ddm template where uuid = ? and groupId = ? from the database.updateImpl
(DDMTemplate ddmTemplate) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the ddm templates where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching ddm templates
-
findByUuid
Returns a range of all the ddm templates where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByUuid
List<DDMTemplate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByUuid
List<DDMTemplate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByUuid_First
DDMTemplate findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByUuid_First
DDMTemplate fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByUuid_Last
DDMTemplate findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByUuid_Last
DDMTemplate fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByUuid_PrevAndNext
DDMTemplate[] findByUuid_PrevAndNext(long templateId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where uuid = ?.- Parameters:
templateId
- the primary key of the current ddm templateuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
removeByUuid
Removes all the ddm templates where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of ddm templates where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching ddm templates
-
findByUUID_G
Returns the ddm template where uuid = ? and groupId = ? or throws aNoSuchTemplateException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByUUID_G
Returns the ddm template where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching ddm template, or
null
if a matching ddm template could not be found
-
fetchByUUID_G
Returns the ddm template where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching ddm template, or
null
if a matching ddm template could not be found
-
removeByUUID_G
Removes the ddm template where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the ddm template that was removed
- Throws:
NoSuchTemplateException
-
countByUUID_G
Returns the number of ddm templates where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching ddm templates
-
findByUuid_C
Returns all the ddm templates where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching ddm templates
-
findByUuid_C
Returns a range of all the ddm templates where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByUuid_C
List<DDMTemplate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByUuid_C
List<DDMTemplate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByUuid_C_First
DDMTemplate findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByUuid_C_First
DDMTemplate fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByUuid_C_Last
DDMTemplate findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByUuid_C_Last
DDMTemplate fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByUuid_C_PrevAndNext
DDMTemplate[] findByUuid_C_PrevAndNext(long templateId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where uuid = ? and companyId = ?.- Parameters:
templateId
- the primary key of the current ddm templateuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
removeByUuid_C
Removes all the ddm templates where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of ddm templates where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching ddm templates
-
findByGroupId
Returns all the ddm templates where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching ddm templates
-
findByGroupId
Returns a range of all the ddm templates where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByGroupId
List<DDMTemplate> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByGroupId
List<DDMTemplate> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByGroupId_First
DDMTemplate findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByGroupId_First
DDMTemplate fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByGroupId_Last
DDMTemplate findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByGroupId_Last
DDMTemplate fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByGroupId_PrevAndNext
DDMTemplate[] findByGroupId_PrevAndNext(long templateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ?.- Parameters:
templateId
- the primary key of the current ddm templategroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
filterFindByGroupId
Returns all the ddm templates that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching ddm templates that the user has permission to view
-
filterFindByGroupId
Returns a range of all the ddm templates that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates that the user has permission to view
-
filterFindByGroupId
List<DDMTemplate> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates that the user has permission to view
-
filterFindByGroupId_PrevAndNext
DDMTemplate[] filterFindByGroupId_PrevAndNext(long templateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ?.- Parameters:
templateId
- the primary key of the current ddm templategroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the ddm templates where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of ddm templates where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching ddm templates
-
filterCountByGroupId
int filterCountByGroupId(long groupId) Returns the number of ddm templates that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching ddm templates that the user has permission to view
-
findByClassPK
Returns all the ddm templates where classPK = ?.- Parameters:
classPK
- the class pk- Returns:
- the matching ddm templates
-
findByClassPK
Returns a range of all the ddm templates where classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
classPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByClassPK
List<DDMTemplate> findByClassPK(long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
classPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByClassPK
List<DDMTemplate> findByClassPK(long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
classPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByClassPK_First
DDMTemplate findByClassPK_First(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where classPK = ?.- Parameters:
classPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByClassPK_First
DDMTemplate fetchByClassPK_First(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where classPK = ?.- Parameters:
classPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByClassPK_Last
DDMTemplate findByClassPK_Last(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where classPK = ?.- Parameters:
classPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByClassPK_Last
DDMTemplate fetchByClassPK_Last(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where classPK = ?.- Parameters:
classPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByClassPK_PrevAndNext
DDMTemplate[] findByClassPK_PrevAndNext(long templateId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where classPK = ?.- Parameters:
templateId
- the primary key of the current ddm templateclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
removeByClassPK
void removeByClassPK(long classPK) Removes all the ddm templates where classPK = ? from the database.- Parameters:
classPK
- the class pk
-
countByClassPK
int countByClassPK(long classPK) Returns the number of ddm templates where classPK = ?.- Parameters:
classPK
- the class pk- Returns:
- the number of matching ddm templates
-
findByTemplateKey
Returns all the ddm templates where templateKey = ?.- Parameters:
templateKey
- the template key- Returns:
- the matching ddm templates
-
findByTemplateKey
Returns a range of all the ddm templates where templateKey = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
templateKey
- the template keystart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByTemplateKey
List<DDMTemplate> findByTemplateKey(String templateKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where templateKey = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
templateKey
- the template keystart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByTemplateKey
List<DDMTemplate> findByTemplateKey(String templateKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where templateKey = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
templateKey
- the template keystart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByTemplateKey_First
DDMTemplate findByTemplateKey_First(String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where templateKey = ?.- Parameters:
templateKey
- the template keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByTemplateKey_First
DDMTemplate fetchByTemplateKey_First(String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where templateKey = ?.- Parameters:
templateKey
- the template keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByTemplateKey_Last
DDMTemplate findByTemplateKey_Last(String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where templateKey = ?.- Parameters:
templateKey
- the template keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByTemplateKey_Last
DDMTemplate fetchByTemplateKey_Last(String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where templateKey = ?.- Parameters:
templateKey
- the template keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByTemplateKey_PrevAndNext
DDMTemplate[] findByTemplateKey_PrevAndNext(long templateId, String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where templateKey = ?.- Parameters:
templateId
- the primary key of the current ddm templatetemplateKey
- the template keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
removeByTemplateKey
Removes all the ddm templates where templateKey = ? from the database.- Parameters:
templateKey
- the template key
-
countByTemplateKey
Returns the number of ddm templates where templateKey = ?.- Parameters:
templateKey
- the template key- Returns:
- the number of matching ddm templates
-
findByType
Returns all the ddm templates where type = ?.- Parameters:
type
- the type- Returns:
- the matching ddm templates
-
findByType
Returns a range of all the ddm templates where type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
type
- the typestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByType
List<DDMTemplate> findByType(String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
type
- the typestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByType
List<DDMTemplate> findByType(String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
type
- the typestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByType_First
DDMTemplate findByType_First(String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where type = ?.- Parameters:
type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByType_First
DDMTemplate fetchByType_First(String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where type = ?.- Parameters:
type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByType_Last
DDMTemplate findByType_Last(String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where type = ?.- Parameters:
type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByType_Last
DDMTemplate fetchByType_Last(String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where type = ?.- Parameters:
type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByType_PrevAndNext
DDMTemplate[] findByType_PrevAndNext(long templateId, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where type = ?.- Parameters:
templateId
- the primary key of the current ddm templatetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
removeByType
Removes all the ddm templates where type = ? from the database.- Parameters:
type
- the type
-
countByType
Returns the number of ddm templates where type = ?.- Parameters:
type
- the type- Returns:
- the number of matching ddm templates
-
findByLanguage
Returns all the ddm templates where language = ?.- Parameters:
language
- the language- Returns:
- the matching ddm templates
-
findByLanguage
Returns a range of all the ddm templates where language = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
language
- the languagestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByLanguage
List<DDMTemplate> findByLanguage(String language, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where language = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
language
- the languagestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByLanguage
List<DDMTemplate> findByLanguage(String language, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where language = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
language
- the languagestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByLanguage_First
DDMTemplate findByLanguage_First(String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where language = ?.- Parameters:
language
- the languageorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByLanguage_First
DDMTemplate fetchByLanguage_First(String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where language = ?.- Parameters:
language
- the languageorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByLanguage_Last
DDMTemplate findByLanguage_Last(String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where language = ?.- Parameters:
language
- the languageorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByLanguage_Last
DDMTemplate fetchByLanguage_Last(String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where language = ?.- Parameters:
language
- the languageorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByLanguage_PrevAndNext
DDMTemplate[] findByLanguage_PrevAndNext(long templateId, String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where language = ?.- Parameters:
templateId
- the primary key of the current ddm templatelanguage
- the languageorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
removeByLanguage
Removes all the ddm templates where language = ? from the database.- Parameters:
language
- the language
-
countByLanguage
Returns the number of ddm templates where language = ?.- Parameters:
language
- the language- Returns:
- the number of matching ddm templates
-
findBySmallImageId
Returns the ddm template where smallImageId = ? or throws aNoSuchTemplateException
if it could not be found.- Parameters:
smallImageId
- the small image ID- Returns:
- the matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchBySmallImageId
Returns the ddm template where smallImageId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
smallImageId
- the small image ID- Returns:
- the matching ddm template, or
null
if a matching ddm template could not be found
-
fetchBySmallImageId
Returns the ddm template where smallImageId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
smallImageId
- the small image IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching ddm template, or
null
if a matching ddm template could not be found
-
removeBySmallImageId
Removes the ddm template where smallImageId = ? from the database.- Parameters:
smallImageId
- the small image ID- Returns:
- the ddm template that was removed
- Throws:
NoSuchTemplateException
-
countBySmallImageId
int countBySmallImageId(long smallImageId) Returns the number of ddm templates where smallImageId = ?.- Parameters:
smallImageId
- the small image ID- Returns:
- the number of matching ddm templates
-
findByG_C
Returns all the ddm templates where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the matching ddm templates
-
findByG_C
Returns a range of all the ddm templates where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByG_C
List<DDMTemplate> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByG_C
List<DDMTemplate> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByG_C_First
DDMTemplate findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByG_C_First
DDMTemplate fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByG_C_Last
DDMTemplate findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByG_C_Last
DDMTemplate fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByG_C_PrevAndNext
DDMTemplate[] findByG_C_PrevAndNext(long templateId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classNameId = ?.- Parameters:
templateId
- the primary key of the current ddm templategroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
filterFindByG_C
Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the matching ddm templates that the user has permission to view
-
filterFindByG_C
Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates that the user has permission to view
-
filterFindByG_C
List<DDMTemplate> filterFindByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates that the user has permission to view
-
filterFindByG_C_PrevAndNext
DDMTemplate[] filterFindByG_C_PrevAndNext(long templateId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classNameId = ?.- Parameters:
templateId
- the primary key of the current ddm templategroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
removeByG_C
void removeByG_C(long groupId, long classNameId) Removes all the ddm templates where groupId = ? and classNameId = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name ID
-
countByG_C
int countByG_C(long groupId, long classNameId) Returns the number of ddm templates where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the number of matching ddm templates
-
filterCountByG_C
int filterCountByG_C(long groupId, long classNameId) Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the number of matching ddm templates that the user has permission to view
-
findByG_CPK
Returns all the ddm templates where groupId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassPK
- the class pk- Returns:
- the matching ddm templates
-
findByG_CPK
Returns a range of all the ddm templates where groupId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByG_CPK
List<DDMTemplate> findByG_CPK(long groupId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByG_CPK
List<DDMTemplate> findByG_CPK(long groupId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByG_CPK_First
DDMTemplate findByG_CPK_First(long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where groupId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByG_CPK_First
DDMTemplate fetchByG_CPK_First(long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByG_CPK_Last
DDMTemplate findByG_CPK_Last(long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where groupId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByG_CPK_Last
DDMTemplate fetchByG_CPK_Last(long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByG_CPK_PrevAndNext
DDMTemplate[] findByG_CPK_PrevAndNext(long templateId, long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classPK = ?.- Parameters:
templateId
- the primary key of the current ddm templategroupId
- the group IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
filterFindByG_CPK
Returns all the ddm templates that the user has permission to view where groupId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassPK
- the class pk- Returns:
- the matching ddm templates that the user has permission to view
-
filterFindByG_CPK
Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates that the user has permission to view
-
filterFindByG_CPK
List<DDMTemplate> filterFindByG_CPK(long groupId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates that the user has permission to view
-
filterFindByG_CPK_PrevAndNext
DDMTemplate[] filterFindByG_CPK_PrevAndNext(long templateId, long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classPK = ?.- Parameters:
templateId
- the primary key of the current ddm templategroupId
- the group IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
filterFindByG_CPK
Returns all the ddm templates that the user has permission to view where groupId = any ? and classPK = ?.- Parameters:
groupIds
- the group IDsclassPK
- the class pk- Returns:
- the matching ddm templates that the user has permission to view
-
filterFindByG_CPK
Returns a range of all the ddm templates that the user has permission to view where groupId = any ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupIds
- the group IDsclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates that the user has permission to view
-
filterFindByG_CPK
List<DDMTemplate> filterFindByG_CPK(long[] groupIds, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permission to view where groupId = any ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupIds
- the group IDsclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates that the user has permission to view
-
findByG_CPK
Returns all the ddm templates where groupId = any ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupIds
- the group IDsclassPK
- the class pk- Returns:
- the matching ddm templates
-
findByG_CPK
Returns a range of all the ddm templates where groupId = any ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupIds
- the group IDsclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByG_CPK
List<DDMTemplate> findByG_CPK(long[] groupIds, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = any ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupIds
- the group IDsclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByG_CPK
List<DDMTemplate> findByG_CPK(long[] groupIds, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classPK = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupIds
- the group IDsclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
removeByG_CPK
void removeByG_CPK(long groupId, long classPK) Removes all the ddm templates where groupId = ? and classPK = ? from the database.- Parameters:
groupId
- the group IDclassPK
- the class pk
-
countByG_CPK
int countByG_CPK(long groupId, long classPK) Returns the number of ddm templates where groupId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassPK
- the class pk- Returns:
- the number of matching ddm templates
-
countByG_CPK
int countByG_CPK(long[] groupIds, long classPK) Returns the number of ddm templates where groupId = any ? and classPK = ?.- Parameters:
groupIds
- the group IDsclassPK
- the class pk- Returns:
- the number of matching ddm templates
-
filterCountByG_CPK
int filterCountByG_CPK(long groupId, long classPK) Returns the number of ddm templates that the user has permission to view where groupId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassPK
- the class pk- Returns:
- the number of matching ddm templates that the user has permission to view
-
filterCountByG_CPK
int filterCountByG_CPK(long[] groupIds, long classPK) Returns the number of ddm templates that the user has permission to view where groupId = any ? and classPK = ?.- Parameters:
groupIds
- the group IDsclassPK
- the class pk- Returns:
- the number of matching ddm templates that the user has permission to view
-
findByG_C_C
Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching ddm templates
-
findByG_C_C
Returns a range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByG_C_C
List<DDMTemplate> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByG_C_C
List<DDMTemplate> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByG_C_C_First
DDMTemplate findByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByG_C_C_First
DDMTemplate fetchByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByG_C_C_Last
DDMTemplate findByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByG_C_C_Last
DDMTemplate fetchByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByG_C_C_PrevAndNext
DDMTemplate[] findByG_C_C_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
templateId
- the primary key of the current ddm templategroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
filterFindByG_C_C
Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching ddm templates that the user has permission to view
-
filterFindByG_C_C
List<DDMTemplate> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates that the user has permission to view
-
filterFindByG_C_C
List<DDMTemplate> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates that the user has permission to view
-
filterFindByG_C_C_PrevAndNext
DDMTemplate[] filterFindByG_C_C_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
templateId
- the primary key of the current ddm templategroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
filterFindByG_C_C
Returns all the ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?.- Parameters:
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching ddm templates that the user has permission to view
-
filterFindByG_C_C
List<DDMTemplate> filterFindByG_C_C(long[] groupIds, long classNameId, long classPK, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates that the user has permission to view
-
filterFindByG_C_C
List<DDMTemplate> filterFindByG_C_C(long[] groupIds, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates that the user has permission to view
-
findByG_C_C
Returns all the ddm templates where groupId = any ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching ddm templates
-
findByG_C_C
Returns a range of all the ddm templates where groupId = any ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByG_C_C
List<DDMTemplate> findByG_C_C(long[] groupIds, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = any ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByG_C_C
List<DDMTemplate> findByG_C_C(long[] groupIds, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
removeByG_C_C
void removeByG_C_C(long groupId, long classNameId, long classPK) Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk
-
countByG_C_C
int countByG_C_C(long groupId, long classNameId, long classPK) Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching ddm templates
-
countByG_C_C
int countByG_C_C(long[] groupIds, long classNameId, long classPK) Returns the number of ddm templates where groupId = any ? and classNameId = ? and classPK = ?.- Parameters:
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching ddm templates
-
filterCountByG_C_C
int filterCountByG_C_C(long groupId, long classNameId, long classPK) Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching ddm templates that the user has permission to view
-
filterCountByG_C_C
int filterCountByG_C_C(long[] groupIds, long classNameId, long classPK) Returns the number of ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?.- Parameters:
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching ddm templates that the user has permission to view
-
findByG_C_T
DDMTemplate findByG_C_T(long groupId, long classNameId, String templateKey) throws NoSuchTemplateException Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or throws aNoSuchTemplateException
if it could not be found.- Parameters:
groupId
- the group IDclassNameId
- the class name IDtemplateKey
- the template key- Returns:
- the matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByG_C_T
Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDclassNameId
- the class name IDtemplateKey
- the template key- Returns:
- the matching ddm template, or
null
if a matching ddm template could not be found
-
fetchByG_C_T
DDMTemplate fetchByG_C_T(long groupId, long classNameId, String templateKey, boolean useFinderCache) Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDclassNameId
- the class name IDtemplateKey
- the template keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching ddm template, or
null
if a matching ddm template could not be found
-
removeByG_C_T
DDMTemplate removeByG_C_T(long groupId, long classNameId, String templateKey) throws NoSuchTemplateException Removes the ddm template where groupId = ? and classNameId = ? and templateKey = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDtemplateKey
- the template key- Returns:
- the ddm template that was removed
- Throws:
NoSuchTemplateException
-
countByG_C_T
Returns the number of ddm templates where groupId = ? and classNameId = ? and templateKey = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDtemplateKey
- the template key- Returns:
- the number of matching ddm templates
-
findByC_C_T
Returns all the ddm templates where classNameId = ? and classPK = ? and type = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the type- Returns:
- the matching ddm templates
-
findByC_C_T
Returns a range of all the ddm templates where classNameId = ? and classPK = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByC_C_T
List<DDMTemplate> findByC_C_T(long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where classNameId = ? and classPK = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByC_C_T
List<DDMTemplate> findByC_C_T(long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where classNameId = ? and classPK = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByC_C_T_First
DDMTemplate findByC_C_T_First(long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByC_C_T_First
DDMTemplate fetchByC_C_T_First(long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByC_C_T_Last
DDMTemplate findByC_C_T_Last(long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByC_C_T_Last
DDMTemplate fetchByC_C_T_Last(long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByC_C_T_PrevAndNext
DDMTemplate[] findByC_C_T_PrevAndNext(long templateId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?.- Parameters:
templateId
- the primary key of the current ddm templateclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
removeByC_C_T
Removes all the ddm templates where classNameId = ? and classPK = ? and type = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the type
-
countByC_C_T
Returns the number of ddm templates where classNameId = ? and classPK = ? and type = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the type- Returns:
- the number of matching ddm templates
-
findByG_C_C_T
Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the type- Returns:
- the matching ddm templates
-
findByG_C_C_T
List<DDMTemplate> findByG_C_C_T(long groupId, long classNameId, long classPK, String type, int start, int end) Returns a range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByG_C_C_T
List<DDMTemplate> findByG_C_C_T(long groupId, long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByG_C_C_T
List<DDMTemplate> findByG_C_C_T(long groupId, long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByG_C_C_T_First
DDMTemplate findByG_C_C_T_First(long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByG_C_C_T_First
DDMTemplate fetchByG_C_C_T_First(long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByG_C_C_T_Last
DDMTemplate findByG_C_C_T_Last(long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByG_C_C_T_Last
DDMTemplate fetchByG_C_C_T_Last(long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByG_C_C_T_PrevAndNext
DDMTemplate[] findByG_C_C_T_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
templateId
- the primary key of the current ddm templategroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
filterFindByG_C_C_T
Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the type- Returns:
- the matching ddm templates that the user has permission to view
-
filterFindByG_C_C_T
List<DDMTemplate> filterFindByG_C_C_T(long groupId, long classNameId, long classPK, String type, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates that the user has permission to view
-
filterFindByG_C_C_T
List<DDMTemplate> filterFindByG_C_C_T(long groupId, long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates that the user has permission to view
-
filterFindByG_C_C_T_PrevAndNext
DDMTemplate[] filterFindByG_C_C_T_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
templateId
- the primary key of the current ddm templategroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
removeByG_C_C_T
Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the type
-
countByG_C_C_T
Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the type- Returns:
- the number of matching ddm templates
-
filterCountByG_C_C_T
Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the type- Returns:
- the number of matching ddm templates that the user has permission to view
-
findByG_C_C_T_M
List<DDMTemplate> findByG_C_C_T_M(long groupId, long classNameId, long classPK, String type, String mode) Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the mode- Returns:
- the matching ddm templates
-
findByG_C_C_T_M
List<DDMTemplate> findByG_C_C_T_M(long groupId, long classNameId, long classPK, String type, String mode, int start, int end) Returns a range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates
-
findByG_C_C_T_M
List<DDMTemplate> findByG_C_C_T_M(long groupId, long classNameId, long classPK, String type, String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates
-
findByG_C_C_T_M
List<DDMTemplate> findByG_C_C_T_M(long groupId, long classNameId, long classPK, String type, String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm templates
-
findByG_C_C_T_M_First
DDMTemplate findByG_C_C_T_M_First(long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByG_C_C_T_M_First
DDMTemplate fetchByG_C_C_T_M_First(long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm template, or
null
if a matching ddm template could not be found
-
findByG_C_C_T_M_Last
DDMTemplate findByG_C_C_T_M_Last(long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByG_C_C_T_M_Last
DDMTemplate fetchByG_C_C_T_M_Last(long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm template, or
null
if a matching ddm template could not be found
-
findByG_C_C_T_M_PrevAndNext
DDMTemplate[] findByG_C_C_T_M_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.- Parameters:
templateId
- the primary key of the current ddm templategroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
filterFindByG_C_C_T_M
List<DDMTemplate> filterFindByG_C_C_T_M(long groupId, long classNameId, long classPK, String type, String mode) Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the mode- Returns:
- the matching ddm templates that the user has permission to view
-
filterFindByG_C_C_T_M
List<DDMTemplate> filterFindByG_C_C_T_M(long groupId, long classNameId, long classPK, String type, String mode, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of matching ddm templates that the user has permission to view
-
filterFindByG_C_C_T_M
List<DDMTemplate> filterFindByG_C_C_T_M(long groupId, long classNameId, long classPK, String type, String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddm templates that the user has permission to view
-
filterFindByG_C_C_T_M_PrevAndNext
DDMTemplate[] filterFindByG_C_C_T_M_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.- Parameters:
templateId
- the primary key of the current ddm templategroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
removeByG_C_C_T_M
Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the mode
-
countByG_C_C_T_M
Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the mode- Returns:
- the number of matching ddm templates
-
filterCountByG_C_C_T_M
Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the mode- Returns:
- the number of matching ddm templates that the user has permission to view
-
findByERC_G
Returns the ddm template where externalReferenceCode = ? and groupId = ? or throws aNoSuchTemplateException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching ddm template
- Throws:
NoSuchTemplateException
- if a matching ddm template could not be found
-
fetchByERC_G
Returns the ddm template where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching ddm template, or
null
if a matching ddm template could not be found
-
fetchByERC_G
Returns the ddm template where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching ddm template, or
null
if a matching ddm template could not be found
-
removeByERC_G
DDMTemplate removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchTemplateException Removes the ddm template where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the ddm template that was removed
- Throws:
NoSuchTemplateException
-
countByERC_G
Returns the number of ddm templates where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching ddm templates
-
cacheResult
Caches the ddm template in the entity cache if it is enabled.- Parameters:
ddmTemplate
- the ddm template
-
cacheResult
Caches the ddm templates in the entity cache if it is enabled.- Parameters:
ddmTemplates
- the ddm templates
-
create
Creates a new ddm template with the primary key. Does not add the ddm template to the database.- Parameters:
templateId
- the primary key for the new ddm template- Returns:
- the new ddm template
-
remove
Removes the ddm template with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
templateId
- the primary key of the ddm template- Returns:
- the ddm template that was removed
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the ddm template with the primary key or throws aNoSuchTemplateException
if it could not be found.- Parameters:
templateId
- the primary key of the ddm template- Returns:
- the ddm template
- Throws:
NoSuchTemplateException
- if a ddm template with the primary key could not be found
-
fetchByPrimaryKey
Returns the ddm template with the primary key or returnsnull
if it could not be found.- Parameters:
templateId
- the primary key of the ddm template- Returns:
- the ddm template, or
null
if a ddm template with the primary key could not be found
-
findAll
List<DDMTemplate> findAll()Returns all the ddm templates.- Returns:
- the ddm templates
-
findAll
Returns a range of all the ddm templates.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
start
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)- Returns:
- the range of ddm templates
-
findAll
List<DDMTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
start
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of ddm templates
-
findAll
List<DDMTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm templates.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMTemplateModelImpl
.- Parameters:
start
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of ddm templates
-
removeAll
void removeAll()Removes all the ddm templates from the database. -
countAll
int countAll()Returns the number of ddm templates.- Returns:
- the number of ddm templates
-