Class DDMTemplateUtil
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMTemplatePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(DDMTemplate ddmTemplate) Caches the ddm template in the entity cache if it is enabled.static voidcacheResult(List<DDMTemplate> ddmTemplates) Caches the ddm templates in the entity cache if it is enabled.static voidstatic voidclearCache(DDMTemplate ddmTemplate) static intcountAll()Returns the number of ddm templates.static intcountByC_C_T(long classNameId, long classPK, String type) Returns the number of ddm templates where classNameId = ? and classPK = ? and type = ?.static intcountByClassPK(long classPK) Returns the number of ddm templates where classPK = ?.static intcountByERC_G(String externalReferenceCode, long groupId) Returns the number of ddm templates where externalReferenceCode = ? and groupId = ?.static intcountByG_C(long groupId, long classNameId) Returns the number of ddm templates where groupId = ? and classNameId = ?.static intcountByG_C_C(long[] groupIds, long classNameId, long classPK) Returns the number of ddm templates where groupId = any ? and classNameId = ? and classPK = ?.static intcountByG_C_C(long groupId, long classNameId, long classPK) Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ?.static intcountByG_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 = ?.static intcountByG_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 = ?.static intcountByG_C_T(long groupId, long classNameId, String templateKey) Returns the number of ddm templates where groupId = ? and classNameId = ? and templateKey = ?.static intcountByG_CPK(long[] groupIds, long classPK) Returns the number of ddm templates where groupId = any ? and classPK = ?.static intcountByG_CPK(long groupId, long classPK) Returns the number of ddm templates where groupId = ? and classPK = ?.static intcountByGroupId(long groupId) Returns the number of ddm templates where groupId = ?.static intcountByLanguage(String language) Returns the number of ddm templates where language = ?.static intcountBySmallImageId(long smallImageId) Returns the number of ddm templates where smallImageId = ?.static intcountByTemplateKey(String templateKey) Returns the number of ddm templates where templateKey = ?.static intcountByType(String type) Returns the number of ddm templates where type = ?.static intcountByUuid(String uuid) Returns the number of ddm templates where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of ddm templates where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of ddm templates where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static DDMTemplatecreate(long templateId) Creates a new ddm template with the primary key.static DDMTemplatefetchByC_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 = ?.static DDMTemplatefetchByC_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 = ?.static DDMTemplatefetchByClassPK_First(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where classPK = ?.static DDMTemplatefetchByClassPK_Last(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where classPK = ?.static DDMTemplatefetchByERC_G(String externalReferenceCode, long groupId) Returns the ddm template where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found.static DDMTemplatefetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the ddm template where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static DDMTemplatefetchByG_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 = ?.static DDMTemplatefetchByG_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 = ?.static DDMTemplatefetchByG_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 = ?.static DDMTemplatefetchByG_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 = ?.static DDMTemplatefetchByG_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 = ?.static DDMTemplatefetchByG_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 = ?.static DDMTemplatefetchByG_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 = ?.static DDMTemplatefetchByG_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 = ?.static DDMTemplatefetchByG_C_T(long groupId, long classNameId, String templateKey) Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or returnsnullif it could not be found.static DDMTemplatefetchByG_C_T(long groupId, long classNameId, String templateKey, boolean useFinderCache) Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or returnsnullif it could not be found, optionally using the finder cache.static DDMTemplatefetchByG_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 = ?.static DDMTemplatefetchByG_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 = ?.static DDMTemplatefetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ?.static DDMTemplatefetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ?.static DDMTemplatefetchByLanguage_First(String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where language = ?.static DDMTemplatefetchByLanguage_Last(String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where language = ?.static DDMTemplatefetchByPrimaryKey(long templateId) Returns the ddm template with the primary key or returnsnullif it could not be found.static Map<Serializable,DDMTemplate> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static DDMTemplatefetchBySmallImageId(long smallImageId) Returns the ddm template where smallImageId = ? or returnsnullif it could not be found.static DDMTemplatefetchBySmallImageId(long smallImageId, boolean useFinderCache) Returns the ddm template where smallImageId = ? or returnsnullif it could not be found, optionally using the finder cache.static DDMTemplatefetchByTemplateKey_First(String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where templateKey = ?.static DDMTemplatefetchByTemplateKey_Last(String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where templateKey = ?.static DDMTemplatefetchByType_First(String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where type = ?.static DDMTemplatefetchByType_Last(String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where type = ?.static DDMTemplatefetchByUuid_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 = ?.static DDMTemplatefetchByUuid_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 = ?.static DDMTemplatefetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where uuid = ?.static DDMTemplatefetchByUUID_G(String uuid, long groupId) Returns the ddm template where uuid = ? and groupId = ? or returnsnullif it could not be found.static DDMTemplatefetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the ddm template where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static DDMTemplatefetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where uuid = ?.static intfilterCountByG_C(long groupId, long classNameId) Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ?.static intfilterCountByG_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 = ?.static intfilterCountByG_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 = ?.static intfilterCountByG_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 = ?.static intfilterCountByG_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 = ?.static intfilterCountByG_CPK(long[] groupIds, long classPK) Returns the number of ddm templates that the user has permission to view where groupId = any ? and classPK = ?.static intfilterCountByG_CPK(long groupId, long classPK) Returns the number of ddm templates that the user has permission to view where groupId = ? and classPK = ?.static intfilterCountByGroupId(long groupId) Returns the number of ddm templates that the user has permission to view where groupId = ?.static List<DDMTemplate>filterFindByG_C(long groupId, long classNameId) Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ?.static List<DDMTemplate>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 = ?.static 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 = ?.static List<DDMTemplate>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 = ?.static 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 = ?.static 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 = ?.static List<DDMTemplate>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 = ?.static 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 = ?.static 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 = ?.static DDMTemplate[]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 = ?.static List<DDMTemplate>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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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) 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 = ?.static DDMTemplate[]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 = ?.static DDMTemplate[]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 = ?.static List<DDMTemplate>filterFindByG_CPK(long[] groupIds, long classPK) Returns all the ddm templates that the user has permission to view where groupId = any ? and classPK = ?.static List<DDMTemplate>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 = ?.static 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 = ?.static List<DDMTemplate>filterFindByG_CPK(long groupId, long classPK) Returns all the ddm templates that the user has permission to view where groupId = ? and classPK = ?.static List<DDMTemplate>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 = ?.static 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 = ?.static DDMTemplate[]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 = ?.static List<DDMTemplate>filterFindByGroupId(long groupId) Returns all the ddm templates that the user has permission to view where groupId = ?.static List<DDMTemplate>filterFindByGroupId(long groupId, int start, int end) Returns a range of all the ddm templates that the user has permission to view where groupId = ?.static 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 = ?.static DDMTemplate[]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 = ?.static List<DDMTemplate>findAll()Returns all the ddm templates.static List<DDMTemplate>findAll(int start, int end) Returns a range of all the ddm templates.static List<DDMTemplate>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns an ordered range of all the ddm templates.static 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.static List<DDMTemplate>findByC_C_T(long classNameId, long classPK, String type) Returns all the ddm templates where classNameId = ? and classPK = ? and type = ?.static List<DDMTemplate>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 = ?.static 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 = ?.static 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 = ?.static DDMTemplatefindByC_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 = ?.static DDMTemplatefindByC_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 = ?.static DDMTemplate[]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 = ?.static List<DDMTemplate>findByClassPK(long classPK) Returns all the ddm templates where classPK = ?.static List<DDMTemplate>findByClassPK(long classPK, int start, int end) Returns a range of all the ddm templates where classPK = ?.static 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 = ?.static 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 = ?.static DDMTemplatefindByClassPK_First(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where classPK = ?.static DDMTemplatefindByClassPK_Last(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where classPK = ?.static DDMTemplate[]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 = ?.static DDMTemplatefindByERC_G(String externalReferenceCode, long groupId) Returns the ddm template where externalReferenceCode = ? and groupId = ? or throws aNoSuchTemplateExceptionif it could not be found.static List<DDMTemplate>findByG_C(long groupId, long classNameId) Returns all the ddm templates where groupId = ? and classNameId = ?.static List<DDMTemplate>findByG_C(long groupId, long classNameId, int start, int end) Returns a range of all the ddm templates where groupId = ? and classNameId = ?.static 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 = ?.static 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 = ?.static List<DDMTemplate>findByG_C_C(long[] groupIds, long classNameId, long classPK) Returns all the ddm templates where groupId = any ? and classNameId = ? and classPK = ?.static List<DDMTemplate>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 = ?.static 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 = ?.static 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.static List<DDMTemplate>findByG_C_C(long groupId, long classNameId, long classPK) Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ?.static List<DDMTemplate>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 = ?.static 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 = ?.static 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 = ?.static DDMTemplatefindByG_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 = ?.static DDMTemplatefindByG_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 = ?.static DDMTemplate[]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 = ?.static List<DDMTemplate>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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static DDMTemplatefindByG_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 = ?.static DDMTemplatefindByG_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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static DDMTemplatefindByG_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 = ?.static DDMTemplatefindByG_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 = ?.static 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) 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 = ?.static DDMTemplate[]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 = ?.static DDMTemplatefindByG_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 = ?.static DDMTemplatefindByG_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 = ?.static DDMTemplate[]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 = ?.static DDMTemplatefindByG_C_T(long groupId, long classNameId, String templateKey) Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or throws aNoSuchTemplateExceptionif it could not be found.static List<DDMTemplate>findByG_CPK(long[] groupIds, long classPK) Returns all the ddm templates where groupId = any ? and classPK = ?.static List<DDMTemplate>findByG_CPK(long[] groupIds, long classPK, int start, int end) Returns a range of all the ddm templates where groupId = any ? and classPK = ?.static 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 = ?.static 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.static List<DDMTemplate>findByG_CPK(long groupId, long classPK) Returns all the ddm templates where groupId = ? and classPK = ?.static List<DDMTemplate>findByG_CPK(long groupId, long classPK, int start, int end) Returns a range of all the ddm templates where groupId = ? and classPK = ?.static 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 = ?.static 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 = ?.static DDMTemplatefindByG_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 = ?.static DDMTemplatefindByG_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 = ?.static DDMTemplate[]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 = ?.static List<DDMTemplate>findByGroupId(long groupId) Returns all the ddm templates where groupId = ?.static List<DDMTemplate>findByGroupId(long groupId, int start, int end) Returns a range of all the ddm templates where groupId = ?.static 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 = ?.static 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 = ?.static DDMTemplatefindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where groupId = ?.static DDMTemplatefindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where groupId = ?.static DDMTemplate[]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 = ?.static List<DDMTemplate>findByLanguage(String language) Returns all the ddm templates where language = ?.static List<DDMTemplate>findByLanguage(String language, int start, int end) Returns a range of all the ddm templates where language = ?.static 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 = ?.static 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 = ?.static DDMTemplatefindByLanguage_First(String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where language = ?.static DDMTemplatefindByLanguage_Last(String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where language = ?.static DDMTemplate[]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 = ?.static DDMTemplatefindByPrimaryKey(long templateId) Returns the ddm template with the primary key or throws aNoSuchTemplateExceptionif it could not be found.static DDMTemplatefindBySmallImageId(long smallImageId) Returns the ddm template where smallImageId = ? or throws aNoSuchTemplateExceptionif it could not be found.static List<DDMTemplate>findByTemplateKey(String templateKey) Returns all the ddm templates where templateKey = ?.static List<DDMTemplate>findByTemplateKey(String templateKey, int start, int end) Returns a range of all the ddm templates where templateKey = ?.static 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 = ?.static 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 = ?.static DDMTemplatefindByTemplateKey_First(String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where templateKey = ?.static DDMTemplatefindByTemplateKey_Last(String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where templateKey = ?.static DDMTemplate[]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 = ?.static List<DDMTemplate>findByType(String type) Returns all the ddm templates where type = ?.static List<DDMTemplate>findByType(String type, int start, int end) Returns a range of all the ddm templates where type = ?.static 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 = ?.static 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 = ?.static DDMTemplatefindByType_First(String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where type = ?.static DDMTemplatefindByType_Last(String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where type = ?.static DDMTemplate[]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 = ?.static List<DDMTemplate>findByUuid(String uuid) Returns all the ddm templates where uuid = ?.static List<DDMTemplate>findByUuid(String uuid, int start, int end) Returns a range of all the ddm templates where uuid = ?.static 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 = ?.static 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 = ?.static List<DDMTemplate>findByUuid_C(String uuid, long companyId) Returns all the ddm templates where uuid = ? and companyId = ?.static List<DDMTemplate>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the ddm templates where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static DDMTemplatefindByUuid_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 = ?.static DDMTemplatefindByUuid_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 = ?.static DDMTemplate[]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 = ?.static DDMTemplatefindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the first ddm template in the ordered set where uuid = ?.static DDMTemplatefindByUUID_G(String uuid, long groupId) Returns the ddm template where uuid = ? and groupId = ? or throws aNoSuchTemplateExceptionif it could not be found.static DDMTemplatefindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) Returns the last ddm template in the ordered set where uuid = ?.static DDMTemplate[]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 = ?.static List<DDMTemplate>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<DDMTemplate>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<DDMTemplate>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) static DDMTemplatePersistencestatic DDMTemplateremove(long templateId) Removes the ddm template with the primary key from the database.static voidRemoves all the ddm templates from the database.static voidremoveByC_C_T(long classNameId, long classPK, String type) Removes all the ddm templates where classNameId = ? and classPK = ? and type = ? from the database.static voidremoveByClassPK(long classPK) Removes all the ddm templates where classPK = ? from the database.static DDMTemplateremoveByERC_G(String externalReferenceCode, long groupId) Removes the ddm template where externalReferenceCode = ? and groupId = ? from the database.static voidremoveByG_C(long groupId, long classNameId) Removes all the ddm templates where groupId = ? and classNameId = ? from the database.static voidremoveByG_C_C(long groupId, long classNameId, long classPK) Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? from the database.static voidremoveByG_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.static voidremoveByG_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.static DDMTemplateremoveByG_C_T(long groupId, long classNameId, String templateKey) Removes the ddm template where groupId = ? and classNameId = ? and templateKey = ? from the database.static voidremoveByG_CPK(long groupId, long classPK) Removes all the ddm templates where groupId = ? and classPK = ? from the database.static voidremoveByGroupId(long groupId) Removes all the ddm templates where groupId = ? from the database.static voidremoveByLanguage(String language) Removes all the ddm templates where language = ? from the database.static DDMTemplateremoveBySmallImageId(long smallImageId) Removes the ddm template where smallImageId = ? from the database.static voidremoveByTemplateKey(String templateKey) Removes all the ddm templates where templateKey = ? from the database.static voidremoveByType(String type) Removes all the ddm templates where type = ? from the database.static voidremoveByUuid(String uuid) Removes all the ddm templates where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the ddm templates where uuid = ? and companyId = ? from the database.static DDMTemplateremoveByUUID_G(String uuid, long groupId) Removes the ddm template where uuid = ? and groupId = ? from the database.static voidsetPersistence(DDMTemplatePersistence persistence) static DDMTemplateupdate(DDMTemplate ddmTemplate) static DDMTemplateupdate(DDMTemplate ddmTemplate, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DDMTemplateupdateImpl(DDMTemplate ddmTemplate)
-
Constructor Details
-
DDMTemplateUtil
public DDMTemplateUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<DDMTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<DDMTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<DDMTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static DDMTemplate update(DDMTemplate ddmTemplate, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByUuid_First
public static 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
nullif a matching ddm template could not be found
-
findByUuid_Last
public static 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 foundNoSuchTemplateException
-
fetchByUuid_Last
public static 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
nullif a matching ddm template could not be found
-
findByUuid_PrevAndNext
public static 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 foundNoSuchTemplateException
-
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 aNoSuchTemplateExceptionif 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 foundNoSuchTemplateException
-
fetchByUUID_G
Returns the ddm template where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching ddm template, or
nullif a matching ddm template could not be found
-
fetchByUUID_G
Returns the ddm template where uuid = ? and groupId = ? or returnsnullif 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
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByUuid_C_First
public static 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
nullif a matching ddm template could not be found
-
findByUuid_C_Last
public static 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 foundNoSuchTemplateException
-
fetchByUuid_C_Last
public static 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
nullif a matching ddm template could not be found
-
findByUuid_C_PrevAndNext
public static 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 foundNoSuchTemplateException
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByGroupId_First
public static 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
nullif a matching ddm template could not be found
-
findByGroupId_Last
public static 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 foundNoSuchTemplateException
-
fetchByGroupId_Last
public static 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
nullif a matching ddm template could not be found
-
findByGroupId_PrevAndNext
public static 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 foundNoSuchTemplateException
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the ddm templates where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByClassPK_First
public static 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
nullif a matching ddm template could not be found
-
findByClassPK_Last
public static 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 foundNoSuchTemplateException
-
fetchByClassPK_Last
public static 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
nullif a matching ddm template could not be found
-
findByClassPK_PrevAndNext
public static 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 foundNoSuchTemplateException
-
removeByClassPK
public static void removeByClassPK(long classPK) Removes all the ddm templates where classPK = ? from the database.- Parameters:
classPK- the class pk
-
countByClassPK
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByTemplateKey_First
public static 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
nullif a matching ddm template could not be found
-
findByTemplateKey_Last
public static 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 foundNoSuchTemplateException
-
fetchByTemplateKey_Last
public static 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
nullif a matching ddm template could not be found
-
findByTemplateKey_PrevAndNext
public static 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 foundNoSuchTemplateException
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByType_First
public static 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
nullif a matching ddm template could not be found
-
findByType_Last
public static 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 foundNoSuchTemplateException
-
fetchByType_Last
public static 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
nullif a matching ddm template could not be found
-
findByType_PrevAndNext
public static 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 foundNoSuchTemplateException
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByLanguage_First
public static 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
nullif a matching ddm template could not be found
-
findByLanguage_Last
public static 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 foundNoSuchTemplateException
-
fetchByLanguage_Last
public static 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
nullif a matching ddm template could not be found
-
findByLanguage_PrevAndNext
public static 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 foundNoSuchTemplateException
-
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 aNoSuchTemplateExceptionif 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 foundNoSuchTemplateException
-
fetchBySmallImageId
Returns the ddm template where smallImageId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
smallImageId- the small image ID- Returns:
- the matching ddm template, or
nullif a matching ddm template could not be found
-
fetchBySmallImageId
Returns the ddm template where smallImageId = ? or returnsnullif 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
nullif 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByG_C_First
public static 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
nullif a matching ddm template could not be found
-
findByG_C_Last
public static 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 foundNoSuchTemplateException
-
fetchByG_C_Last
public static 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
nullif a matching ddm template could not be found
-
findByG_C_PrevAndNext
public static 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 foundNoSuchTemplateException
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
removeByG_C
public static 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
public static 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByG_CPK_First
public static 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
nullif a matching ddm template could not be found
-
findByG_CPK_Last
public static 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 foundNoSuchTemplateException
-
fetchByG_CPK_Last
public static 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
nullif a matching ddm template could not be found
-
findByG_CPK_PrevAndNext
public static 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 foundNoSuchTemplateException
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
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
public static List<DDMTemplate> 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static List<DDMTemplate> 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByG_C_C_First
public static 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
nullif a matching ddm template could not be found
-
findByG_C_C_Last
public static 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 foundNoSuchTemplateException
-
fetchByG_C_C_Last
public static 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
nullif a matching ddm template could not be found
-
findByG_C_C_PrevAndNext
public static 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 foundNoSuchTemplateException
-
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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static List<DDMTemplate> 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static DDMTemplate findByG_C_T(long groupId, long classNameId, String templateKey) throws NoSuchTemplateException Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or throws aNoSuchTemplateExceptionif 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 foundNoSuchTemplateException
-
fetchByG_C_T
Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or returnsnullif 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
nullif a matching ddm template could not be found
-
fetchByG_C_T
public static DDMTemplate fetchByG_C_T(long groupId, long classNameId, String templateKey, boolean useFinderCache) Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or returnsnullif 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
nullif a matching ddm template could not be found
-
removeByG_C_T
public static 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
public static List<DDMTemplate> 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByC_C_T_First
public static 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
nullif a matching ddm template could not be found
-
findByC_C_T_Last
public static 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 foundNoSuchTemplateException
-
fetchByC_C_T_Last
public static 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
nullif a matching ddm template could not be found
-
findByC_C_T_PrevAndNext
public static 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 foundNoSuchTemplateException
-
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
public static List<DDMTemplate> 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 = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pktype- the type- Returns:
- the matching ddm templates
-
findByG_C_C_T
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByG_C_C_T_First
public static 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
nullif a matching ddm template could not be found
-
findByG_C_C_T_Last
public static 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 foundNoSuchTemplateException
-
fetchByG_C_C_T_Last
public static 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
nullif a matching ddm template could not be found
-
findByG_C_C_T_PrevAndNext
public static 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 foundNoSuchTemplateException
-
filterFindByG_C_C_T
public static List<DDMTemplate> 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 = ?.- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
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
public static 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
fetchByG_C_C_T_M_First
public static 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
nullif a matching ddm template could not be found
-
findByG_C_C_T_M_Last
public static 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 foundNoSuchTemplateException
-
fetchByG_C_C_T_M_Last
public static 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
nullif a matching ddm template could not be found
-
findByG_C_C_T_M_PrevAndNext
public static 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 foundNoSuchTemplateException
-
filterFindByG_C_C_T_M
public static 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchTemplateException
-
removeByG_C_C_T_M
public static 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.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pktype- the typemode- the mode
-
countByG_C_C_T_M
public static 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 = ?.- 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
public static 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 = ?.- 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
public static DDMTemplate findByERC_G(String externalReferenceCode, long groupId) throws NoSuchTemplateException Returns the ddm template where externalReferenceCode = ? and groupId = ? or throws aNoSuchTemplateExceptionif 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 foundNoSuchTemplateException
-
fetchByERC_G
Returns the ddm template where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching ddm template, or
nullif a matching ddm template could not be found
-
fetchByERC_G
public static DDMTemplate fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the ddm template where externalReferenceCode = ? and groupId = ? or returnsnullif 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
nullif a matching ddm template could not be found
-
removeByERC_G
public static 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 foundNoSuchTemplateException
-
updateImpl
-
findByPrimaryKey
Returns the ddm template with the primary key or throws aNoSuchTemplateExceptionif 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 foundNoSuchTemplateException
-
fetchByPrimaryKey
Returns the ddm template with the primary key or returnsnullif it could not be found.- Parameters:
templateId- the primary key of the ddm template- Returns:
- the ddm template, or
nullif a ddm template with the primary key could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static void removeAll()Removes all the ddm templates from the database. -
countAll
public static int countAll()Returns the number of ddm templates.- Returns:
- the number of ddm templates
-
getPersistence
-
setPersistence
-