|
|||||||||
| 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<com.liferay.portlet.dynamicdatamapping.model.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| Field Summary | |
|---|---|
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence |
ddmContentPersistence
|
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence |
ddmStorageLinkPersistence
|
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence |
ddmStructureLinkPersistence
|
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence |
ddmStructurePersistence
|
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence |
ddmTemplatePersistence
|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_LANGUAGE
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_S_T
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_S_T_M
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_STRUCTUREID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_TYPE
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_G
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_UUID_G
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_LANGUAGE
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_S_T
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_S_T_M
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_STRUCTUREID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_TYPE
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LANGUAGE
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_S_T
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_S_T_M
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TYPE
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| 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(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
Caches the d d m template in the entity cache if it is enabled. |
void |
cacheResult(java.util.List<com.liferay.portlet.dynamicdatamapping.model.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(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
Clears the cache for the d d m template. |
void |
clearCache(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> ddmTemplates)
|
protected void |
clearUniqueFindersCache(com.liferay.portlet.dynamicdatamapping.model.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(java.lang.String language)
Returns the number of d d m templates where language = ?. |
int |
countByS_T_M(long structureId,
java.lang.String type,
java.lang.String mode)
Returns the number of d d m templates where structureId = ? and type = ? and mode = ?. |
int |
countByS_T(long structureId,
java.lang.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(java.lang.String type)
Returns the number of d d m templates where type = ?. |
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of d d m templates where uuid = ? and groupId = ?. |
int |
countByUuid(java.lang.String uuid)
Returns the number of d d m templates where uuid = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
create(long templateId)
Creates a new d d m template with the primary key. |
void |
destroy()
|
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
fetchByPrimaryKey(long templateId)
Returns the d d m template with the primary key or returns null if it could not be found. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the d d m template with the primary key or returns null if it could not be found. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the d d m template where uuid = ? and groupId = ? or returns null if it could not be found. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the d d m template where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
int |
filterCountByGroupId(long groupId)
Returns the number of d d m templates that the user has permission to view where groupId = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] |
filterFindByGroupId_PrevAndNext(long templateId,
long groupId,
com.liferay.portal.kernel.util.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 = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
filterFindByGroupId(long groupId)
Returns all the d d m templates that the user has permission to view where groupId = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.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 = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates that the user has permissions to view where groupId = ?. |
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findAll()
Returns all the d d m templates. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findAll(int start,
int end)
Returns a range of all the d d m templates. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where groupId = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where groupId = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] |
findByGroupId_PrevAndNext(long templateId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where groupId = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByGroupId(long groupId)
Returns all the d d m templates where groupId = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the d d m templates where groupId = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where groupId = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByLanguage_First(java.lang.String language,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where language = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByLanguage_Last(java.lang.String language,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where language = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] |
findByLanguage_PrevAndNext(long templateId,
java.lang.String language,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where language = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByLanguage(java.lang.String language)
Returns all the d d m templates where language = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByLanguage(java.lang.String language,
int start,
int end)
Returns a range of all the d d m templates where language = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByLanguage(java.lang.String language,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where language = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByPrimaryKey(long templateId)
Returns the d d m template with the primary key or throws a NoSuchTemplateException if it could not be found. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the d d m template with the primary key or throws a NoSuchModelException if it could not be found. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByS_T_First(long structureId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where structureId = ? and type = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByS_T_Last(long structureId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where structureId = ? and type = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByS_T_M_First(long structureId,
java.lang.String type,
java.lang.String mode,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where structureId = ? and type = ? and mode = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByS_T_M_Last(long structureId,
java.lang.String type,
java.lang.String mode,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where structureId = ? and type = ? and mode = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] |
findByS_T_M_PrevAndNext(long templateId,
long structureId,
java.lang.String type,
java.lang.String mode,
com.liferay.portal.kernel.util.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 = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByS_T_M(long structureId,
java.lang.String type,
java.lang.String mode)
Returns all the d d m templates where structureId = ? and type = ? and mode = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByS_T_M(long structureId,
java.lang.String type,
java.lang.String mode,
int start,
int end)
Returns a range of all the d d m templates where structureId = ? and type = ? and mode = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByS_T_M(long structureId,
java.lang.String type,
java.lang.String mode,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where structureId = ? and type = ? and mode = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] |
findByS_T_PrevAndNext(long templateId,
long structureId,
java.lang.String type,
com.liferay.portal.kernel.util.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 = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByS_T(long structureId,
java.lang.String type)
Returns all the d d m templates where structureId = ? and type = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByS_T(long structureId,
java.lang.String type,
int start,
int end)
Returns a range of all the d d m templates where structureId = ? and type = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByS_T(long structureId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where structureId = ? and type = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByStructureId_First(long structureId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where structureId = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByStructureId_Last(long structureId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where structureId = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] |
findByStructureId_PrevAndNext(long templateId,
long structureId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where structureId = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByStructureId(long structureId)
Returns all the d d m templates where structureId = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByStructureId(long structureId,
int start,
int end)
Returns a range of all the d d m templates where structureId = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByStructureId(long structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where structureId = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByType_First(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where type = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByType_Last(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where type = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] |
findByType_PrevAndNext(long templateId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where type = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByType(java.lang.String type)
Returns all the d d m templates where type = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByType(java.lang.String type,
int start,
int end)
Returns a range of all the d d m templates where type = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByType(java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where type = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first d d m template in the ordered set where uuid = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the d d m template where uuid = ? and groupId = ? or throws a NoSuchTemplateException if it could not be found. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last d d m template in the ordered set where uuid = ?. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] |
findByUuid_PrevAndNext(long templateId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the d d m templates before and after the current d d m template in the ordered set where uuid = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByUuid(java.lang.String uuid)
Returns all the d d m templates where uuid = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the d d m templates where uuid = ?. |
java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the d d m templates where uuid = ?. |
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
getByLanguage_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
java.lang.String language,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
getByS_T_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
long structureId,
java.lang.String type,
java.lang.String mode,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
getByS_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
long structureId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
getByStructureId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
long structureId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
getByType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
remove(long templateId)
Removes the d d m template with the primary key from the database. |
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
remove(java.io.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(java.lang.String language)
Removes all the d d m templates where language = ? from the database. |
void |
removeByS_T_M(long structureId,
java.lang.String type,
java.lang.String mode)
Removes all the d d m templates where structureId = ? and type = ? and mode = ? from the database. |
void |
removeByS_T(long structureId,
java.lang.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(java.lang.String type)
Removes all the d d m templates where type = ? from the database. |
void |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the d d m template where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(java.lang.String uuid)
Removes all the d d m templates where uuid = ? from the database. |
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
removeImpl(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
|
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
toUnwrappedModel(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
|
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate |
updateImpl(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
boolean merge)
|
| 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 java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_STRUCTUREID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_STRUCTUREID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TYPE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TYPE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TYPE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LANGUAGE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LANGUAGE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_LANGUAGE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_S_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_S_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_S_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_S_T_M
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_S_T_M
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_S_T_M
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence.class) protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence ddmContentPersistence
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence.class) protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence ddmStorageLinkPersistence
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence.class) protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence ddmStructurePersistence
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence.class) protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence ddmStructureLinkPersistence
@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence.class) protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence ddmTemplatePersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
| Constructor Detail |
|---|
public DDMTemplatePersistenceImpl()
| Method Detail |
|---|
public void cacheResult(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
cacheResult in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceddmTemplate - the d d m templatepublic void cacheResult(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> ddmTemplates)
cacheResult in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceddmTemplates - the d d m templatespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>public void clearCache(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>public void clearCache(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> ddmTemplates)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>protected void clearUniqueFindersCache(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate create(long templateId)
create in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetemplateId - the primary key for the new d d m template
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate remove(long templateId)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetemplateId - the primary key of the d d m template
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>primaryKey - the primary key of the d d m template
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate removeImpl(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>com.liferay.portal.kernel.exception.SystemException
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate updateImpl(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate toUnwrappedModel(com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>primaryKey - the primary key of the d d m template
com.liferay.portal.NoSuchModelException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByPrimaryKey(long templateId)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException if it could not be found.
findByPrimaryKey in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetemplateId - the primary key of the d d m template
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.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
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchByPrimaryKey(long templateId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portlet.dynamicdatamapping.service.persistence.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
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
findByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceuuid - the uuid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByUuid_PrevAndNext(long templateId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetemplateId - the primary key of the current d d m templateuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.SystemException
NoSuchTemplateException if it could not be found.
findByUUID_G in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceuuid - the uuidgroupId - the group ID
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceuuid - the uuidgroupId - the group ID
null if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cache
null if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
findByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByGroupId_PrevAndNext(long templateId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetemplateId - the primary key of the current d d m templategroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] filterFindByGroupId_PrevAndNext(long templateId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.SystemException
filterFindByGroupId_PrevAndNext in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetemplateId - the primary key of the current d d m templategroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByStructureId(long structureId)
throws com.liferay.portal.kernel.exception.SystemException
findByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByStructureId(long structureId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByStructureId(long structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByStructureId_First(long structureId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByStructureId_Last(long structureId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByStructureId_PrevAndNext(long templateId,
long structureId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetemplateId - the primary key of the current d d m templatestructureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByStructureId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
long structureId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByType(java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException
findByType in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetype - the type
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByType(java.lang.String type,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByType(java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByType_First(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetype - the typeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByType_Last(java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetype - the typeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByType_PrevAndNext(long templateId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetemplateId - the primary key of the current d d m templatetype - the typeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByLanguage(java.lang.String language)
throws com.liferay.portal.kernel.exception.SystemException
findByLanguage in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencelanguage - the language
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByLanguage(java.lang.String language,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByLanguage(java.lang.String language,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByLanguage_First(java.lang.String language,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencelanguage - the languageorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByLanguage_Last(java.lang.String language,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencelanguage - the languageorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByLanguage_PrevAndNext(long templateId,
java.lang.String language,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetemplateId - the primary key of the current d d m templatelanguage - the languageorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByLanguage_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
java.lang.String language,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T(long structureId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException
findByS_T in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure IDtype - the type
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T(long structureId,
java.lang.String type,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T(long structureId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByS_T_First(long structureId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByS_T_Last(long structureId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByS_T_PrevAndNext(long templateId,
long structureId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByS_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
long structureId,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T_M(long structureId,
java.lang.String type,
java.lang.String mode)
throws com.liferay.portal.kernel.exception.SystemException
findByS_T_M in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure IDtype - the typemode - the mode
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T_M(long structureId,
java.lang.String type,
java.lang.String mode,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByS_T_M(long structureId,
java.lang.String type,
java.lang.String mode,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByS_T_M_First(long structureId,
java.lang.String type,
java.lang.String mode,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure IDtype - the typemode - the modeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate findByS_T_M_Last(long structureId,
java.lang.String type,
java.lang.String mode,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure IDtype - the typemode - the modeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a matching d d m template could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate[] findByS_T_M_PrevAndNext(long templateId,
long structureId,
java.lang.String type,
java.lang.String mode,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException - if a d d m template with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getByS_T_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
long structureId,
java.lang.String type,
java.lang.String mode,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.dynamicdatamapping.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
removeByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceuuid - the uuid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException,
com.liferay.portal.kernel.exception.SystemException
removeByUUID_G in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceuuid - the uuidgroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.dynamicdatamapping.NoSuchTemplateException
public void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
removeByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByStructureId(long structureId)
throws com.liferay.portal.kernel.exception.SystemException
removeByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByType(java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException
removeByType in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetype - the type
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByLanguage(java.lang.String language)
throws com.liferay.portal.kernel.exception.SystemException
removeByLanguage in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencelanguage - the language
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByS_T(long structureId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException
removeByS_T in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure IDtype - the type
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByS_T_M(long structureId,
java.lang.String type,
java.lang.String mode)
throws com.liferay.portal.kernel.exception.SystemException
removeByS_T_M in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure IDtype - the typemode - the mode
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
countByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceuuid - the uuid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
countByUUID_G in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistenceuuid - the uuidgroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
countByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int filterCountByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByGroupId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencegroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByStructureId(long structureId)
throws com.liferay.portal.kernel.exception.SystemException
countByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByType(java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException
countByType in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencetype - the type
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByLanguage(java.lang.String language)
throws com.liferay.portal.kernel.exception.SystemException
countByLanguage in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencelanguage - the language
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByS_T(long structureId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.SystemException
countByS_T in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure IDtype - the type
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByS_T_M(long structureId,
java.lang.String type,
java.lang.String mode)
throws com.liferay.portal.kernel.exception.SystemException
countByS_T_M in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencestructureId - the structure IDtype - the typemode - the mode
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||