|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DDMTemplatePersistence
The persistence interface for the d d m template service.
Caching information and settings can be found in portal.properties
DDMTemplatePersistenceImpl
,
DDMTemplateUtil
Method Summary | |
---|---|
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. |
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. |
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 |
fetchByS_T_First(long structureId,
String type,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where structureId = ? and type = ?. |
DDMTemplate |
fetchByS_T_Last(long structureId,
String type,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where structureId = ? and type = ?. |
DDMTemplate |
fetchByS_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 |
fetchByS_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 |
fetchByStructureId_First(long structureId,
OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where structureId = ?. |
DDMTemplate |
fetchByStructureId_Last(long structureId,
OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where structureId = ?. |
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_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 |
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 = ?. |
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 |
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 = ?. |
DDMTemplate |
remove(long templateId)
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. |
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. |
DDMTemplate |
updateImpl(DDMTemplate ddmTemplate,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void cacheResult(DDMTemplate ddmTemplate)
ddmTemplate
- the d d m templatevoid cacheResult(List<DDMTemplate> ddmTemplates)
ddmTemplates
- the d d m templatesDDMTemplate create(long templateId)
templateId
- the primary key for the new d d m template
DDMTemplate remove(long templateId) throws SystemException, NoSuchTemplateException
templateId
- 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 occurredDDMTemplate updateImpl(DDMTemplate ddmTemplate, boolean merge) throws SystemException
SystemException
DDMTemplate findByPrimaryKey(long templateId) throws SystemException, NoSuchTemplateException
NoSuchTemplateException
if it could not be found.
templateId
- 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 occurredDDMTemplate fetchByPrimaryKey(long templateId) throws SystemException
null
if it could not be found.
templateId
- 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 occurredList<DDMTemplate> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<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.
uuid
- the uuidstart
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)
SystemException
- if a system exception occurredList<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.
uuid
- the uuidstart
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDDMTemplate findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate[] findByUuid_PrevAndNext(long templateId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId
- the primary key of the current d d m templateuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a d d m template with the primary key could not be found
SystemException
- if a system exception occurredDDMTemplate findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchTemplateException
NoSuchTemplateException
if it could not be found.
uuid
- the uuidgroupId
- the group ID
NoSuchTemplateException
- if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group ID
null
if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching d d m template could not be found
SystemException
- if a system exception occurredList<DDMTemplate> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<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.
groupId
- the group IDstart
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)
SystemException
- if a system exception occurredList<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.
groupId
- the group IDstart
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDDMTemplate findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate[] findByGroupId_PrevAndNext(long templateId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId
- the primary key of the current d d m templategroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a d d m template with the primary key could not be found
SystemException
- if a system exception occurredList<DDMTemplate> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<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.
groupId
- the group IDstart
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)
SystemException
- if a system exception occurredList<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.
groupId
- the group IDstart
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDDMTemplate[] filterFindByGroupId_PrevAndNext(long templateId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId
- the primary key of the current d d m templategroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a d d m template with the primary key could not be found
SystemException
- if a system exception occurredList<DDMTemplate> findByStructureId(long structureId) throws SystemException
structureId
- the structure ID
SystemException
- if a system exception occurredList<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.
structureId
- 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 occurredList<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.
structureId
- 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 occurredDDMTemplate findByStructureId_First(long structureId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
structureId
- 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 occurredDDMTemplate fetchByStructureId_First(long structureId, OrderByComparator orderByComparator) throws SystemException
structureId
- the structure 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 occurredDDMTemplate findByStructureId_Last(long structureId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
structureId
- 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 occurredDDMTemplate fetchByStructureId_Last(long structureId, OrderByComparator orderByComparator) throws SystemException
structureId
- the structure 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 occurredDDMTemplate[] findByStructureId_PrevAndNext(long templateId, long structureId, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId
- 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 occurredList<DDMTemplate> findByType(String type) throws SystemException
type
- the type
SystemException
- if a system exception occurredList<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.
type
- the typestart
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)
SystemException
- if a system exception occurredList<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.
type
- the typestart
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDDMTemplate findByType_First(String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate fetchByType_First(String type, OrderByComparator orderByComparator) throws SystemException
type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate findByType_Last(String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate fetchByType_Last(String type, OrderByComparator orderByComparator) throws SystemException
type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate[] findByType_PrevAndNext(long templateId, String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId
- the primary key of the current d d m templatetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a d d m template with the primary key could not be found
SystemException
- if a system exception occurredList<DDMTemplate> findByLanguage(String language) throws SystemException
language
- the language
SystemException
- if a system exception occurredList<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.
language
- the languagestart
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)
SystemException
- if a system exception occurredList<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.
language
- the languagestart
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDDMTemplate findByLanguage_First(String language, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
language
- the languageorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate fetchByLanguage_First(String language, OrderByComparator orderByComparator) throws SystemException
language
- the languageorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate findByLanguage_Last(String language, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
language
- the languageorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate fetchByLanguage_Last(String language, OrderByComparator orderByComparator) throws SystemException
language
- the languageorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m template could not be found
SystemException
- if a system exception occurredDDMTemplate[] findByLanguage_PrevAndNext(long templateId, String language, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId
- the primary key of the current d d m templatelanguage
- the languageorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchTemplateException
- if a d d m template with the primary key could not be found
SystemException
- if a system exception occurredList<DDMTemplate> findByS_T(long structureId, String type) throws SystemException
structureId
- the structure IDtype
- the type
SystemException
- if a system exception occurredList<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.
structureId
- 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 occurredList<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.
structureId
- 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 occurredDDMTemplate findByS_T_First(long structureId, String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
structureId
- 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 occurredDDMTemplate fetchByS_T_First(long structureId, String type, OrderByComparator orderByComparator) throws SystemException
structureId
- the structure IDtype
- 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 occurredDDMTemplate findByS_T_Last(long structureId, String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
structureId
- 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 occurredDDMTemplate fetchByS_T_Last(long structureId, String type, OrderByComparator orderByComparator) throws SystemException
structureId
- the structure IDtype
- 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 occurredDDMTemplate[] findByS_T_PrevAndNext(long templateId, long structureId, String type, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId
- 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 occurredList<DDMTemplate> findByS_T_M(long structureId, String type, String mode) throws SystemException
structureId
- the structure IDtype
- the typemode
- the mode
SystemException
- if a system exception occurredList<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.
structureId
- 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 occurredList<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.
structureId
- 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 occurredDDMTemplate findByS_T_M_First(long structureId, String type, String mode, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
structureId
- 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 occurredDDMTemplate fetchByS_T_M_First(long structureId, String type, String mode, OrderByComparator orderByComparator) throws SystemException
structureId
- the structure IDtype
- 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 occurredDDMTemplate findByS_T_M_Last(long structureId, String type, String mode, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
structureId
- 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 occurredDDMTemplate fetchByS_T_M_Last(long structureId, String type, String mode, OrderByComparator orderByComparator) throws SystemException
structureId
- the structure IDtype
- 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 occurredDDMTemplate[] findByS_T_M_PrevAndNext(long templateId, long structureId, String type, String mode, OrderByComparator orderByComparator) throws SystemException, NoSuchTemplateException
templateId
- 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 occurredList<DDMTemplate> findAll() throws SystemException
SystemException
- if a system exception occurredList<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.
start
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)
SystemException
- if a system exception occurredList<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.
start
- the lower bound of the range of d d m templatesend
- the upper bound of the range of d d m templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredvoid removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredDDMTemplate removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchTemplateException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchTemplateException
void removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredvoid removeByStructureId(long structureId) throws SystemException
structureId
- the structure ID
SystemException
- if a system exception occurredvoid removeByType(String type) throws SystemException
type
- the type
SystemException
- if a system exception occurredvoid removeByLanguage(String language) throws SystemException
language
- the language
SystemException
- if a system exception occurredvoid removeByS_T(long structureId, String type) throws SystemException
structureId
- the structure IDtype
- the type
SystemException
- if a system exception occurredvoid removeByS_T_M(long structureId, String type, String mode) throws SystemException
structureId
- the structure IDtype
- the typemode
- the mode
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredint countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredint countByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint filterCountByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint countByStructureId(long structureId) throws SystemException
structureId
- the structure ID
SystemException
- if a system exception occurredint countByType(String type) throws SystemException
type
- the type
SystemException
- if a system exception occurredint countByLanguage(String language) throws SystemException
language
- the language
SystemException
- if a system exception occurredint countByS_T(long structureId, String type) throws SystemException
structureId
- the structure IDtype
- the type
SystemException
- if a system exception occurredint countByS_T_M(long structureId, String type, String mode) throws SystemException
structureId
- the structure IDtype
- the typemode
- the mode
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |