@ProviderType public interface DDMTemplatePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMTemplate>
Caching information and settings can be found in portal.properties
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMTemplatePersistenceImpl
,
DDMTemplateUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DDMTemplate ddmTemplate)
Caches the ddm template in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DDMTemplate> ddmTemplates)
Caches the ddm templates in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of ddm templates.
|
int |
countByC_C_T(long classNameId,
long classPK,
java.lang.String type)
Returns the number of ddm templates where classNameId = ? and classPK = ? and type = ?.
|
int |
countByClassPK(long classPK)
Returns the number of ddm templates where classPK = ?.
|
int |
countByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode)
Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
int |
countByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
int |
countByG_C_C(long[] groupIds,
long classNameId,
long classPK)
Returns the number of ddm templates where groupId = any ? and classNameId = ? and classPK = ?.
|
int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ?.
|
int |
countByG_C_T(long groupId,
long classNameId,
java.lang.String templateKey)
Returns the number of ddm templates where groupId = ? and classNameId = ? and templateKey = ?.
|
int |
countByG_C(long groupId,
long classNameId)
Returns the number of ddm templates where groupId = ? and classNameId = ?.
|
int |
countByG_CPK(long[] groupIds,
long classPK)
Returns the number of ddm templates where groupId = any ? and classPK = ?.
|
int |
countByG_CPK(long groupId,
long classPK)
Returns the number of ddm templates where groupId = ? and classPK = ?.
|
int |
countByGroupId(long groupId)
Returns the number of ddm templates where groupId = ?.
|
int |
countByLanguage(java.lang.String language)
Returns the number of ddm templates where language = ?.
|
int |
countBySmallImageId(long smallImageId)
Returns the number of ddm templates where smallImageId = ?.
|
int |
countByTemplateKey(java.lang.String templateKey)
Returns the number of ddm templates where templateKey = ?.
|
int |
countByType(java.lang.String type)
Returns the number of ddm templates where type = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of ddm templates where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of ddm templates where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of ddm templates where uuid = ?.
|
DDMTemplate |
create(long templateId)
Creates a new ddm template with the primary key.
|
DDMTemplate |
fetchByC_C_T_First(long classNameId,
long classPK,
java.lang.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 = ?.
|
DDMTemplate |
fetchByC_C_T_Last(long classNameId,
long classPK,
java.lang.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 = ?.
|
DDMTemplate |
fetchByClassPK_First(long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where classPK = ?.
|
DDMTemplate |
fetchByClassPK_Last(long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where classPK = ?.
|
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 = ?.
|
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 = ?.
|
DDMTemplate |
fetchByG_C_C_T_First(long groupId,
long classNameId,
long classPK,
java.lang.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 = ?.
|
DDMTemplate |
fetchByG_C_C_T_Last(long groupId,
long classNameId,
long classPK,
java.lang.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 = ?.
|
DDMTemplate |
fetchByG_C_C_T_M_First(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.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 = ?.
|
DDMTemplate |
fetchByG_C_C_T_M_Last(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.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 = ?.
|
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 = ?.
|
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 = ?.
|
DDMTemplate |
fetchByG_C_T(long groupId,
long classNameId,
java.lang.String templateKey)
Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or returns
null if it could not be found. |
DDMTemplate |
fetchByG_C_T(long groupId,
long classNameId,
java.lang.String templateKey,
boolean retrieveFromCache)
Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
DDMTemplate |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where groupId = ?.
|
DDMTemplate |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where groupId = ?.
|
DDMTemplate |
fetchByLanguage_First(java.lang.String language,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where language = ?.
|
DDMTemplate |
fetchByLanguage_Last(java.lang.String language,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where language = ?.
|
DDMTemplate |
fetchByPrimaryKey(long templateId)
Returns the ddm template with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,DDMTemplate> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
DDMTemplate |
fetchBySmallImageId(long smallImageId)
Returns the ddm template where smallImageId = ? or returns
null if it could not be found. |
DDMTemplate |
fetchBySmallImageId(long smallImageId,
boolean retrieveFromCache)
Returns the ddm template where smallImageId = ? or returns
null if it could not be found, optionally using the finder cache. |
DDMTemplate |
fetchByTemplateKey_First(java.lang.String templateKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where templateKey = ?.
|
DDMTemplate |
fetchByTemplateKey_Last(java.lang.String templateKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where templateKey = ?.
|
DDMTemplate |
fetchByType_First(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where type = ?.
|
DDMTemplate |
fetchByType_Last(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where type = ?.
|
DDMTemplate |
fetchByUuid_C_First(java.lang.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 = ?.
|
DDMTemplate |
fetchByUuid_C_Last(java.lang.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 = ?.
|
DDMTemplate |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where uuid = ?.
|
DDMTemplate |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the ddm template where uuid = ? and groupId = ? or returns
null if it could not be found. |
DDMTemplate |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the ddm template where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
DDMTemplate |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where uuid = ?.
|
int |
filterCountByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode)
Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
int |
filterCountByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
int |
filterCountByG_C_C(long[] groupIds,
long classNameId,
long classPK)
Returns the number of ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?.
|
int |
filterCountByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
|
int |
filterCountByG_C(long groupId,
long classNameId)
Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ?.
|
int |
filterCountByG_CPK(long[] groupIds,
long classPK)
Returns the number of ddm templates that the user has permission to view where groupId = any ? and classPK = ?.
|
int |
filterCountByG_CPK(long groupId,
long classPK)
Returns the number of ddm templates that the user has permission to view where groupId = ? and classPK = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of ddm templates that the user has permission to view where groupId = ?.
|
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 = ?.
|
DDMTemplate[] |
filterFindByG_C_C_T_M_PrevAndNext(long templateId,
long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
filterFindByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode)
Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
java.util.List<DDMTemplate> |
filterFindByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
filterFindByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.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 = ?.
|
DDMTemplate[] |
filterFindByG_C_C_T_PrevAndNext(long templateId,
long groupId,
long classNameId,
long classPK,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
filterFindByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
java.util.List<DDMTemplate> |
filterFindByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
filterFindByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
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 = ?.
|
java.util.List<DDMTemplate> |
filterFindByG_C(long groupId,
long classNameId)
Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.List<DDMTemplate> |
filterFindByG_CPK(long groupId,
long classPK)
Returns all the ddm templates that the user has permission to view where groupId = ? and classPK = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
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 = ?.
|
java.util.List<DDMTemplate> |
filterFindByGroupId(long groupId)
Returns all the ddm templates that the user has permission to view where groupId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.List<DDMTemplate> |
findAll()
Returns all the ddm templates.
|
java.util.List<DDMTemplate> |
findAll(int start,
int end)
Returns a range of all the ddm templates.
|
java.util.List<DDMTemplate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns an ordered range of all the ddm templates.
|
java.util.List<DDMTemplate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates.
|
DDMTemplate |
findByC_C_T_First(long classNameId,
long classPK,
java.lang.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 = ?.
|
DDMTemplate |
findByC_C_T_Last(long classNameId,
long classPK,
java.lang.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 = ?.
|
DDMTemplate[] |
findByC_C_T_PrevAndNext(long templateId,
long classNameId,
long classPK,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByC_C_T(long classNameId,
long classPK,
java.lang.String type)
Returns all the ddm templates where classNameId = ? and classPK = ? and type = ?.
|
java.util.List<DDMTemplate> |
findByC_C_T(long classNameId,
long classPK,
java.lang.String type,
int start,
int end)
Returns a range of all the ddm templates where classNameId = ? and classPK = ? and type = ?.
|
java.util.List<DDMTemplate> |
findByC_C_T(long classNameId,
long classPK,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByC_C_T(long classNameId,
long classPK,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where classNameId = ? and classPK = ? and type = ?.
|
DDMTemplate |
findByClassPK_First(long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where classPK = ?.
|
DDMTemplate |
findByClassPK_Last(long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where classPK = ?.
|
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 = ?.
|
java.util.List<DDMTemplate> |
findByClassPK(long classPK)
Returns all the ddm templates where classPK = ?.
|
java.util.List<DDMTemplate> |
findByClassPK(long classPK,
int start,
int end)
Returns a range of all the ddm templates where classPK = ?.
|
java.util.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 = ?.
|
java.util.List<DDMTemplate> |
findByClassPK(long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where classPK = ?.
|
DDMTemplate |
findByG_C_C_First(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
DDMTemplate |
findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
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 = ?.
|
DDMTemplate |
findByG_C_C_T_First(long groupId,
long classNameId,
long classPK,
java.lang.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 = ?.
|
DDMTemplate |
findByG_C_C_T_Last(long groupId,
long classNameId,
long classPK,
java.lang.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 = ?.
|
DDMTemplate |
findByG_C_C_T_M_First(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.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 = ?.
|
DDMTemplate |
findByG_C_C_T_M_Last(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.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 = ?.
|
DDMTemplate[] |
findByG_C_C_T_M_PrevAndNext(long templateId,
long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode)
Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
java.util.List<DDMTemplate> |
findByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode,
int start,
int end)
Returns a range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
java.util.List<DDMTemplate> |
findByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
DDMTemplate[] |
findByG_C_C_T_PrevAndNext(long templateId,
long groupId,
long classNameId,
long classPK,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
java.util.List<DDMTemplate> |
findByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type,
int start,
int end)
Returns a range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
java.util.List<DDMTemplate> |
findByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
java.util.List<DDMTemplate> |
findByG_C_C(long[] groupIds,
long classNameId,
long classPK)
Returns all the ddm templates where groupId = any ? and classNameId = ? and classPK = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.List<DDMTemplate> |
findByG_C_C(long[] groupIds,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?, optionally using the finder cache.
|
java.util.List<DDMTemplate> |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.List<DDMTemplate> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?.
|
DDMTemplate |
findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where groupId = ? and classNameId = ?.
|
DDMTemplate |
findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where groupId = ? and classNameId = ?.
|
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 = ?.
|
DDMTemplate |
findByG_C_T(long groupId,
long classNameId,
java.lang.String templateKey)
Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or throws a
NoSuchTemplateException if it could not be found. |
java.util.List<DDMTemplate> |
findByG_C(long groupId,
long classNameId)
Returns all the ddm templates where groupId = ? and classNameId = ?.
|
java.util.List<DDMTemplate> |
findByG_C(long groupId,
long classNameId,
int start,
int end)
Returns a range of all the ddm templates where groupId = ? and classNameId = ?.
|
java.util.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 = ?.
|
java.util.List<DDMTemplate> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ?.
|
DDMTemplate |
findByG_CPK_First(long groupId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where groupId = ? and classPK = ?.
|
DDMTemplate |
findByG_CPK_Last(long groupId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where groupId = ? and classPK = ?.
|
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 = ?.
|
java.util.List<DDMTemplate> |
findByG_CPK(long[] groupIds,
long classPK)
Returns all the ddm templates where groupId = any ? and classPK = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.List<DDMTemplate> |
findByG_CPK(long[] groupIds,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where groupId = ? and classPK = ?, optionally using the finder cache.
|
java.util.List<DDMTemplate> |
findByG_CPK(long groupId,
long classPK)
Returns all the ddm templates where groupId = ? and classPK = ?.
|
java.util.List<DDMTemplate> |
findByG_CPK(long groupId,
long classPK,
int start,
int end)
Returns a range of all the ddm templates where groupId = ? and classPK = ?.
|
java.util.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 = ?.
|
java.util.List<DDMTemplate> |
findByG_CPK(long groupId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where groupId = ? and classPK = ?.
|
DDMTemplate |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where groupId = ?.
|
DDMTemplate |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where groupId = ?.
|
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 = ?.
|
java.util.List<DDMTemplate> |
findByGroupId(long groupId)
Returns all the ddm templates where groupId = ?.
|
java.util.List<DDMTemplate> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the ddm templates where groupId = ?.
|
java.util.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 = ?.
|
java.util.List<DDMTemplate> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where groupId = ?.
|
DDMTemplate |
findByLanguage_First(java.lang.String language,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where language = ?.
|
DDMTemplate |
findByLanguage_Last(java.lang.String language,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where language = ?.
|
DDMTemplate[] |
findByLanguage_PrevAndNext(long templateId,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByLanguage(java.lang.String language)
Returns all the ddm templates where language = ?.
|
java.util.List<DDMTemplate> |
findByLanguage(java.lang.String language,
int start,
int end)
Returns a range of all the ddm templates where language = ?.
|
java.util.List<DDMTemplate> |
findByLanguage(java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByLanguage(java.lang.String language,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where language = ?.
|
DDMTemplate |
findByPrimaryKey(long templateId)
Returns the ddm template with the primary key or throws a
NoSuchTemplateException if it could not be found. |
DDMTemplate |
findBySmallImageId(long smallImageId)
Returns the ddm template where smallImageId = ? or throws a
NoSuchTemplateException if it could not be found. |
DDMTemplate |
findByTemplateKey_First(java.lang.String templateKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where templateKey = ?.
|
DDMTemplate |
findByTemplateKey_Last(java.lang.String templateKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where templateKey = ?.
|
DDMTemplate[] |
findByTemplateKey_PrevAndNext(long templateId,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByTemplateKey(java.lang.String templateKey)
Returns all the ddm templates where templateKey = ?.
|
java.util.List<DDMTemplate> |
findByTemplateKey(java.lang.String templateKey,
int start,
int end)
Returns a range of all the ddm templates where templateKey = ?.
|
java.util.List<DDMTemplate> |
findByTemplateKey(java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByTemplateKey(java.lang.String templateKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where templateKey = ?.
|
DDMTemplate |
findByType_First(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where type = ?.
|
DDMTemplate |
findByType_Last(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where type = ?.
|
DDMTemplate[] |
findByType_PrevAndNext(long templateId,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByType(java.lang.String type)
Returns all the ddm templates where type = ?.
|
java.util.List<DDMTemplate> |
findByType(java.lang.String type,
int start,
int end)
Returns a range of all the ddm templates where type = ?.
|
java.util.List<DDMTemplate> |
findByType(java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByType(java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where type = ?.
|
DDMTemplate |
findByUuid_C_First(java.lang.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 = ?.
|
DDMTemplate |
findByUuid_C_Last(java.lang.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 = ?.
|
DDMTemplate[] |
findByUuid_C_PrevAndNext(long templateId,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the ddm templates where uuid = ? and companyId = ?.
|
java.util.List<DDMTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the ddm templates where uuid = ? and companyId = ?.
|
java.util.List<DDMTemplate> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where uuid = ? and companyId = ?.
|
DDMTemplate |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the first ddm template in the ordered set where uuid = ?.
|
DDMTemplate |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the ddm template where uuid = ? and groupId = ? or throws a
NoSuchTemplateException if it could not be found. |
DDMTemplate |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Returns the last ddm template in the ordered set where uuid = ?.
|
DDMTemplate[] |
findByUuid_PrevAndNext(long templateId,
java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByUuid(java.lang.String uuid)
Returns all the ddm templates where uuid = ?.
|
java.util.List<DDMTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the ddm templates where uuid = ?.
|
java.util.List<DDMTemplate> |
findByUuid(java.lang.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 = ?.
|
java.util.List<DDMTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm templates where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
DDMTemplate |
remove(long templateId)
Removes the ddm template with the primary key from the database.
|
void |
removeAll()
Removes all the ddm templates from the database.
|
void |
removeByC_C_T(long classNameId,
long classPK,
java.lang.String type)
Removes all the ddm templates where classNameId = ? and classPK = ? and type = ? from the database.
|
void |
removeByClassPK(long classPK)
Removes all the ddm templates where classPK = ? from the database.
|
void |
removeByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode)
Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ? from the database.
|
void |
removeByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? from the database.
|
void |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? from the database.
|
DDMTemplate |
removeByG_C_T(long groupId,
long classNameId,
java.lang.String templateKey)
Removes the ddm template where groupId = ? and classNameId = ? and templateKey = ? from the database.
|
void |
removeByG_C(long groupId,
long classNameId)
Removes all the ddm templates where groupId = ? and classNameId = ? from the database.
|
void |
removeByG_CPK(long groupId,
long classPK)
Removes all the ddm templates where groupId = ? and classPK = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the ddm templates where groupId = ? from the database.
|
void |
removeByLanguage(java.lang.String language)
Removes all the ddm templates where language = ? from the database.
|
DDMTemplate |
removeBySmallImageId(long smallImageId)
Removes the ddm template where smallImageId = ? from the database.
|
void |
removeByTemplateKey(java.lang.String templateKey)
Removes all the ddm templates where templateKey = ? from the database.
|
void |
removeByType(java.lang.String type)
Removes all the ddm templates where type = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the ddm templates where uuid = ? and companyId = ? from the database.
|
DDMTemplate |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the ddm template where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the ddm templates where uuid = ? from the database.
|
DDMTemplate |
updateImpl(DDMTemplate ddmTemplate) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<DDMTemplate> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<DDMTemplate> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)java.util.List<DDMTemplate> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByUuid_PrevAndNext(long templateId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateId
- the primary key of the current ddm templateuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidDDMTemplate findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchTemplateException
NoSuchTemplateException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching ddm template could not be foundDDMTemplate fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching ddm template could not be foundDDMTemplate removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchTemplateException
uuid
- the uuidgroupId
- the group IDNoSuchTemplateException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<DDMTemplate> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<DDMTemplate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByUuid_C_PrevAndNext(long templateId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateId
- the primary key of the current ddm templateuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<DDMTemplate> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<DDMTemplate> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)java.util.List<DDMTemplate> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByGroupId_PrevAndNext(long templateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateId
- the primary key of the current ddm templategroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundjava.util.List<DDMTemplate> filterFindByGroupId(long groupId)
groupId
- the group IDjava.util.List<DDMTemplate> filterFindByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)java.util.List<DDMTemplate> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)DDMTemplate[] filterFindByGroupId_PrevAndNext(long templateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateId
- the primary key of the current ddm templategroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDint filterCountByGroupId(long groupId)
groupId
- the group IDjava.util.List<DDMTemplate> findByClassPK(long classPK)
classPK
- the class pkjava.util.List<DDMTemplate> findByClassPK(long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classPK
- the class pkstart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)java.util.List<DDMTemplate> findByClassPK(long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByClassPK(long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByClassPK_First(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
classPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByClassPK_First(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
classPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByClassPK_Last(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
classPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByClassPK_Last(long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
classPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByClassPK_PrevAndNext(long templateId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateId
- the primary key of the current ddm templateclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundvoid removeByClassPK(long classPK)
classPK
- the class pkint countByClassPK(long classPK)
classPK
- the class pkjava.util.List<DDMTemplate> findByTemplateKey(java.lang.String templateKey)
templateKey
- the template keyjava.util.List<DDMTemplate> findByTemplateKey(java.lang.String templateKey, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
templateKey
- the template keystart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)java.util.List<DDMTemplate> findByTemplateKey(java.lang.String templateKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByTemplateKey(java.lang.String templateKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByTemplateKey_First(java.lang.String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateKey
- the template keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByTemplateKey_First(java.lang.String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
templateKey
- the template keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByTemplateKey_Last(java.lang.String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateKey
- the template keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByTemplateKey_Last(java.lang.String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
templateKey
- the template keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByTemplateKey_PrevAndNext(long templateId, java.lang.String templateKey, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateId
- the primary key of the current ddm templatetemplateKey
- the template keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundvoid removeByTemplateKey(java.lang.String templateKey)
templateKey
- the template keyint countByTemplateKey(java.lang.String templateKey)
templateKey
- the template keyjava.util.List<DDMTemplate> findByType(java.lang.String type)
type
- the typejava.util.List<DDMTemplate> findByType(java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
type
- the typestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)java.util.List<DDMTemplate> findByType(java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByType(java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByType_First(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByType_First(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByType_Last(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByType_Last(java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByType_PrevAndNext(long templateId, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateId
- the primary key of the current ddm templatetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundvoid removeByType(java.lang.String type)
type
- the typeint countByType(java.lang.String type)
type
- the typejava.util.List<DDMTemplate> findByLanguage(java.lang.String language)
language
- the languagejava.util.List<DDMTemplate> findByLanguage(java.lang.String language, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
language
- the languagestart
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)java.util.List<DDMTemplate> findByLanguage(java.lang.String language, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByLanguage(java.lang.String language, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByLanguage_First(java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
language
- the languageorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByLanguage_First(java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
language
- the languageorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByLanguage_Last(java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
language
- the languageorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByLanguage_Last(java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
language
- the languageorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByLanguage_PrevAndNext(long templateId, java.lang.String language, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateId
- the primary key of the current ddm templatelanguage
- the languageorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundvoid removeByLanguage(java.lang.String language)
language
- the languageint countByLanguage(java.lang.String language)
language
- the languageDDMTemplate findBySmallImageId(long smallImageId) throws NoSuchTemplateException
NoSuchTemplateException
if it could not be found.smallImageId
- the small image IDNoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchBySmallImageId(long smallImageId)
null
if it could not be found. Uses the finder cache.smallImageId
- the small image IDnull
if a matching ddm template could not be foundDDMTemplate fetchBySmallImageId(long smallImageId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.smallImageId
- the small image IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching ddm template could not be foundDDMTemplate removeBySmallImageId(long smallImageId) throws NoSuchTemplateException
smallImageId
- the small image IDNoSuchTemplateException
int countBySmallImageId(long smallImageId)
smallImageId
- the small image IDjava.util.List<DDMTemplate> findByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDjava.util.List<DDMTemplate> findByG_C(long groupId, long classNameId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByG_C_PrevAndNext(long templateId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateId
- the primary key of the current ddm templategroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundjava.util.List<DDMTemplate> filterFindByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDjava.util.List<DDMTemplate> filterFindByG_C(long groupId, long classNameId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> filterFindByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)DDMTemplate[] filterFindByG_C_PrevAndNext(long templateId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateId
- the primary key of the current ddm templategroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundvoid removeByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDint countByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDint filterCountByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDjava.util.List<DDMTemplate> findByG_CPK(long groupId, long classPK)
groupId
- the group IDclassPK
- the class pkjava.util.List<DDMTemplate> findByG_CPK(long groupId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> findByG_CPK(long groupId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByG_CPK(long groupId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByG_CPK_First(long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
groupId
- the group IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByG_CPK_First(long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
groupId
- the group IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByG_CPK_Last(long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
groupId
- the group IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByG_CPK_Last(long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
groupId
- the group IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByG_CPK_PrevAndNext(long templateId, long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateId
- the primary key of the current ddm templategroupId
- the group IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundjava.util.List<DDMTemplate> filterFindByG_CPK(long groupId, long classPK)
groupId
- the group IDclassPK
- the class pkjava.util.List<DDMTemplate> filterFindByG_CPK(long groupId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> filterFindByG_CPK(long groupId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)DDMTemplate[] filterFindByG_CPK_PrevAndNext(long templateId, long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
templateId
- the primary key of the current ddm templategroupId
- the group IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundjava.util.List<DDMTemplate> filterFindByG_CPK(long[] groupIds, long classPK)
groupIds
- the group IDsclassPK
- the class pkjava.util.List<DDMTemplate> filterFindByG_CPK(long[] groupIds, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> filterFindByG_CPK(long[] groupIds, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByG_CPK(long[] groupIds, long classPK)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsclassPK
- the class pkjava.util.List<DDMTemplate> findByG_CPK(long[] groupIds, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> findByG_CPK(long[] groupIds, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByG_CPK(long[] groupIds, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeByG_CPK(long groupId, long classPK)
groupId
- the group IDclassPK
- the class pkint countByG_CPK(long groupId, long classPK)
groupId
- the group IDclassPK
- the class pkint countByG_CPK(long[] groupIds, long classPK)
groupIds
- the group IDsclassPK
- the class pkint filterCountByG_CPK(long groupId, long classPK)
groupId
- the group IDclassPK
- the class pkint filterCountByG_CPK(long[] groupIds, long classPK)
groupIds
- the group IDsclassPK
- the class pkjava.util.List<DDMTemplate> findByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkjava.util.List<DDMTemplate> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByG_C_C_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
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 (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundjava.util.List<DDMTemplate> filterFindByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkjava.util.List<DDMTemplate> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)DDMTemplate[] filterFindByG_C_C_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
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 (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundjava.util.List<DDMTemplate> filterFindByG_C_C(long[] groupIds, long classNameId, long classPK)
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pkjava.util.List<DDMTemplate> filterFindByG_C_C(long[] groupIds, long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> filterFindByG_C_C(long[] groupIds, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByG_C_C(long[] groupIds, long classNameId, long classPK)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pkjava.util.List<DDMTemplate> findByG_C_C(long[] groupIds, long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> findByG_C_C(long[] groupIds, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByG_C_C(long[] groupIds, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkint countByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkint countByG_C_C(long[] groupIds, long classNameId, long classPK)
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pkint filterCountByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkint filterCountByG_C_C(long[] groupIds, long classNameId, long classPK)
groupIds
- the group IDsclassNameId
- the class name IDclassPK
- the class pkDDMTemplate findByG_C_T(long groupId, long classNameId, java.lang.String templateKey) throws NoSuchTemplateException
NoSuchTemplateException
if it could not be found.groupId
- the group IDclassNameId
- the class name IDtemplateKey
- the template keyNoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByG_C_T(long groupId, long classNameId, java.lang.String templateKey)
null
if it could not be found. Uses the finder cache.groupId
- the group IDclassNameId
- the class name IDtemplateKey
- the template keynull
if a matching ddm template could not be foundDDMTemplate fetchByG_C_T(long groupId, long classNameId, java.lang.String templateKey, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDclassNameId
- the class name IDtemplateKey
- the template keyretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching ddm template could not be foundDDMTemplate removeByG_C_T(long groupId, long classNameId, java.lang.String templateKey) throws NoSuchTemplateException
groupId
- the group IDclassNameId
- the class name IDtemplateKey
- the template keyNoSuchTemplateException
int countByG_C_T(long groupId, long classNameId, java.lang.String templateKey)
groupId
- the group IDclassNameId
- the class name IDtemplateKey
- the template keyjava.util.List<DDMTemplate> findByC_C_T(long classNameId, long classPK, java.lang.String type)
classNameId
- the class name IDclassPK
- the class pktype
- the typejava.util.List<DDMTemplate> findByC_C_T(long classNameId, long classPK, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> findByC_C_T(long classNameId, long classPK, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByC_C_T(long classNameId, long classPK, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByC_C_T_First(long classNameId, long classPK, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByC_C_T_First(long classNameId, long classPK, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByC_C_T_Last(long classNameId, long classPK, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByC_C_T_Last(long classNameId, long classPK, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
classNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByC_C_T_PrevAndNext(long templateId, long classNameId, long classPK, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
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 (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundvoid removeByC_C_T(long classNameId, long classPK, java.lang.String type)
classNameId
- the class name IDclassPK
- the class pktype
- the typeint countByC_C_T(long classNameId, long classPK, java.lang.String type)
classNameId
- the class name IDclassPK
- the class pktype
- the typejava.util.List<DDMTemplate> findByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typejava.util.List<DDMTemplate> findByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> findByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByG_C_C_T_First(long groupId, long classNameId, long classPK, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByG_C_C_T_First(long groupId, long classNameId, long classPK, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByG_C_C_T_Last(long groupId, long classNameId, long classPK, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByG_C_C_T_Last(long groupId, long classNameId, long classPK, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByG_C_C_T_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
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 (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundjava.util.List<DDMTemplate> filterFindByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typejava.util.List<DDMTemplate> filterFindByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> filterFindByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)DDMTemplate[] filterFindByG_C_C_T_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
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 (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundvoid removeByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeint countByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeint filterCountByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typejava.util.List<DDMTemplate> findByG_C_C_T_M(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modejava.util.List<DDMTemplate> findByG_C_C_T_M(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> findByG_C_C_T_M(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findByG_C_C_T_M(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDDMTemplate findByG_C_C_T_M_First(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByG_C_C_T_M_First(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate findByG_C_C_T_M_Last(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTemplateException
- if a matching ddm template could not be foundDDMTemplate fetchByG_C_C_T_M_Last(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm template could not be foundDDMTemplate[] findByG_C_C_T_M_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
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 (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundjava.util.List<DDMTemplate> filterFindByG_C_C_T_M(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modejava.util.List<DDMTemplate> filterFindByG_C_C_T_M(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<DDMTemplate> filterFindByG_C_C_T_M(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)DDMTemplate[] filterFindByG_C_C_T_M_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator) throws NoSuchTemplateException
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 (optionally null
)NoSuchTemplateException
- if a ddm template with the primary key could not be foundvoid removeByG_C_C_T_M(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modeint countByG_C_C_T_M(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modeint filterCountByG_C_C_T_M(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typemode
- the modevoid cacheResult(DDMTemplate ddmTemplate)
ddmTemplate
- the ddm templatevoid cacheResult(java.util.List<DDMTemplate> ddmTemplates)
ddmTemplates
- the ddm templatesDDMTemplate create(long templateId)
templateId
- the primary key for the new ddm templateDDMTemplate remove(long templateId) throws NoSuchTemplateException
templateId
- the primary key of the ddm templateNoSuchTemplateException
- if a ddm template with the primary key could not be foundDDMTemplate updateImpl(DDMTemplate ddmTemplate)
DDMTemplate findByPrimaryKey(long templateId) throws NoSuchTemplateException
NoSuchTemplateException
if it could not be found.templateId
- the primary key of the ddm templateNoSuchTemplateException
- if a ddm template with the primary key could not be foundDDMTemplate fetchByPrimaryKey(long templateId)
null
if it could not be found.templateId
- the primary key of the ddm templatenull
if a ddm template with the primary key could not be foundjava.util.Map<java.io.Serializable,DDMTemplate> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<DDMTemplate>
java.util.List<DDMTemplate> findAll()
java.util.List<DDMTemplate> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of ddm templatesend
- the upper bound of the range of ddm templates (not inclusive)java.util.List<DDMTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<DDMTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplate> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<DDMTemplate>