|
Liferay 6.1.0-ce-ga1 | |||||||||
| 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 |
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 |
countByS_T_M(long structureId,
String type,
String mode)
Returns the number of d d m templates where structureId = ? and type = ? and mode = ?. |
int |
countByS_T(long structureId,
String type)
Returns the number of d d m templates where structureId = ? and type = ?. |
int |
countByStructureId(long structureId)
Returns the number of d d m templates where structureId = ?. |
int |
countByType(String type)
Returns the number of d d m templates where type = ?. |
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 |
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 |
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. |
int |
filterCountByGroupId(long groupId)
Returns the number of d d m templates that the user has permission to view where groupId = ?. |
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 |
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 |
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 |
findByS_T_First(long structureId,
String type,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where structureId = ? and type = ?. |
DDMTemplate |
findByS_T_Last(long structureId,
String type,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where structureId = ? and type = ?. |
DDMTemplate |
findByS_T_M_First(long structureId,
String type,
String mode,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where structureId = ? and type = ? and mode = ?. |
DDMTemplate |
findByS_T_M_Last(long structureId,
String type,
String mode,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where structureId = ? and type = ? and mode = ?. |
DDMTemplate[] |
findByS_T_M_PrevAndNext(long templateId,
long structureId,
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 structureId = ? and type = ? and mode = ?. |
List<DDMTemplate> |
findByS_T_M(long structureId,
String type,
String mode)
Returns all the d d m templates where structureId = ? and type = ? and mode = ?. |
List<DDMTemplate> |
findByS_T_M(long structureId,
String type,
String mode,
int start,
int end)
Returns a range of all the d d m templates where structureId = ? and type = ? and mode = ?. |
List<DDMTemplate> |
findByS_T_M(long structureId,
String type,
String mode,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where structureId = ? and type = ? and mode = ?. |
DDMTemplate[] |
findByS_T_PrevAndNext(long templateId,
long structureId,
String type,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where structureId = ? and type = ?. |
List<DDMTemplate> |
findByS_T(long structureId,
String type)
Returns all the d d m templates where structureId = ? and type = ?. |
List<DDMTemplate> |
findByS_T(long structureId,
String type,
int start,
int end)
Returns a range of all the d d m templates where structureId = ? and type = ?. |
List<DDMTemplate> |
findByS_T(long structureId,
String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where structureId = ? and type = ?. |
DDMTemplate |
findByStructureId_First(long structureId,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where structureId = ?. |
DDMTemplate |
findByStructureId_Last(long structureId,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where structureId = ?. |
DDMTemplate[] |
findByStructureId_PrevAndNext(long templateId,
long structureId,
OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where structureId = ?. |
List<DDMTemplate> |
findByStructureId(long structureId)
Returns all the d d m templates where structureId = ?. |
List<DDMTemplate> |
findByStructureId(long structureId,
int start,
int end)
Returns a range of all the d d m templates where structureId = ?. |
List<DDMTemplate> |
findByStructureId(long structureId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where structureId = ?. |
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_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 |
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 |
getByS_T_M_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long structureId,
String type,
String mode,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
getByS_T_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long structureId,
String type,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
getByStructureId_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long structureId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMTemplate |
getByType_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
String type,
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 |
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 |
removeByS_T_M(long structureId,
String type,
String mode)
Removes all the d d m templates where structureId = ? and type = ? and mode = ? from the database. |
void |
removeByS_T(long structureId,
String type)
Removes all the d d m templates where structureId = ? and type = ? from the database. |
void |
removeByStructureId(long structureId)
Removes all the d d m templates where structureId = ? from the database. |
void |
removeByType(String type)
Removes all the d d m templates where type = ? from the database. |
void |
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,
boolean merge)
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, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| 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, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, 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_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_STRUCTUREID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREID
public static final FinderPath FINDER_PATH_COUNT_BY_STRUCTUREID
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_S_T
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_S_T
public static final FinderPath FINDER_PATH_COUNT_BY_S_T
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_S_T_M
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_S_T_M
public static final FinderPath FINDER_PATH_COUNT_BY_S_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=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@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,
boolean merge)
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 updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
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
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_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 findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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_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[] findByUuid_PrevAndNext(long templateId,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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_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> 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
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_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 findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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_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[] findByGroupId_PrevAndNext(long templateId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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_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> findByStructureId(long structureId)
throws SystemException
findByStructureId in interface DDMTemplatePersistencestructureId - the structure ID
SystemException - if a system exception occurred
public List<DDMTemplate> findByStructureId(long structureId,
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.
findByStructureId in interface DDMTemplatePersistencestructureId - the structure 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> findByStructureId(long structureId,
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.
findByStructureId in interface DDMTemplatePersistencestructureId - the structure 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 findByStructureId_First(long structureId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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.
findByStructureId_First in interface DDMTemplatePersistencestructureId - the structure 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 findByStructureId_Last(long structureId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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.
findByStructureId_Last in interface DDMTemplatePersistencestructureId - the structure 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[] findByStructureId_PrevAndNext(long templateId,
long structureId,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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.
findByStructureId_PrevAndNext in interface DDMTemplatePersistencetemplateId - the primary key of the current d d m templatestructureId - the structure 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 getByStructureId_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long structureId,
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
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_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 findByType_Last(String type,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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_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[] findByType_PrevAndNext(long templateId,
String type,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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_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
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_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 findByLanguage_Last(String language,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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_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[] findByLanguage_PrevAndNext(long templateId,
String language,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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_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> findByS_T(long structureId,
String type)
throws SystemException
findByS_T in interface DDMTemplatePersistencestructureId - the structure IDtype - the type
SystemException - if a system exception occurred
public List<DDMTemplate> findByS_T(long structureId,
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.
findByS_T in interface DDMTemplatePersistencestructureId - the structure IDtype - 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> findByS_T(long structureId,
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.
findByS_T in interface DDMTemplatePersistencestructureId - the structure IDtype - 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 findByS_T_First(long structureId,
String type,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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.
findByS_T_First in interface DDMTemplatePersistencestructureId - the structure IDtype - 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 findByS_T_Last(long structureId,
String type,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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.
findByS_T_Last in interface DDMTemplatePersistencestructureId - the structure IDtype - 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[] findByS_T_PrevAndNext(long templateId,
long structureId,
String type,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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.
findByS_T_PrevAndNext in interface DDMTemplatePersistencetemplateId - the primary key of the current d d m templatestructureId - the structure IDtype - 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 getByS_T_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long structureId,
String type,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMTemplate> findByS_T_M(long structureId,
String type,
String mode)
throws SystemException
findByS_T_M in interface DDMTemplatePersistencestructureId - the structure IDtype - the typemode - the mode
SystemException - if a system exception occurred
public List<DDMTemplate> findByS_T_M(long structureId,
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.
findByS_T_M in interface DDMTemplatePersistencestructureId - the structure IDtype - 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> findByS_T_M(long structureId,
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.
findByS_T_M in interface DDMTemplatePersistencestructureId - the structure IDtype - 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 findByS_T_M_First(long structureId,
String type,
String mode,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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.
findByS_T_M_First in interface DDMTemplatePersistencestructureId - the structure IDtype - 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 findByS_T_M_Last(long structureId,
String type,
String mode,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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.
findByS_T_M_Last in interface DDMTemplatePersistencestructureId - the structure IDtype - 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[] findByS_T_M_PrevAndNext(long templateId,
long structureId,
String type,
String mode,
OrderByComparator orderByComparator)
throws NoSuchTemplateException,
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.
findByS_T_M_PrevAndNext in interface DDMTemplatePersistencetemplateId - the primary key of the current d d m templatestructureId - the structure IDtype - 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 getByS_T_M_PrevAndNext(Session session,
DDMTemplate ddmTemplate,
long structureId,
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 void 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 removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface DDMTemplatePersistencegroupId - the group ID
SystemException - if a system exception occurred
public void removeByStructureId(long structureId)
throws SystemException
removeByStructureId in interface DDMTemplatePersistencestructureId - the structure ID
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 removeByS_T(long structureId,
String type)
throws SystemException
removeByS_T in interface DDMTemplatePersistencestructureId - the structure IDtype - the type
SystemException - if a system exception occurred
public void removeByS_T_M(long structureId,
String type,
String mode)
throws SystemException
removeByS_T_M in interface DDMTemplatePersistencestructureId - the structure IDtype - 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 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 countByStructureId(long structureId)
throws SystemException
countByStructureId in interface DDMTemplatePersistencestructureId - the structure ID
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 countByS_T(long structureId,
String type)
throws SystemException
countByS_T in interface DDMTemplatePersistencestructureId - the structure IDtype - the type
SystemException - if a system exception occurred
public int countByS_T_M(long structureId,
String type,
String mode)
throws SystemException
countByS_T_M in interface DDMTemplatePersistencestructureId - the structure IDtype - 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.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||