@ProviderType
public class DDMTemplateUtil
extends java.lang.Object
DDMTemplatePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DDMTemplatePersistence,
DDMTemplatePersistenceImpl| Constructor and Description |
|---|
DDMTemplateUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(DDMTemplate ddmTemplate)
Caches the d d m template in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DDMTemplate> ddmTemplates)
Caches the d d m templates in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DDMTemplate ddmTemplate) |
static int |
countAll()
Returns the number of d d m templates.
|
static int |
countByC_C_T(long classNameId,
long classPK,
java.lang.String type)
Returns the number of d d m templates where classNameId = ? and classPK = ? and type = ?.
|
static int |
countByClassPK(long classPK)
Returns the number of d d m templates where classPK = ?.
|
static int |
countByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode)
Returns the number of d d m templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static int |
countByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
Returns the number of d d m templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of d d m templates where groupId = ? and classNameId = ? and classPK = ?.
|
static int |
countByG_C_T(long groupId,
long classNameId,
java.lang.String templateKey)
Returns the number of d d m templates where groupId = ? and classNameId = ? and templateKey = ?.
|
static int |
countByG_C(long groupId,
long classNameId)
Returns the number of d d m templates where groupId = ? and classNameId = ?.
|
static int |
countByG_CPK(long[] groupIds,
long classPK)
Returns the number of d d m templates where groupId = any ? and classPK = ?.
|
static int |
countByG_CPK(long groupId,
long classPK)
Returns the number of d d m templates where groupId = ? and classPK = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of d d m templates where groupId = ?.
|
static int |
countByLanguage(java.lang.String language)
Returns the number of d d m templates where language = ?.
|
static int |
countBySmallImageId(long smallImageId)
Returns the number of d d m templates where smallImageId = ?.
|
static int |
countByTemplateKey(java.lang.String templateKey)
Returns the number of d d m templates where templateKey = ?.
|
static int |
countByType(java.lang.String type)
Returns the number of d d m templates where type = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of d d m templates where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of d d m templates where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of d d m templates where uuid = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static DDMTemplate |
create(long templateId)
Creates a new d d m template with the primary key.
|
static DDMTemplate |
fetchByC_C_T_First(long classNameId,
long classPK,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where classNameId = ? and classPK = ? and type = ?.
|
static DDMTemplate |
fetchByC_C_T_Last(long classNameId,
long classPK,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where classNameId = ? and classPK = ? and type = ?.
|
static DDMTemplate |
fetchByClassPK_First(long classPK,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where classPK = ?.
|
static DDMTemplate |
fetchByClassPK_Last(long classPK,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where classPK = ?.
|
static DDMTemplate |
fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static DDMTemplate |
fetchByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static DDMTemplate |
fetchByG_C_C_T_First(long groupId,
long classNameId,
long classPK,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static DDMTemplate |
fetchByG_C_C_T_Last(long groupId,
long classNameId,
long classPK,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static DDMTemplate |
fetchByG_C_C_T_M_First(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static DDMTemplate |
fetchByG_C_C_T_M_Last(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static DDMTemplate |
fetchByG_C_First(long groupId,
long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ? and classNameId = ?.
|
static DDMTemplate |
fetchByG_C_Last(long groupId,
long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ? and classNameId = ?.
|
static DDMTemplate |
fetchByG_C_T(long groupId,
long classNameId,
java.lang.String templateKey)
Returns the d d m template where groupId = ? and classNameId = ? and templateKey = ? or returns
null if it could not be found. |
static DDMTemplate |
fetchByG_C_T(long groupId,
long classNameId,
java.lang.String templateKey,
boolean retrieveFromCache)
Returns the d d m template where groupId = ? and classNameId = ? and templateKey = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMTemplate |
fetchByG_CPK_First(long groupId,
long classPK,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ? and classPK = ?.
|
static DDMTemplate |
fetchByG_CPK_Last(long groupId,
long classPK,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ? and classPK = ?.
|
static DDMTemplate |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ?.
|
static DDMTemplate |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ?.
|
static DDMTemplate |
fetchByLanguage_First(java.lang.String language,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where language = ?.
|
static DDMTemplate |
fetchByLanguage_Last(java.lang.String language,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where language = ?.
|
static DDMTemplate |
fetchByPrimaryKey(long templateId)
Returns the d d m template with the primary key or returns
null if it could not be found. |
static DDMTemplate |
fetchBySmallImageId(long smallImageId)
Returns the d d m template where smallImageId = ? or returns
null if it could not be found. |
static DDMTemplate |
fetchBySmallImageId(long smallImageId,
boolean retrieveFromCache)
Returns the d d m template where smallImageId = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMTemplate |
fetchByTemplateKey_First(java.lang.String templateKey,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where templateKey = ?.
|
static DDMTemplate |
fetchByTemplateKey_Last(java.lang.String templateKey,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where templateKey = ?.
|
static DDMTemplate |
fetchByType_First(java.lang.String type,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where type = ?.
|
static DDMTemplate |
fetchByType_Last(java.lang.String type,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where type = ?.
|
static DDMTemplate |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where uuid = ? and companyId = ?.
|
static DDMTemplate |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where uuid = ? and companyId = ?.
|
static DDMTemplate |
fetchByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where uuid = ?.
|
static DDMTemplate |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the d d m template where uuid = ? and groupId = ? or returns
null if it could not be found. |
static DDMTemplate |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the d d m template where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMTemplate |
fetchByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where uuid = ?.
|
static int |
filterCountByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode)
Returns the number of d d m templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static int |
filterCountByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
Returns the number of d d m templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static int |
filterCountByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of d d m templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
|
static int |
filterCountByG_C(long groupId,
long classNameId)
Returns the number of d d m templates that the user has permission to view where groupId = ? and classNameId = ?.
|
static int |
filterCountByG_CPK(long[] groupIds,
long classPK)
Returns the number of d d m templates that the user has permission to view where groupId = any ? and classPK = ?.
|
static int |
filterCountByG_CPK(long groupId,
long classPK)
Returns the number of d d m templates that the user has permission to view where groupId = ? and classPK = ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of d d m templates that the user has permission to view where groupId = ?.
|
static DDMTemplate[] |
filterFindByG_C_C_PrevAndNext(long templateId,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set of d d m templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
|
static DDMTemplate[] |
filterFindByG_C_C_T_M_PrevAndNext(long templateId,
long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set of d d m templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static 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 d d m templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static 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 d d m templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static 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,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static DDMTemplate[] |
filterFindByG_C_C_T_PrevAndNext(long templateId,
long groupId,
long classNameId,
long classPK,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set of d d m templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
Returns all the d d m templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static 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 d d m templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the d d m templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the d d m templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?.
|
static DDMTemplate[] |
filterFindByG_C_PrevAndNext(long templateId,
long groupId,
long classNameId,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set of d d m templates that the user has permission to view where groupId = ? and classNameId = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_C(long groupId,
long classNameId)
Returns all the d d m templates that the user has permission to view where groupId = ? and classNameId = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_C(long groupId,
long classNameId,
int start,
int end)
Returns a range of all the d d m templates that the user has permission to view where groupId = ? and classNameId = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_C(long groupId,
long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates that the user has permissions to view where groupId = ? and classNameId = ?.
|
static DDMTemplate[] |
filterFindByG_CPK_PrevAndNext(long templateId,
long groupId,
long classPK,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set of d d m templates that the user has permission to view where groupId = ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_CPK(long[] groupIds,
long classPK)
Returns all the d d m templates that the user has permission to view where groupId = any ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_CPK(long[] groupIds,
long classPK,
int start,
int end)
Returns a range of all the d d m templates that the user has permission to view where groupId = any ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_CPK(long[] groupIds,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates that the user has permission to view where groupId = any ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_CPK(long groupId,
long classPK)
Returns all the d d m templates that the user has permission to view where groupId = ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_CPK(long groupId,
long classPK,
int start,
int end)
Returns a range of all the d d m templates that the user has permission to view where groupId = ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
filterFindByG_CPK(long groupId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates that the user has permissions to view where groupId = ? and classPK = ?.
|
static DDMTemplate[] |
filterFindByGroupId_PrevAndNext(long templateId,
long groupId,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set of d d m templates that the user has permission to view where groupId = ?.
|
static java.util.List<DDMTemplate> |
filterFindByGroupId(long groupId)
Returns all the d d m templates that the user has permission to view where groupId = ?.
|
static java.util.List<DDMTemplate> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the d d m templates that the user has permission to view where groupId = ?.
|
static java.util.List<DDMTemplate> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates that the user has permissions to view where groupId = ?.
|
static java.util.List<DDMTemplate> |
findAll()
Returns all the d d m templates.
|
static java.util.List<DDMTemplate> |
findAll(int start,
int end)
Returns a range of all the d d m templates.
|
static java.util.List<DDMTemplate> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates.
|
static DDMTemplate |
findByC_C_T_First(long classNameId,
long classPK,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where classNameId = ? and classPK = ? and type = ?.
|
static DDMTemplate |
findByC_C_T_Last(long classNameId,
long classPK,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where classNameId = ? and classPK = ? and type = ?.
|
static DDMTemplate[] |
findByC_C_T_PrevAndNext(long templateId,
long classNameId,
long classPK,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<DDMTemplate> |
findByC_C_T(long classNameId,
long classPK,
java.lang.String type)
Returns all the d d m templates where classNameId = ? and classPK = ? and type = ?.
|
static 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 d d m templates where classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<DDMTemplate> |
findByC_C_T(long classNameId,
long classPK,
java.lang.String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where classNameId = ? and classPK = ? and type = ?.
|
static DDMTemplate |
findByClassPK_First(long classPK,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where classPK = ?.
|
static DDMTemplate |
findByClassPK_Last(long classPK,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where classPK = ?.
|
static DDMTemplate[] |
findByClassPK_PrevAndNext(long templateId,
long classPK,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where classPK = ?.
|
static java.util.List<DDMTemplate> |
findByClassPK(long classPK)
Returns all the d d m templates where classPK = ?.
|
static java.util.List<DDMTemplate> |
findByClassPK(long classPK,
int start,
int end)
Returns a range of all the d d m templates where classPK = ?.
|
static java.util.List<DDMTemplate> |
findByClassPK(long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where classPK = ?.
|
static DDMTemplate |
findByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static DDMTemplate |
findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static DDMTemplate[] |
findByG_C_C_PrevAndNext(long templateId,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static DDMTemplate |
findByG_C_C_T_First(long groupId,
long classNameId,
long classPK,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static DDMTemplate |
findByG_C_C_T_Last(long groupId,
long classNameId,
long classPK,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static DDMTemplate |
findByG_C_C_T_M_First(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static DDMTemplate |
findByG_C_C_T_M_Last(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static DDMTemplate[] |
findByG_C_C_T_M_PrevAndNext(long templateId,
long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static 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 d d m templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static 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 d d m templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static 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,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?.
|
static DDMTemplate[] |
findByG_C_C_T_PrevAndNext(long templateId,
long groupId,
long classNameId,
long classPK,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<DDMTemplate> |
findByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
Returns all the d d m templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static 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 d d m templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<DDMTemplate> |
findByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
static java.util.List<DDMTemplate> |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the d d m templates where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the d d m templates where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where groupId = ? and classNameId = ? and classPK = ?.
|
static DDMTemplate |
findByG_C_First(long groupId,
long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ? and classNameId = ?.
|
static DDMTemplate |
findByG_C_Last(long groupId,
long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ? and classNameId = ?.
|
static DDMTemplate[] |
findByG_C_PrevAndNext(long templateId,
long groupId,
long classNameId,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where groupId = ? and classNameId = ?.
|
static DDMTemplate |
findByG_C_T(long groupId,
long classNameId,
java.lang.String templateKey)
Returns the d d m template where groupId = ? and classNameId = ? and templateKey = ? or throws a
NoSuchTemplateException if it could not be found. |
static java.util.List<DDMTemplate> |
findByG_C(long groupId,
long classNameId)
Returns all the d d m templates where groupId = ? and classNameId = ?.
|
static java.util.List<DDMTemplate> |
findByG_C(long groupId,
long classNameId,
int start,
int end)
Returns a range of all the d d m templates where groupId = ? and classNameId = ?.
|
static java.util.List<DDMTemplate> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where groupId = ? and classNameId = ?.
|
static DDMTemplate |
findByG_CPK_First(long groupId,
long classPK,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ? and classPK = ?.
|
static DDMTemplate |
findByG_CPK_Last(long groupId,
long classPK,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ? and classPK = ?.
|
static DDMTemplate[] |
findByG_CPK_PrevAndNext(long templateId,
long groupId,
long classPK,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where groupId = ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
findByG_CPK(long[] groupIds,
long classPK)
Returns all the d d m templates where groupId = any ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
findByG_CPK(long[] groupIds,
long classPK,
int start,
int end)
Returns a range of all the d d m templates where groupId = any ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
findByG_CPK(long[] groupIds,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where groupId = any ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
findByG_CPK(long groupId,
long classPK)
Returns all the d d m templates where groupId = ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
findByG_CPK(long groupId,
long classPK,
int start,
int end)
Returns a range of all the d d m templates where groupId = ? and classPK = ?.
|
static java.util.List<DDMTemplate> |
findByG_CPK(long groupId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where groupId = ? and classPK = ?.
|
static DDMTemplate |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ?.
|
static DDMTemplate |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ?.
|
static DDMTemplate[] |
findByGroupId_PrevAndNext(long templateId,
long groupId,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where groupId = ?.
|
static java.util.List<DDMTemplate> |
findByGroupId(long groupId)
Returns all the d d m templates where groupId = ?.
|
static java.util.List<DDMTemplate> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the d d m templates where groupId = ?.
|
static java.util.List<DDMTemplate> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where groupId = ?.
|
static DDMTemplate |
findByLanguage_First(java.lang.String language,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where language = ?.
|
static DDMTemplate |
findByLanguage_Last(java.lang.String language,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where language = ?.
|
static DDMTemplate[] |
findByLanguage_PrevAndNext(long templateId,
java.lang.String language,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where language = ?.
|
static java.util.List<DDMTemplate> |
findByLanguage(java.lang.String language)
Returns all the d d m templates where language = ?.
|
static java.util.List<DDMTemplate> |
findByLanguage(java.lang.String language,
int start,
int end)
Returns a range of all the d d m templates where language = ?.
|
static java.util.List<DDMTemplate> |
findByLanguage(java.lang.String language,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where language = ?.
|
static DDMTemplate |
findByPrimaryKey(long templateId)
Returns the d d m template with the primary key or throws a
NoSuchTemplateException if it could not be found. |
static DDMTemplate |
findBySmallImageId(long smallImageId)
Returns the d d m template where smallImageId = ? or throws a
NoSuchTemplateException if it could not be found. |
static DDMTemplate |
findByTemplateKey_First(java.lang.String templateKey,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where templateKey = ?.
|
static DDMTemplate |
findByTemplateKey_Last(java.lang.String templateKey,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where templateKey = ?.
|
static DDMTemplate[] |
findByTemplateKey_PrevAndNext(long templateId,
java.lang.String templateKey,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where templateKey = ?.
|
static java.util.List<DDMTemplate> |
findByTemplateKey(java.lang.String templateKey)
Returns all the d d m templates where templateKey = ?.
|
static java.util.List<DDMTemplate> |
findByTemplateKey(java.lang.String templateKey,
int start,
int end)
Returns a range of all the d d m templates where templateKey = ?.
|
static java.util.List<DDMTemplate> |
findByTemplateKey(java.lang.String templateKey,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where templateKey = ?.
|
static DDMTemplate |
findByType_First(java.lang.String type,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where type = ?.
|
static DDMTemplate |
findByType_Last(java.lang.String type,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where type = ?.
|
static DDMTemplate[] |
findByType_PrevAndNext(long templateId,
java.lang.String type,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where type = ?.
|
static java.util.List<DDMTemplate> |
findByType(java.lang.String type)
Returns all the d d m templates where type = ?.
|
static java.util.List<DDMTemplate> |
findByType(java.lang.String type,
int start,
int end)
Returns a range of all the d d m templates where type = ?.
|
static java.util.List<DDMTemplate> |
findByType(java.lang.String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where type = ?.
|
static DDMTemplate |
findByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where uuid = ? and companyId = ?.
|
static DDMTemplate |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where uuid = ? and companyId = ?.
|
static DDMTemplate[] |
findByUuid_C_PrevAndNext(long templateId,
java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<DDMTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the d d m templates where uuid = ? and companyId = ?.
|
static java.util.List<DDMTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the d d m templates where uuid = ? and companyId = ?.
|
static java.util.List<DDMTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where uuid = ? and companyId = ?.
|
static DDMTemplate |
findByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where uuid = ?.
|
static DDMTemplate |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the d d m template where uuid = ? and groupId = ? or throws a
NoSuchTemplateException if it could not be found. |
static DDMTemplate |
findByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where uuid = ?.
|
static DDMTemplate[] |
findByUuid_PrevAndNext(long templateId,
java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where uuid = ?.
|
static java.util.List<DDMTemplate> |
findByUuid(java.lang.String uuid)
Returns all the d d m templates where uuid = ?.
|
static java.util.List<DDMTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the d d m templates where uuid = ?.
|
static java.util.List<DDMTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where uuid = ?.
|
static java.util.List<DDMTemplate> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static java.util.List<DDMTemplate> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DDMTemplate> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator) |
static DDMTemplatePersistence |
getPersistence() |
static DDMTemplate |
remove(long templateId)
Removes the d d m template with the primary key from the database.
|
static void |
removeAll()
Removes all the d d m templates from the database.
|
static void |
removeByC_C_T(long classNameId,
long classPK,
java.lang.String type)
Removes all the d d m templates where classNameId = ? and classPK = ? and type = ? from the database.
|
static void |
removeByClassPK(long classPK)
Removes all the d d m templates where classPK = ? from the database.
|
static void |
removeByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode)
Removes all the d d m templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ? from the database.
|
static void |
removeByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
Removes all the d d m templates where groupId = ? and classNameId = ? and classPK = ? and type = ? from the database.
|
static void |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes all the d d m templates where groupId = ? and classNameId = ? and classPK = ? from the database.
|
static DDMTemplate |
removeByG_C_T(long groupId,
long classNameId,
java.lang.String templateKey)
Removes the d d m template where groupId = ? and classNameId = ? and templateKey = ? from the database.
|
static void |
removeByG_C(long groupId,
long classNameId)
Removes all the d d m templates where groupId = ? and classNameId = ? from the database.
|
static void |
removeByG_CPK(long groupId,
long classPK)
Removes all the d d m templates where groupId = ? and classPK = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the d d m templates where groupId = ? from the database.
|
static void |
removeByLanguage(java.lang.String language)
Removes all the d d m templates where language = ? from the database.
|
static DDMTemplate |
removeBySmallImageId(long smallImageId)
Removes the d d m template where smallImageId = ? from the database.
|
static void |
removeByTemplateKey(java.lang.String templateKey)
Removes all the d d m templates where templateKey = ? from the database.
|
static void |
removeByType(java.lang.String type)
Removes all the d d m templates where type = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the d d m templates where uuid = ? and companyId = ? from the database.
|
static DDMTemplate |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the d d m template where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the d d m templates where uuid = ? from the database.
|
void |
setPersistence(DDMTemplatePersistence persistence)
Deprecated.
As of 6.2.0
|
static DDMTemplate |
update(DDMTemplate ddmTemplate) |
static DDMTemplate |
update(DDMTemplate ddmTemplate,
ServiceContext serviceContext) |
static DDMTemplate |
updateImpl(DDMTemplate ddmTemplate) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(DDMTemplate ddmTemplate)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.List<DDMTemplate> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<DDMTemplate> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
public static java.util.List<DDMTemplate> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
public static DDMTemplate update(DDMTemplate ddmTemplate) throws SystemException
public static DDMTemplate update(DDMTemplate ddmTemplate, ServiceContext serviceContext) throws SystemException
public static java.util.List<DDMTemplate> findByUuid(java.lang.String uuid) throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByUuid(java.lang.String uuid, int start, int end) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByUuid_PrevAndNext(long templateId, java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templateuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static int countByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static DDMTemplate findByUUID_G(java.lang.String uuid, long groupId) throws SystemException, NoSuchTemplateException
NoSuchTemplateException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByUUID_G(java.lang.String uuid, long groupId) throws SystemException
null if it could not be found. Uses the finder cache.uuid - the uuidgroupId - the group IDnull if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null if it could not be found, optionally using the finder cache.uuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cachenull if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate removeByUUID_G(java.lang.String uuid, long groupId) throws SystemException, NoSuchTemplateException
uuid - the uuidgroupId - the group IDSystemException - if a system exception occurredNoSuchTemplateExceptionpublic static int countByUUID_G(java.lang.String uuid,
long groupId)
throws SystemException
uuid - the uuidgroupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByUuid_C(java.lang.String uuid, long companyId) throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByUuid_C_PrevAndNext(long templateId, java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templateuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static int countByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByGroupId(long groupId) throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByGroupId(long groupId, int start, int end) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByGroupId_PrevAndNext(long templateId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templategroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByGroupId(long groupId) throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByGroupId(long groupId, int start, int end) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate[] filterFindByGroupId_PrevAndNext(long templateId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templategroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static int countByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static int filterCountByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByClassPK(long classPK) throws SystemException
classPK - the class p kSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByClassPK(long classPK, int start, int end) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByClassPK(long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByClassPK_First(long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
classPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByClassPK_First(long classPK, OrderByComparator orderByComparator) throws SystemException
classPK - the class p korderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByClassPK_Last(long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
classPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByClassPK_Last(long classPK, OrderByComparator orderByComparator) throws SystemException
classPK - the class p korderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByClassPK_PrevAndNext(long templateId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templateclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByClassPK(long classPK)
throws SystemException
classPK - the class p kSystemException - if a system exception occurredpublic static int countByClassPK(long classPK)
throws SystemException
classPK - the class p kSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByTemplateKey(java.lang.String templateKey) throws SystemException
templateKey - the template keySystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByTemplateKey(java.lang.String templateKey, int start, int end) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByTemplateKey(java.lang.String templateKey, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByTemplateKey_First(java.lang.String templateKey, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateKey - the template keyorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByTemplateKey_First(java.lang.String templateKey, OrderByComparator orderByComparator) throws SystemException
templateKey - the template keyorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByTemplateKey_Last(java.lang.String templateKey, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateKey - the template keyorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByTemplateKey_Last(java.lang.String templateKey, OrderByComparator orderByComparator) throws SystemException
templateKey - the template keyorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByTemplateKey_PrevAndNext(long templateId, java.lang.String templateKey, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templatetemplateKey - the template keyorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByTemplateKey(java.lang.String templateKey)
throws SystemException
templateKey - the template keySystemException - if a system exception occurredpublic static int countByTemplateKey(java.lang.String templateKey)
throws SystemException
templateKey - the template keySystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByType(java.lang.String type) throws SystemException
type - the typeSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByType(java.lang.String type, int start, int end) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByType(java.lang.String type, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByType_First(java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
type - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByType_First(java.lang.String type, OrderByComparator orderByComparator) throws SystemException
type - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByType_Last(java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
type - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByType_Last(java.lang.String type, OrderByComparator orderByComparator) throws SystemException
type - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByType_PrevAndNext(long templateId, java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templatetype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByType(java.lang.String type)
throws SystemException
type - the typeSystemException - if a system exception occurredpublic static int countByType(java.lang.String type)
throws SystemException
type - the typeSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByLanguage(java.lang.String language) throws SystemException
language - the languageSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByLanguage(java.lang.String language, int start, int end) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByLanguage(java.lang.String language, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByLanguage_First(java.lang.String language, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
language - the languageorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByLanguage_First(java.lang.String language, OrderByComparator orderByComparator) throws SystemException
language - the languageorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByLanguage_Last(java.lang.String language, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
language - the languageorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByLanguage_Last(java.lang.String language, OrderByComparator orderByComparator) throws SystemException
language - the languageorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByLanguage_PrevAndNext(long templateId, java.lang.String language, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templatelanguage - the languageorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByLanguage(java.lang.String language)
throws SystemException
language - the languageSystemException - if a system exception occurredpublic static int countByLanguage(java.lang.String language)
throws SystemException
language - the languageSystemException - if a system exception occurredpublic static DDMTemplate findBySmallImageId(long smallImageId) throws SystemException, NoSuchTemplateException
NoSuchTemplateException if it could not be found.smallImageId - the small image IDNoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchBySmallImageId(long smallImageId) throws SystemException
null if it could not be found. Uses the finder cache.smallImageId - the small image IDnull if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchBySmallImageId(long smallImageId, boolean retrieveFromCache) throws SystemException
null if it could not be found, optionally using the finder cache.smallImageId - the small image IDretrieveFromCache - whether to use the finder cachenull if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate removeBySmallImageId(long smallImageId) throws SystemException, NoSuchTemplateException
smallImageId - the small image IDSystemException - if a system exception occurredNoSuchTemplateExceptionpublic static int countBySmallImageId(long smallImageId)
throws SystemException
smallImageId - the small image IDSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_C(long groupId, long classNameId) throws SystemException
groupId - the group IDclassNameId - the class name IDSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_C(long groupId, long classNameId, int start, int end) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_C(long groupId, long classNameId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByG_C_First(long groupId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByG_C_First(long groupId, long classNameId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByG_C_Last(long groupId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByG_C_Last(long groupId, long classNameId, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByG_C_PrevAndNext(long templateId, long groupId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templategroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_C(long groupId, long classNameId) throws SystemException
groupId - the group IDclassNameId - the class name IDSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_C(long groupId, long classNameId, int start, int end) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_C(long groupId, long classNameId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate[] filterFindByG_C_PrevAndNext(long templateId, long groupId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templategroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByG_C(long groupId,
long classNameId)
throws SystemException
groupId - the group IDclassNameId - the class name IDSystemException - if a system exception occurredpublic static int countByG_C(long groupId,
long classNameId)
throws SystemException
groupId - the group IDclassNameId - the class name IDSystemException - if a system exception occurredpublic static int filterCountByG_C(long groupId,
long classNameId)
throws SystemException
groupId - the group IDclassNameId - the class name IDSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_CPK(long groupId, long classPK) throws SystemException
groupId - the group IDclassPK - the class p kSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_CPK(long groupId, long classPK, int start, int end) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_CPK(long groupId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByG_CPK_First(long groupId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId - the group IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByG_CPK_First(long groupId, long classPK, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByG_CPK_Last(long groupId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId - the group IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByG_CPK_Last(long groupId, long classPK, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByG_CPK_PrevAndNext(long templateId, long groupId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templategroupId - the group IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_CPK(long groupId, long classPK) throws SystemException
groupId - the group IDclassPK - the class p kSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_CPK(long groupId, long classPK, int start, int end) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_CPK(long groupId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate[] filterFindByG_CPK_PrevAndNext(long templateId, long groupId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templategroupId - the group IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_CPK(long[] groupIds, long classPK) throws SystemException
groupIds - the group IDsclassPK - the class p kSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_CPK(long[] groupIds, long classPK, int start, int end) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_CPK(long[] groupIds, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_CPK(long[] groupIds, long classPK) throws SystemException
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 p kSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_CPK(long[] groupIds, long classPK, int start, int end) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_CPK(long[] groupIds, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static void removeByG_CPK(long groupId,
long classPK)
throws SystemException
groupId - the group IDclassPK - the class p kSystemException - if a system exception occurredpublic static int countByG_CPK(long groupId,
long classPK)
throws SystemException
groupId - the group IDclassPK - the class p kSystemException - if a system exception occurredpublic static int countByG_CPK(long[] groupIds,
long classPK)
throws SystemException
groupIds - the group IDsclassPK - the class p kSystemException - if a system exception occurredpublic static int filterCountByG_CPK(long groupId,
long classPK)
throws SystemException
groupId - the group IDclassPK - the class p kSystemException - if a system exception occurredpublic static int filterCountByG_CPK(long[] groupIds,
long classPK)
throws SystemException
groupIds - the group IDsclassPK - the class p kSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_C_C(long groupId, long classNameId, long classPK) throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByG_C_C_First(long groupId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId - the group IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByG_C_C_First(long groupId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByG_C_C_Last(long groupId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId - the group IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByG_C_C_Last(long groupId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByG_C_C_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templategroupId - the group IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_C_C(long groupId, long classNameId, long classPK) throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 p kstart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate[] filterFindByG_C_C_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templategroupId - the group IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByG_C_C(long groupId,
long classNameId,
long classPK)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kSystemException - if a system exception occurredpublic static int countByG_C_C(long groupId,
long classNameId,
long classPK)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kSystemException - if a system exception occurredpublic static int filterCountByG_C_C(long groupId,
long classNameId,
long classPK)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p kSystemException - if a system exception occurredpublic static DDMTemplate findByG_C_T(long groupId, long classNameId, java.lang.String templateKey) throws SystemException, NoSuchTemplateException
NoSuchTemplateException if it could not be found.groupId - the group IDclassNameId - the class name IDtemplateKey - the template keyNoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByG_C_T(long groupId, long classNameId, java.lang.String templateKey) throws SystemException
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 d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByG_C_T(long groupId, long classNameId, java.lang.String templateKey, boolean retrieveFromCache) throws SystemException
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 use the finder cachenull if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate removeByG_C_T(long groupId, long classNameId, java.lang.String templateKey) throws SystemException, NoSuchTemplateException
groupId - the group IDclassNameId - the class name IDtemplateKey - the template keySystemException - if a system exception occurredNoSuchTemplateExceptionpublic static int countByG_C_T(long groupId,
long classNameId,
java.lang.String templateKey)
throws SystemException
groupId - the group IDclassNameId - the class name IDtemplateKey - the template keySystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByC_C_T(long classNameId, long classPK, java.lang.String type) throws SystemException
classNameId - the class name IDclassPK - the class p ktype - the typeSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByC_C_T(long classNameId, long classPK, java.lang.String type, int start, int end) throws SystemException
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 p ktype - the typestart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByC_C_T(long classNameId, long classPK, java.lang.String type, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 p ktype - the typestart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByC_C_T_First(long classNameId, long classPK, java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
classNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByC_C_T_First(long classNameId, long classPK, java.lang.String type, OrderByComparator orderByComparator) throws SystemException
classNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByC_C_T_Last(long classNameId, long classPK, java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
classNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByC_C_T_Last(long classNameId, long classPK, java.lang.String type, OrderByComparator orderByComparator) throws SystemException
classNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByC_C_T_PrevAndNext(long templateId, long classNameId, long classPK, java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templateclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByC_C_T(long classNameId,
long classPK,
java.lang.String type)
throws SystemException
classNameId - the class name IDclassPK - the class p ktype - the typeSystemException - if a system exception occurredpublic static int countByC_C_T(long classNameId,
long classPK,
java.lang.String type)
throws SystemException
classNameId - the class name IDclassPK - the class p ktype - the typeSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type) throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type, int start, int end) throws SystemException
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 p ktype - the typestart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 p ktype - the typestart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByG_C_C_T_First(long groupId, long classNameId, long classPK, java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByG_C_C_T_First(long groupId, long classNameId, long classPK, java.lang.String type, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByG_C_C_T_Last(long groupId, long classNameId, long classPK, java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByG_C_C_T_Last(long groupId, long classNameId, long classPK, java.lang.String type, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByG_C_C_T_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templategroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type) throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type, int start, int end) throws SystemException
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 p ktype - the typestart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_C_C_T(long groupId, long classNameId, long classPK, java.lang.String type, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 p ktype - the typestart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate[] filterFindByG_C_C_T_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, java.lang.String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templategroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeSystemException - if a system exception occurredpublic static int countByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeSystemException - if a system exception occurredpublic static int filterCountByG_C_C_T(long groupId,
long classNameId,
long classPK,
java.lang.String type)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findByG_C_C_T_M(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode) throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typemode - the modeSystemException - if a system exception occurredpublic static 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) throws SystemException
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 p ktype - the typemode - the modestart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static 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, OrderByComparator orderByComparator) throws SystemException
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 p ktype - the typemode - the modestart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate findByG_C_C_T_M_First(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typemode - the modeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByG_C_C_T_M_First(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typemode - the modeorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate findByG_C_C_T_M_Last(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typemode - the modeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByG_C_C_T_M_Last(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, OrderByComparator orderByComparator) throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typemode - the modeorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m template could not be foundSystemException - if a system exception occurredpublic static DDMTemplate[] findByG_C_C_T_M_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templategroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typemode - the modeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> filterFindByG_C_C_T_M(long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode) throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typemode - the modeSystemException - if a system exception occurredpublic static 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) throws SystemException
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 p ktype - the typemode - the modestart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static 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, OrderByComparator orderByComparator) throws SystemException
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 p ktype - the typemode - the modestart - the lower bound of the range of d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static DDMTemplate[] filterFindByG_C_C_T_M_PrevAndNext(long templateId, long groupId, long classNameId, long classPK, java.lang.String type, java.lang.String mode, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId - the primary key of the current d d m templategroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typemode - the modeorderByComparator - the comparator to order the set by (optionally null)NoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typemode - the modeSystemException - if a system exception occurredpublic static int countByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typemode - the modeSystemException - if a system exception occurredpublic static int filterCountByG_C_C_T_M(long groupId,
long classNameId,
long classPK,
java.lang.String type,
java.lang.String mode)
throws SystemException
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typemode - the modeSystemException - if a system exception occurredpublic static void cacheResult(DDMTemplate ddmTemplate)
ddmTemplate - the d d m templatepublic static void cacheResult(java.util.List<DDMTemplate> ddmTemplates)
ddmTemplates - the d d m templatespublic static DDMTemplate create(long templateId)
templateId - the primary key for the new d d m templatepublic static DDMTemplate remove(long templateId) throws SystemException, NoSuchTemplateException
templateId - the primary key of the d d m templateNoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static DDMTemplate updateImpl(DDMTemplate ddmTemplate) throws SystemException
SystemExceptionpublic static DDMTemplate findByPrimaryKey(long templateId) throws SystemException, NoSuchTemplateException
NoSuchTemplateException if it could not be found.templateId - the primary key of the d d m templateNoSuchTemplateException - if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static DDMTemplate fetchByPrimaryKey(long templateId) throws SystemException
null if it could not be found.templateId - the primary key of the d d m templatenull if a d d m template with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findAll() throws SystemException
SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findAll(int start, int end) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<DDMTemplate> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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 d d m templatesend - the upper bound of the range of d d m templates (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static void removeAll()
throws SystemException
SystemException - if a system exception occurredpublic static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static DDMTemplatePersistence getPersistence()
public void setPersistence(DDMTemplatePersistence persistence)