|
Liferay 6.2.0-ce-m1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<DDMTemplate>
com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceImpl
public class DDMTemplatePersistenceImpl
The persistence implementation for the d d m template service.
Caching information and settings can be found in portal.properties
DDMTemplatePersistence,
DDMTemplateUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
DDMTemplatePersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the d d m template persistence. |
void |
cacheResult(DDMTemplate ddmTemplate)
Caches the d d m template in the entity cache if it is enabled. |
void |
cacheResult(List<DDMTemplate> ddmTemplates)
Caches the d d m templates in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all d d m templates. |
void |
clearCache(DDMTemplate ddmTemplate)
Clears the cache for the d d m template. |
void |
clearCache(List<DDMTemplate> ddmTemplates)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(DDMTemplate ddmTemplate)
|
int |
countAll()
Returns the number of d d m templates. |
int |
countByC_C_T_M(long classNameId,
long classPK,
String type,
String mode)
Returns the number of d d m templates where classNameId = ? and classPK = ? and type = ? and mode = ?. |
int |
countByC_C_T(long classNameId,
long classPK,
String type)
Returns the number of d d m templates where classNameId = ? and classPK = ? and type = ?. |
int |
countByClassPK(long classPK)
Returns the number of d d m templates where classPK = ?. |
int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of d d m templates where groupId = ? and classNameId = ? and classPK = ?. |
int |
countByG_C(long groupId,
long classNameId)
Returns the number of d d m templates where groupId = ? and classNameId = ?. |
int |
countByG_T(long groupId,
String templateKey)
Returns the number of d d m templates where groupId = ? and templateKey = ?. |
int |
countByGroupId(long groupId)
Returns the number of d d m templates where groupId = ?. |
int |
countByLanguage(String language)
Returns the number of d d m templates where language = ?. |
int |
countByType(String type)
Returns the number of d d m templates where type = ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of d d m templates where uuid = ? and companyId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of d d m templates where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of d d m templates where uuid = ?. |
DDMTemplate |
create(long templateId)
Creates a new d d m template with the primary key. |
void |
destroy()
|
DDMTemplate |
fetchByC_C_T_First(long classNameId,
long classPK,
String type,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where classNameId = ? and classPK = ? and type = ?. |
DDMTemplate |
fetchByC_C_T_Last(long classNameId,
long classPK,
String type,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where classNameId = ? and classPK = ? and type = ?. |
DDMTemplate |
fetchByC_C_T_M_First(long classNameId,
long classPK,
String type,
String mode,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where classNameId = ? and classPK = ? and type = ? and mode = ?. |
DDMTemplate |
fetchByC_C_T_M_Last(long classNameId,
long classPK,
String type,
String mode,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where classNameId = ? and classPK = ? and type = ? and mode = ?. |
DDMTemplate |
fetchByClassPK_First(long classPK,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where classPK = ?. |
DDMTemplate |
fetchByClassPK_Last(long classPK,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where classPK = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
DDMTemplate |
fetchByG_T(long groupId,
String templateKey)
Returns the d d m template where groupId = ? and templateKey = ? or returns null if it could not be found. |
DDMTemplate |
fetchByG_T(long groupId,
String templateKey,
boolean retrieveFromCache)
Returns the d d m template where groupId = ? and templateKey = ? or returns null if it could not be found, optionally using the finder cache. |
DDMTemplate |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ?. |
DDMTemplate |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ?. |
DDMTemplate |
fetchByLanguage_First(String language,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where language = ?. |
DDMTemplate |
fetchByLanguage_Last(String language,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where language = ?. |
DDMTemplate |
fetchByPrimaryKey(long templateId)
Returns the d d m template with the primary key or returns null if it could not be found. |
DDMTemplate |
fetchByPrimaryKey(Serializable primaryKey)
Returns the d d m template with the primary key or returns null if it could not be found. |
DDMTemplate |
fetchByType_First(String type,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where type = ?. |
DDMTemplate |
fetchByType_Last(String type,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where type = ?. |
DDMTemplate |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where uuid = ? and companyId = ?. |
DDMTemplate |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where uuid = ? and companyId = ?. |
DDMTemplate |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where uuid = ?. |
DDMTemplate |
fetchByUUID_G(String uuid,
long groupId)
Returns the d d m template where uuid = ? and groupId = ? or returns null if it could not be found. |
DDMTemplate |
fetchByUUID_G(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. |
DDMTemplate |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where uuid = ?. |
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 = ?. |
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 = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of d d m templates that the user has permission to view where groupId = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
List<DDMTemplate> |
filterFindByGroupId(long groupId)
Returns all the d d m templates that the user has permission to view where groupId = ?. |
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 = ?. |
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 = ?. |
protected DDMTemplate |
filterGetByG_C_C_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
filterGetByG_C_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long groupId,
long classNameId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
filterGetByGroupId_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
List<DDMTemplate> |
findAll()
Returns all the d d m templates. |
List<DDMTemplate> |
findAll(int start,
int end)
Returns a range of all the d d m templates. |
List<DDMTemplate> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates. |
DDMTemplate |
findByC_C_T_First(long classNameId,
long classPK,
String type,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where classNameId = ? and classPK = ? and type = ?. |
DDMTemplate |
findByC_C_T_Last(long classNameId,
long classPK,
String type,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where classNameId = ? and classPK = ? and type = ?. |
DDMTemplate |
findByC_C_T_M_First(long classNameId,
long classPK,
String type,
String mode,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where classNameId = ? and classPK = ? and type = ? and mode = ?. |
DDMTemplate |
findByC_C_T_M_Last(long classNameId,
long classPK,
String type,
String mode,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where classNameId = ? and classPK = ? and type = ? and mode = ?. |
DDMTemplate[] |
findByC_C_T_M_PrevAndNext(long templateId,
long classNameId,
long classPK,
String type,
String mode,
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 = ? and mode = ?. |
List<DDMTemplate> |
findByC_C_T_M(long classNameId,
long classPK,
String type,
String mode)
Returns all the d d m templates where classNameId = ? and classPK = ? and type = ? and mode = ?. |
List<DDMTemplate> |
findByC_C_T_M(long classNameId,
long classPK,
String type,
String mode,
int start,
int end)
Returns a range of all the d d m templates where classNameId = ? and classPK = ? and type = ? and mode = ?. |
List<DDMTemplate> |
findByC_C_T_M(long classNameId,
long classPK,
String type,
String mode,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where classNameId = ? and classPK = ? and type = ? and mode = ?. |
DDMTemplate[] |
findByC_C_T_PrevAndNext(long templateId,
long classNameId,
long classPK,
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 = ?. |
List<DDMTemplate> |
findByC_C_T(long classNameId,
long classPK,
String type)
Returns all the d d m templates where classNameId = ? and classPK = ? and type = ?. |
List<DDMTemplate> |
findByC_C_T(long classNameId,
long classPK,
String type,
int start,
int end)
Returns a range of all the d d m templates where classNameId = ? and classPK = ? and type = ?. |
List<DDMTemplate> |
findByC_C_T(long classNameId,
long classPK,
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 = ?. |
DDMTemplate |
findByClassPK_First(long classPK,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where classPK = ?. |
DDMTemplate |
findByClassPK_Last(long classPK,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where classPK = ?. |
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 = ?. |
List<DDMTemplate> |
findByClassPK(long classPK)
Returns all the d d m templates where classPK = ?. |
List<DDMTemplate> |
findByClassPK(long classPK,
int start,
int end)
Returns a range of all the d d m templates where classPK = ?. |
List<DDMTemplate> |
findByClassPK(long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where classPK = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
List<DDMTemplate> |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the d d m templates where groupId = ? and classNameId = ? and classPK = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
List<DDMTemplate> |
findByG_C(long groupId,
long classNameId)
Returns all the d d m templates where groupId = ? and classNameId = ?. |
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 = ?. |
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 = ?. |
DDMTemplate |
findByG_T(long groupId,
String templateKey)
Returns the d d m template where groupId = ? and templateKey = ? or throws a NoSuchTemplateException if it could not be found. |
DDMTemplate |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ?. |
DDMTemplate |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ?. |
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 = ?. |
List<DDMTemplate> |
findByGroupId(long groupId)
Returns all the d d m templates where groupId = ?. |
List<DDMTemplate> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the d d m templates where groupId = ?. |
List<DDMTemplate> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where groupId = ?. |
DDMTemplate |
findByLanguage_First(String language,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where language = ?. |
DDMTemplate |
findByLanguage_Last(String language,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where language = ?. |
DDMTemplate[] |
findByLanguage_PrevAndNext(long templateId,
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 = ?. |
List<DDMTemplate> |
findByLanguage(String language)
Returns all the d d m templates where language = ?. |
List<DDMTemplate> |
findByLanguage(String language,
int start,
int end)
Returns a range of all the d d m templates where language = ?. |
List<DDMTemplate> |
findByLanguage(String language,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where language = ?. |
DDMTemplate |
findByPrimaryKey(long templateId)
Returns the d d m template with the primary key or throws a NoSuchTemplateException if it could not be found. |
DDMTemplate |
findByPrimaryKey(Serializable primaryKey)
Returns the d d m template with the primary key or throws a NoSuchModelException if it could not be found. |
DDMTemplate |
findByType_First(String type,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where type = ?. |
DDMTemplate |
findByType_Last(String type,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where type = ?. |
DDMTemplate[] |
findByType_PrevAndNext(long templateId,
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 = ?. |
List<DDMTemplate> |
findByType(String type)
Returns all the d d m templates where type = ?. |
List<DDMTemplate> |
findByType(String type,
int start,
int end)
Returns a range of all the d d m templates where type = ?. |
List<DDMTemplate> |
findByType(String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where type = ?. |
DDMTemplate |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where uuid = ? and companyId = ?. |
DDMTemplate |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where uuid = ? and companyId = ?. |
DDMTemplate[] |
findByUuid_C_PrevAndNext(long templateId,
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 = ?. |
List<DDMTemplate> |
findByUuid_C(String uuid,
long companyId)
Returns all the d d m templates where uuid = ? and companyId = ?. |
List<DDMTemplate> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the d d m templates where uuid = ? and companyId = ?. |
List<DDMTemplate> |
findByUuid_C(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 = ?. |
DDMTemplate |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where uuid = ?. |
DDMTemplate |
findByUUID_G(String uuid,
long groupId)
Returns the d d m template where uuid = ? and groupId = ? or throws a NoSuchTemplateException if it could not be found. |
DDMTemplate |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where uuid = ?. |
DDMTemplate[] |
findByUuid_PrevAndNext(long templateId,
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 = ?. |
List<DDMTemplate> |
findByUuid(String uuid)
Returns all the d d m templates where uuid = ?. |
List<DDMTemplate> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the d d m templates where uuid = ?. |
List<DDMTemplate> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where uuid = ?. |
protected DDMTemplate |
getByC_C_T_M_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long classNameId,
long classPK,
String type,
String mode,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
getByC_C_T_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long classNameId,
long classPK,
String type,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
getByClassPK_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long classPK,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
getByG_C_C_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
getByG_C_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long groupId,
long classNameId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
getByGroupId_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
getByLanguage_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
String language,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
getByType_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
String type,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
getByUuid_C_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
String uuid,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
getByUuid_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
DDMTemplate |
remove(long templateId)
Removes the d d m template with the primary key from the database. |
DDMTemplate |
remove(Serializable primaryKey)
Removes the d d m template with the primary key from the database. |
void |
removeAll()
Removes all the d d m templates from the database. |
void |
removeByC_C_T_M(long classNameId,
long classPK,
String type,
String mode)
Removes all the d d m templates where classNameId = ? and classPK = ? and type = ? and mode = ? from the database. |
void |
removeByC_C_T(long classNameId,
long classPK,
String type)
Removes all the d d m templates where classNameId = ? and classPK = ? and type = ? from the database. |
void |
removeByClassPK(long classPK)
Removes all the d d m templates where classPK = ? from the database. |
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. |
void |
removeByG_C(long groupId,
long classNameId)
Removes all the d d m templates where groupId = ? and classNameId = ? from the database. |
DDMTemplate |
removeByG_T(long groupId,
String templateKey)
Removes the d d m template where groupId = ? and templateKey = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the d d m templates where groupId = ? from the database. |
void |
removeByLanguage(String language)
Removes all the d d m templates where language = ? from the database. |
void |
removeByType(String type)
Removes all the d d m templates where type = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the d d m templates where uuid = ? and companyId = ? from the database. |
DDMTemplate |
removeByUUID_G(String uuid,
long groupId)
Removes the d d m template where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the d d m templates where uuid = ? from the database. |
protected DDMTemplate |
removeImpl(DDMTemplate ddmTemplate)
Removes the model instance from the database. |
protected DDMTemplate |
toUnwrappedModel(DDMTemplate ddmTemplate)
|
DDMTemplate |
updateImpl(DDMTemplate ddmTemplate)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSPK
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSPK
public static final FinderPath FINDER_PATH_COUNT_BY_CLASSPK
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TYPE
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TYPE
public static final FinderPath FINDER_PATH_COUNT_BY_TYPE
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LANGUAGE
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LANGUAGE
public static final FinderPath FINDER_PATH_COUNT_BY_LANGUAGE
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C
public static final FinderPath FINDER_PATH_COUNT_BY_G_C
public static final FinderPath FINDER_PATH_FETCH_BY_G_T
public static final FinderPath FINDER_PATH_COUNT_BY_G_T
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C_T
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C_T
public static final FinderPath FINDER_PATH_COUNT_BY_C_C_T
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C_T_M
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C_T_M
public static final FinderPath FINDER_PATH_COUNT_BY_C_C_T_M
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=DDMContentPersistence.class) protected DDMContentPersistence ddmContentPersistence
@BeanReference(type=DDMStorageLinkPersistence.class) protected DDMStorageLinkPersistence ddmStorageLinkPersistence
@BeanReference(type=DDMStructurePersistence.class) protected DDMStructurePersistence ddmStructurePersistence
@BeanReference(type=DDMStructureLinkPersistence.class) protected DDMStructureLinkPersistence ddmStructureLinkPersistence
@BeanReference(type=DDMTemplatePersistence.class) protected DDMTemplatePersistence ddmTemplatePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
| Constructor Detail |
|---|
public DDMTemplatePersistenceImpl()
| Method Detail |
|---|
public void cacheResult(DDMTemplate ddmTemplate)
cacheResult in interface DDMTemplatePersistenceddmTemplate - the d d m templatepublic void cacheResult(List<DDMTemplate> ddmTemplates)
cacheResult in interface DDMTemplatePersistenceddmTemplates - the d d m templatespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DDMTemplate>clearCache in class BasePersistenceImpl<DDMTemplate>public void clearCache(DDMTemplate ddmTemplate)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DDMTemplate>clearCache in class BasePersistenceImpl<DDMTemplate>ddmTemplate - the instance of this model to clear the cache forpublic void clearCache(List<DDMTemplate> ddmTemplates)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<DDMTemplate>clearCache in class BasePersistenceImpl<DDMTemplate>ddmTemplates - the List instances of this model to clear the cache forprotected void clearUniqueFindersCache(DDMTemplate ddmTemplate)
public DDMTemplate create(long templateId)
create in interface DDMTemplatePersistencetemplateId - the primary key for the new d d m template
public DDMTemplate remove(long templateId)
throws NoSuchTemplateException,
SystemException
remove in interface DDMTemplatePersistencetemplateId - the primary key of the d d m template
NoSuchTemplateException - if a d d m template with the primary key could not be found
SystemException - if a system exception occurred
public DDMTemplate remove(Serializable primaryKey)
throws NoSuchTemplateException,
SystemException
remove in interface BasePersistence<DDMTemplate>remove in class BasePersistenceImpl<DDMTemplate>primaryKey - the primary key of the d d m template
NoSuchTemplateException - if a d d m template with the primary key could not be found
SystemException - if a system exception occurred
protected DDMTemplate removeImpl(DDMTemplate ddmTemplate)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<DDMTemplate>ddmTemplate - the model instance to remove
SystemException - if a system exception occurred
public DDMTemplate updateImpl(DDMTemplate ddmTemplate)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface DDMTemplatePersistenceupdateImpl in class BasePersistenceImpl<DDMTemplate>ddmTemplate - the model instance to update
SystemException - if a system exception occurredprotected DDMTemplate toUnwrappedModel(DDMTemplate ddmTemplate)
public DDMTemplate findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<DDMTemplate>findByPrimaryKey in class BasePersistenceImpl<DDMTemplate>primaryKey - the primary key of the d d m template
NoSuchModelException - if a d d m template with the primary key could not be found
SystemException - if a system exception occurred
public DDMTemplate findByPrimaryKey(long templateId)
throws NoSuchTemplateException,
SystemException
NoSuchTemplateException if it could not be found.
findByPrimaryKey in interface DDMTemplatePersistencetemplateId - the primary key of the d d m template
NoSuchTemplateException - if a d d m template with the primary key could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<DDMTemplate>fetchByPrimaryKey in class BasePersistenceImpl<DDMTemplate>primaryKey - the primary key of the d d m template
null if a d d m template with the primary key could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByPrimaryKey(long templateId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface DDMTemplatePersistencetemplateId - the primary key of the d d m template
null if a d d m template with the primary key could not be found
SystemException - if a system exception occurred
public List<DDMTemplate> findByUuid(String uuid)
throws SystemException
findByUuid in interface DDMTemplatePersistenceuuid - the uuid
SystemException - if a system exception occurred
public List<DDMTemplate> findByUuid(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.
findByUuid in interface DDMTemplatePersistenceuuid - 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 occurred
public List<DDMTemplate> findByUuid(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.
findByUuid in interface DDMTemplatePersistenceuuid - 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 occurred
public DDMTemplate findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByUuid_First in interface DDMTemplatePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchTemplateException - if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_First in interface DDMTemplatePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByUuid_Last in interface DDMTemplatePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchTemplateException - if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_Last in interface DDMTemplatePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate[] findByUuid_PrevAndNext(long templateId,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByUuid_PrevAndNext in interface DDMTemplatePersistencetemplateId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate getByUuid_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
public DDMTemplate findByUUID_G(String uuid,
long groupId)
throws NoSuchTemplateException,
SystemException
NoSuchTemplateException if it could not be found.
findByUUID_G in interface DDMTemplatePersistenceuuid - the uuidgroupId - the group ID
NoSuchTemplateException - if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByUUID_G(String uuid,
long groupId)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface DDMTemplatePersistenceuuid - the uuidgroupId - the group ID
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface DDMTemplatePersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cache
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public List<DDMTemplate> findByUuid_C(String uuid,
long companyId)
throws SystemException
findByUuid_C in interface DDMTemplatePersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public List<DDMTemplate> findByUuid_C(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.
findByUuid_C in interface DDMTemplatePersistenceuuid - 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 occurred
public List<DDMTemplate> findByUuid_C(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.
findByUuid_C in interface DDMTemplatePersistenceuuid - 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 occurred
public DDMTemplate findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByUuid_C_First in interface DDMTemplatePersistenceuuid - 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 found
SystemException - if a system exception occurred
public DDMTemplate fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_C_First in interface DDMTemplatePersistenceuuid - 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 found
SystemException - if a system exception occurred
public DDMTemplate findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByUuid_C_Last in interface DDMTemplatePersistenceuuid - 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 found
SystemException - if a system exception occurred
public DDMTemplate fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_C_Last in interface DDMTemplatePersistenceuuid - 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 found
SystemException - if a system exception occurred
public DDMTemplate[] findByUuid_C_PrevAndNext(long templateId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByUuid_C_PrevAndNext in interface DDMTemplatePersistencetemplateId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate getByUuid_C_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
String uuid,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMTemplate> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface DDMTemplatePersistencegroupId - the group ID
SystemException - if a system exception occurred
public 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.
findByGroupId in interface DDMTemplatePersistencegroupId - 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 occurred
public 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.
findByGroupId in interface DDMTemplatePersistencegroupId - 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 occurred
public DDMTemplate findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByGroupId_First in interface DDMTemplatePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTemplateException - if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_First in interface DDMTemplatePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByGroupId_Last in interface DDMTemplatePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchTemplateException - if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_Last in interface DDMTemplatePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate[] findByGroupId_PrevAndNext(long templateId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByGroupId_PrevAndNext in interface DDMTemplatePersistencetemplateId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate getByGroupId_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMTemplate> filterFindByGroupId(long groupId)
throws SystemException
filterFindByGroupId in interface DDMTemplatePersistencegroupId - the group ID
SystemException - if a system exception occurred
public 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.
filterFindByGroupId in interface DDMTemplatePersistencegroupId - 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 occurred
public 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.
filterFindByGroupId in interface DDMTemplatePersistencegroupId - 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 occurred
public DDMTemplate[] filterFindByGroupId_PrevAndNext(long templateId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
filterFindByGroupId_PrevAndNext in interface DDMTemplatePersistencetemplateId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate filterGetByGroupId_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMTemplate> findByClassPK(long classPK)
throws SystemException
findByClassPK in interface DDMTemplatePersistenceclassPK - the class p k
SystemException - if a system exception occurred
public 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.
findByClassPK in interface DDMTemplatePersistenceclassPK - 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 occurred
public 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.
findByClassPK in interface DDMTemplatePersistenceclassPK - 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 occurred
public DDMTemplate findByClassPK_First(long classPK,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByClassPK_First in interface DDMTemplatePersistenceclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchTemplateException - if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByClassPK_First(long classPK,
OrderByComparator orderByComparator)
throws SystemException
fetchByClassPK_First in interface DDMTemplatePersistenceclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate findByClassPK_Last(long classPK,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByClassPK_Last in interface DDMTemplatePersistenceclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchTemplateException - if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByClassPK_Last(long classPK,
OrderByComparator orderByComparator)
throws SystemException
fetchByClassPK_Last in interface DDMTemplatePersistenceclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate[] findByClassPK_PrevAndNext(long templateId,
long classPK,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByClassPK_PrevAndNext in interface DDMTemplatePersistencetemplateId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate getByClassPK_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long classPK,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMTemplate> findByType(String type)
throws SystemException
findByType in interface DDMTemplatePersistencetype - the type
SystemException - if a system exception occurred
public List<DDMTemplate> findByType(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.
findByType in interface DDMTemplatePersistencetype - 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 occurred
public List<DDMTemplate> findByType(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.
findByType in interface DDMTemplatePersistencetype - 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 occurred
public DDMTemplate findByType_First(String type,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByType_First in interface DDMTemplatePersistencetype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchTemplateException - if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByType_First(String type,
OrderByComparator orderByComparator)
throws SystemException
fetchByType_First in interface DDMTemplatePersistencetype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate findByType_Last(String type,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByType_Last in interface DDMTemplatePersistencetype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchTemplateException - if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByType_Last(String type,
OrderByComparator orderByComparator)
throws SystemException
fetchByType_Last in interface DDMTemplatePersistencetype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate[] findByType_PrevAndNext(long templateId,
String type,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByType_PrevAndNext in interface DDMTemplatePersistencetemplateId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate getByType_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
String type,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMTemplate> findByLanguage(String language)
throws SystemException
findByLanguage in interface DDMTemplatePersistencelanguage - the language
SystemException - if a system exception occurred
public List<DDMTemplate> findByLanguage(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.
findByLanguage in interface DDMTemplatePersistencelanguage - 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 occurred
public List<DDMTemplate> findByLanguage(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.
findByLanguage in interface DDMTemplatePersistencelanguage - 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 occurred
public DDMTemplate findByLanguage_First(String language,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByLanguage_First in interface DDMTemplatePersistencelanguage - the languageorderByComparator - the comparator to order the set by (optionally null)
NoSuchTemplateException - if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByLanguage_First(String language,
OrderByComparator orderByComparator)
throws SystemException
fetchByLanguage_First in interface DDMTemplatePersistencelanguage - the languageorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate findByLanguage_Last(String language,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByLanguage_Last in interface DDMTemplatePersistencelanguage - the languageorderByComparator - the comparator to order the set by (optionally null)
NoSuchTemplateException - if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByLanguage_Last(String language,
OrderByComparator orderByComparator)
throws SystemException
fetchByLanguage_Last in interface DDMTemplatePersistencelanguage - the languageorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate[] findByLanguage_PrevAndNext(long templateId,
String language,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByLanguage_PrevAndNext in interface DDMTemplatePersistencetemplateId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate getByLanguage_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
String language,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMTemplate> findByG_C(long groupId,
long classNameId)
throws SystemException
findByG_C in interface DDMTemplatePersistencegroupId - the group IDclassNameId - the class name ID
SystemException - if a system exception occurred
public 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.
findByG_C in interface DDMTemplatePersistencegroupId - 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 occurred
public 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.
findByG_C in interface DDMTemplatePersistencegroupId - 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 occurred
public DDMTemplate findByG_C_First(long groupId,
long classNameId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByG_C_First in interface DDMTemplatePersistencegroupId - 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 found
SystemException - if a system exception occurred
public DDMTemplate fetchByG_C_First(long groupId,
long classNameId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_C_First in interface DDMTemplatePersistencegroupId - 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 found
SystemException - if a system exception occurred
public DDMTemplate findByG_C_Last(long groupId,
long classNameId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByG_C_Last in interface DDMTemplatePersistencegroupId - 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 found
SystemException - if a system exception occurred
public DDMTemplate fetchByG_C_Last(long groupId,
long classNameId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_C_Last in interface DDMTemplatePersistencegroupId - 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 found
SystemException - if a system exception occurred
public DDMTemplate[] findByG_C_PrevAndNext(long templateId,
long groupId,
long classNameId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByG_C_PrevAndNext in interface DDMTemplatePersistencetemplateId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate getByG_C_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long groupId,
long classNameId,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMTemplate> filterFindByG_C(long groupId,
long classNameId)
throws SystemException
filterFindByG_C in interface DDMTemplatePersistencegroupId - the group IDclassNameId - the class name ID
SystemException - if a system exception occurred
public 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.
filterFindByG_C in interface DDMTemplatePersistencegroupId - 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 occurred
public 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.
filterFindByG_C in interface DDMTemplatePersistencegroupId - 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 occurred
public DDMTemplate[] filterFindByG_C_PrevAndNext(long templateId,
long groupId,
long classNameId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
filterFindByG_C_PrevAndNext in interface DDMTemplatePersistencetemplateId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate filterGetByG_C_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long groupId,
long classNameId,
OrderByComparator orderByComparator,
boolean previous)
public DDMTemplate findByG_T(long groupId,
String templateKey)
throws NoSuchTemplateException,
SystemException
NoSuchTemplateException if it could not be found.
findByG_T in interface DDMTemplatePersistencegroupId - the group IDtemplateKey - the template key
NoSuchTemplateException - if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByG_T(long groupId,
String templateKey)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByG_T in interface DDMTemplatePersistencegroupId - the group IDtemplateKey - the template key
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public DDMTemplate fetchByG_T(long groupId,
String templateKey,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByG_T in interface DDMTemplatePersistencegroupId - the group IDtemplateKey - the template keyretrieveFromCache - whether to use the finder cache
null if a matching d d m template could not be found
SystemException - if a system exception occurred
public List<DDMTemplate> findByG_C_C(long groupId,
long classNameId,
long classPK)
throws SystemException
findByG_C_C in interface DDMTemplatePersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
public 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.
findByG_C_C in interface DDMTemplatePersistencegroupId - 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 occurred
public 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.
findByG_C_C in interface DDMTemplatePersistencegroupId - 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 occurred
public DDMTemplate findByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByG_C_C_First in interface DDMTemplatePersistencegroupId - 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 found
SystemException - if a system exception occurred
public DDMTemplate fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_C_C_First in interface DDMTemplatePersistencegroupId - 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 found
SystemException - if a system exception occurred
public DDMTemplate findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByG_C_C_Last in interface DDMTemplatePersistencegroupId - 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 found
SystemException - if a system exception occurred
public DDMTemplate fetchByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_C_C_Last in interface DDMTemplatePersistencegroupId - 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 found
SystemException - if a system exception occurred
public DDMTemplate[] findByG_C_C_PrevAndNext(long templateId,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByG_C_C_PrevAndNext in interface DDMTemplatePersistencetemplateId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate getByG_C_C_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMTemplate> filterFindByG_C_C(long groupId,
long classNameId,
long classPK)
throws SystemException
filterFindByG_C_C in interface DDMTemplatePersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
public 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.
filterFindByG_C_C in interface DDMTemplatePersistencegroupId - 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 occurred
public 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.
filterFindByG_C_C in interface DDMTemplatePersistencegroupId - 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 occurred
public DDMTemplate[] filterFindByG_C_C_PrevAndNext(long templateId,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
filterFindByG_C_C_PrevAndNext in interface DDMTemplatePersistencetemplateId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate filterGetByG_C_C_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMTemplate> findByC_C_T(long classNameId,
long classPK,
String type)
throws SystemException
findByC_C_T in interface DDMTemplatePersistenceclassNameId - the class name IDclassPK - the class p ktype - the type
SystemException - if a system exception occurred
public List<DDMTemplate> findByC_C_T(long classNameId,
long classPK,
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.
findByC_C_T in interface DDMTemplatePersistenceclassNameId - 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 occurred
public List<DDMTemplate> findByC_C_T(long classNameId,
long classPK,
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.
findByC_C_T in interface DDMTemplatePersistenceclassNameId - 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 occurred
public DDMTemplate findByC_C_T_First(long classNameId,
long classPK,
String type,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByC_C_T_First in interface DDMTemplatePersistenceclassNameId - 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 found
SystemException - if a system exception occurred
public DDMTemplate fetchByC_C_T_First(long classNameId,
long classPK,
String type,
OrderByComparator orderByComparator)
throws SystemException
fetchByC_C_T_First in interface DDMTemplatePersistenceclassNameId - 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 found
SystemException - if a system exception occurred
public DDMTemplate findByC_C_T_Last(long classNameId,
long classPK,
String type,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByC_C_T_Last in interface DDMTemplatePersistenceclassNameId - 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 found
SystemException - if a system exception occurred
public DDMTemplate fetchByC_C_T_Last(long classNameId,
long classPK,
String type,
OrderByComparator orderByComparator)
throws SystemException
fetchByC_C_T_Last in interface DDMTemplatePersistenceclassNameId - 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 found
SystemException - if a system exception occurred
public DDMTemplate[] findByC_C_T_PrevAndNext(long templateId,
long classNameId,
long classPK,
String type,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByC_C_T_PrevAndNext in interface DDMTemplatePersistencetemplateId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate getByC_C_T_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long classNameId,
long classPK,
String type,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMTemplate> findByC_C_T_M(long classNameId,
long classPK,
String type,
String mode)
throws SystemException
findByC_C_T_M in interface DDMTemplatePersistenceclassNameId - the class name IDclassPK - the class p ktype - the typemode - the mode
SystemException - if a system exception occurred
public List<DDMTemplate> findByC_C_T_M(long classNameId,
long classPK,
String type,
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.
findByC_C_T_M in interface DDMTemplatePersistenceclassNameId - 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 occurred
public List<DDMTemplate> findByC_C_T_M(long classNameId,
long classPK,
String type,
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.
findByC_C_T_M in interface DDMTemplatePersistenceclassNameId - 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 occurred
public DDMTemplate findByC_C_T_M_First(long classNameId,
long classPK,
String type,
String mode,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByC_C_T_M_First in interface DDMTemplatePersistenceclassNameId - 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 found
SystemException - if a system exception occurred
public DDMTemplate fetchByC_C_T_M_First(long classNameId,
long classPK,
String type,
String mode,
OrderByComparator orderByComparator)
throws SystemException
fetchByC_C_T_M_First in interface DDMTemplatePersistenceclassNameId - 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 found
SystemException - if a system exception occurred
public DDMTemplate findByC_C_T_M_Last(long classNameId,
long classPK,
String type,
String mode,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByC_C_T_M_Last in interface DDMTemplatePersistenceclassNameId - 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 found
SystemException - if a system exception occurred
public DDMTemplate fetchByC_C_T_M_Last(long classNameId,
long classPK,
String type,
String mode,
OrderByComparator orderByComparator)
throws SystemException
fetchByC_C_T_M_Last in interface DDMTemplatePersistenceclassNameId - 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 found
SystemException - if a system exception occurred
public DDMTemplate[] findByC_C_T_M_PrevAndNext(long templateId,
long classNameId,
long classPK,
String type,
String mode,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
SystemException
findByC_C_T_M_PrevAndNext in interface DDMTemplatePersistencetemplateId - the primary key of the current d d m templateclassNameId - 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 found
SystemException - if a system exception occurred
protected DDMTemplate getByC_C_T_M_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long classNameId,
long classPK,
String type,
String mode,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMTemplate> findAll()
throws SystemException
findAll in interface DDMTemplatePersistenceSystemException - if a system exception occurred
public 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.
findAll in interface DDMTemplatePersistencestart - 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 occurred
public 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.
findAll in interface DDMTemplatePersistencestart - 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 occurred
public void removeByUuid(String uuid)
throws SystemException
removeByUuid in interface DDMTemplatePersistenceuuid - the uuid
SystemException - if a system exception occurred
public DDMTemplate removeByUUID_G(String uuid,
long groupId)
throws NoSuchTemplateException,
SystemException
removeByUUID_G in interface DDMTemplatePersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
NoSuchTemplateException
public void removeByUuid_C(String uuid,
long companyId)
throws SystemException
removeByUuid_C in interface DDMTemplatePersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface DDMTemplatePersistencegroupId - the group ID
SystemException - if a system exception occurred
public void removeByClassPK(long classPK)
throws SystemException
removeByClassPK in interface DDMTemplatePersistenceclassPK - the class p k
SystemException - if a system exception occurred
public void removeByType(String type)
throws SystemException
removeByType in interface DDMTemplatePersistencetype - the type
SystemException - if a system exception occurred
public void removeByLanguage(String language)
throws SystemException
removeByLanguage in interface DDMTemplatePersistencelanguage - the language
SystemException - if a system exception occurred
public void removeByG_C(long groupId,
long classNameId)
throws SystemException
removeByG_C in interface DDMTemplatePersistencegroupId - the group IDclassNameId - the class name ID
SystemException - if a system exception occurred
public DDMTemplate removeByG_T(long groupId,
String templateKey)
throws NoSuchTemplateException,
SystemException
removeByG_T in interface DDMTemplatePersistencegroupId - the group IDtemplateKey - the template key
SystemException - if a system exception occurred
NoSuchTemplateException
public void removeByG_C_C(long groupId,
long classNameId,
long classPK)
throws SystemException
removeByG_C_C in interface DDMTemplatePersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
public void removeByC_C_T(long classNameId,
long classPK,
String type)
throws SystemException
removeByC_C_T in interface DDMTemplatePersistenceclassNameId - the class name IDclassPK - the class p ktype - the type
SystemException - if a system exception occurred
public void removeByC_C_T_M(long classNameId,
long classPK,
String type,
String mode)
throws SystemException
removeByC_C_T_M in interface DDMTemplatePersistenceclassNameId - the class name IDclassPK - the class p ktype - the typemode - the mode
SystemException - if a system exception occurred
public void removeAll()
throws SystemException
removeAll in interface DDMTemplatePersistenceSystemException - if a system exception occurred
public int countByUuid(String uuid)
throws SystemException
countByUuid in interface DDMTemplatePersistenceuuid - the uuid
SystemException - if a system exception occurred
public int countByUUID_G(String uuid,
long groupId)
throws SystemException
countByUUID_G in interface DDMTemplatePersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
public int countByUuid_C(String uuid,
long companyId)
throws SystemException
countByUuid_C in interface DDMTemplatePersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface DDMTemplatePersistencegroupId - the group ID
SystemException - if a system exception occurred
public int filterCountByGroupId(long groupId)
throws SystemException
filterCountByGroupId in interface DDMTemplatePersistencegroupId - the group ID
SystemException - if a system exception occurred
public int countByClassPK(long classPK)
throws SystemException
countByClassPK in interface DDMTemplatePersistenceclassPK - the class p k
SystemException - if a system exception occurred
public int countByType(String type)
throws SystemException
countByType in interface DDMTemplatePersistencetype - the type
SystemException - if a system exception occurred
public int countByLanguage(String language)
throws SystemException
countByLanguage in interface DDMTemplatePersistencelanguage - the language
SystemException - if a system exception occurred
public int countByG_C(long groupId,
long classNameId)
throws SystemException
countByG_C in interface DDMTemplatePersistencegroupId - the group IDclassNameId - the class name ID
SystemException - if a system exception occurred
public int filterCountByG_C(long groupId,
long classNameId)
throws SystemException
filterCountByG_C in interface DDMTemplatePersistencegroupId - the group IDclassNameId - the class name ID
SystemException - if a system exception occurred
public int countByG_T(long groupId,
String templateKey)
throws SystemException
countByG_T in interface DDMTemplatePersistencegroupId - the group IDtemplateKey - the template key
SystemException - if a system exception occurred
public int countByG_C_C(long groupId,
long classNameId,
long classPK)
throws SystemException
countByG_C_C in interface DDMTemplatePersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
public int filterCountByG_C_C(long groupId,
long classNameId,
long classPK)
throws SystemException
filterCountByG_C_C in interface DDMTemplatePersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
public int countByC_C_T(long classNameId,
long classPK,
String type)
throws SystemException
countByC_C_T in interface DDMTemplatePersistenceclassNameId - the class name IDclassPK - the class p ktype - the type
SystemException - if a system exception occurred
public int countByC_C_T_M(long classNameId,
long classPK,
String type,
String mode)
throws SystemException
countByC_C_T_M in interface DDMTemplatePersistenceclassNameId - the class name IDclassPK - the class p ktype - the typemode - the mode
SystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface DDMTemplatePersistenceSystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.2.0-ce-m1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||