|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<DDMStructure>
com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistenceImpl
public class DDMStructurePersistenceImpl
The persistence implementation for the d d m structure service.
Caching information and settings can be found in portal.properties
DDMStructurePersistence
,
DDMStructureUtil
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 | |
---|---|
DDMStructurePersistenceImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Initializes the d d m structure persistence. |
void |
cacheResult(DDMStructure ddmStructure)
Caches the d d m structure in the entity cache if it is enabled. |
void |
cacheResult(List<DDMStructure> ddmStructures)
Caches the d d m structures in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all d d m structures. |
void |
clearCache(DDMStructure ddmStructure)
Clears the cache for the d d m structure. |
void |
clearCache(List<DDMStructure> ddmStructures)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(DDMStructure ddmStructure)
|
int |
countAll()
Returns the number of d d m structures. |
int |
countByClassNameId(long classNameId)
Returns the number of d d m structures where classNameId = ?. |
int |
countByG_N_D(long groupId,
String name,
String description)
Returns the number of d d m structures where groupId = ? and name = ? and description = ?. |
int |
countByG_S(long groupId,
String structureKey)
Returns the number of d d m structures where groupId = ? and structureKey = ?. |
int |
countByGroupId(long groupId)
Returns the number of d d m structures where groupId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of d d m structures where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of d d m structures where uuid = ?. |
DDMStructure |
create(long structureId)
Creates a new d d m structure with the primary key. |
void |
destroy()
|
DDMStructure |
fetchByG_S(long groupId,
String structureKey)
Returns the d d m structure where groupId = ? and structureKey = ? or returns null if it could not be found. |
DDMStructure |
fetchByG_S(long groupId,
String structureKey,
boolean retrieveFromCache)
Returns the d d m structure where groupId = ? and structureKey = ? or returns null if it could not be found, optionally using the finder cache. |
DDMStructure |
fetchByPrimaryKey(long structureId)
Returns the d d m structure with the primary key or returns null if it could not be found. |
DDMStructure |
fetchByPrimaryKey(Serializable primaryKey)
Returns the d d m structure with the primary key or returns null if it could not be found. |
DDMStructure |
fetchByUUID_G(String uuid,
long groupId)
Returns the d d m structure where uuid = ? and groupId = ? or returns null if it could not be found. |
DDMStructure |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the d d m structure where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
int |
filterCountByG_N_D(long groupId,
String name,
String description)
Returns the number of d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of d d m structures that the user has permission to view where groupId = ?. |
DDMStructure[] |
filterFindByG_N_D_PrevAndNext(long structureId,
long groupId,
String name,
String description,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?. |
List<DDMStructure> |
filterFindByG_N_D(long groupId,
String name,
String description)
Returns all the d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?. |
List<DDMStructure> |
filterFindByG_N_D(long groupId,
String name,
String description,
int start,
int end)
Returns a range of all the d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?. |
List<DDMStructure> |
filterFindByG_N_D(long groupId,
String name,
String description,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ? and name = ? and description = ?. |
DDMStructure[] |
filterFindByGroupId_PrevAndNext(long structureId,
long groupId,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = ?. |
List<DDMStructure> |
filterFindByGroupId(long groupId)
Returns all the d d m structures that the user has permission to view where groupId = ?. |
List<DDMStructure> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the d d m structures that the user has permission to view where groupId = ?. |
List<DDMStructure> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ?. |
protected DDMStructure |
filterGetByG_N_D_PrevAndNext(Session session,
DDMStructure ddmStructure,
long groupId,
String name,
String description,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMStructure |
filterGetByGroupId_PrevAndNext(Session session,
DDMStructure ddmStructure,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
List<DDMStructure> |
findAll()
Returns all the d d m structures. |
List<DDMStructure> |
findAll(int start,
int end)
Returns a range of all the d d m structures. |
List<DDMStructure> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structures. |
DDMStructure |
findByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where classNameId = ?. |
DDMStructure |
findByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where classNameId = ?. |
DDMStructure[] |
findByClassNameId_PrevAndNext(long structureId,
long classNameId,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where classNameId = ?. |
List<DDMStructure> |
findByClassNameId(long classNameId)
Returns all the d d m structures where classNameId = ?. |
List<DDMStructure> |
findByClassNameId(long classNameId,
int start,
int end)
Returns a range of all the d d m structures where classNameId = ?. |
List<DDMStructure> |
findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structures where classNameId = ?. |
DDMStructure |
findByG_N_D_First(long groupId,
String name,
String description,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where groupId = ? and name = ? and description = ?. |
DDMStructure |
findByG_N_D_Last(long groupId,
String name,
String description,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where groupId = ? and name = ? and description = ?. |
DDMStructure[] |
findByG_N_D_PrevAndNext(long structureId,
long groupId,
String name,
String description,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ? and name = ? and description = ?. |
List<DDMStructure> |
findByG_N_D(long groupId,
String name,
String description)
Returns all the d d m structures where groupId = ? and name = ? and description = ?. |
List<DDMStructure> |
findByG_N_D(long groupId,
String name,
String description,
int start,
int end)
Returns a range of all the d d m structures where groupId = ? and name = ? and description = ?. |
List<DDMStructure> |
findByG_N_D(long groupId,
String name,
String description,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structures where groupId = ? and name = ? and description = ?. |
DDMStructure |
findByG_S(long groupId,
String structureKey)
Returns the d d m structure where groupId = ? and structureKey = ? or throws a NoSuchStructureException if it could not be found. |
DDMStructure |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where groupId = ?. |
DDMStructure |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where groupId = ?. |
DDMStructure[] |
findByGroupId_PrevAndNext(long structureId,
long groupId,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ?. |
List<DDMStructure> |
findByGroupId(long groupId)
Returns all the d d m structures where groupId = ?. |
List<DDMStructure> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the d d m structures where groupId = ?. |
List<DDMStructure> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structures where groupId = ?. |
DDMStructure |
findByPrimaryKey(long structureId)
Returns the d d m structure with the primary key or throws a NoSuchStructureException if it could not be found. |
DDMStructure |
findByPrimaryKey(Serializable primaryKey)
Returns the d d m structure with the primary key or throws a NoSuchModelException if it could not be found. |
DDMStructure |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where uuid = ?. |
DDMStructure |
findByUUID_G(String uuid,
long groupId)
Returns the d d m structure where uuid = ? and groupId = ? or throws a NoSuchStructureException if it could not be found. |
DDMStructure |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where uuid = ?. |
DDMStructure[] |
findByUuid_PrevAndNext(long structureId,
String uuid,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = ?. |
List<DDMStructure> |
findByUuid(String uuid)
Returns all the d d m structures where uuid = ?. |
List<DDMStructure> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the d d m structures where uuid = ?. |
List<DDMStructure> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structures where uuid = ?. |
protected DDMStructure |
getByClassNameId_PrevAndNext(Session session,
DDMStructure ddmStructure,
long classNameId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMStructure |
getByG_N_D_PrevAndNext(Session session,
DDMStructure ddmStructure,
long groupId,
String name,
String description,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMStructure |
getByGroupId_PrevAndNext(Session session,
DDMStructure ddmStructure,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMStructure |
getByUuid_PrevAndNext(Session session,
DDMStructure ddmStructure,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
DDMStructure |
remove(long structureId)
Removes the d d m structure with the primary key from the database. |
DDMStructure |
remove(Serializable primaryKey)
Removes the d d m structure with the primary key from the database. |
void |
removeAll()
Removes all the d d m structures from the database. |
void |
removeByClassNameId(long classNameId)
Removes all the d d m structures where classNameId = ? from the database. |
void |
removeByG_N_D(long groupId,
String name,
String description)
Removes all the d d m structures where groupId = ? and name = ? and description = ? from the database. |
void |
removeByG_S(long groupId,
String structureKey)
Removes the d d m structure where groupId = ? and structureKey = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the d d m structures where groupId = ? from the database. |
void |
removeByUUID_G(String uuid,
long groupId)
Removes the d d m structure where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the d d m structures where uuid = ? from the database. |
protected DDMStructure |
removeImpl(DDMStructure ddmStructure)
Removes the model instance from the database. |
protected DDMStructure |
toUnwrappedModel(DDMStructure ddmStructure)
|
DDMStructure |
updateImpl(DDMStructure ddmStructure,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
Field Detail |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_COUNT_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_FETCH_BY_G_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_D
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_D
public static final FinderPath FINDER_PATH_COUNT_BY_G_N_D
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=DDMContentPersistence.class) protected DDMContentPersistence ddmContentPersistence
@BeanReference(type=DDMStorageLinkPersistence.class) protected DDMStorageLinkPersistence ddmStorageLinkPersistence
@BeanReference(type=DDMStructurePersistence.class) protected DDMStructurePersistence ddmStructurePersistence
@BeanReference(type=DDMStructureLinkPersistence.class) protected DDMStructureLinkPersistence ddmStructureLinkPersistence
@BeanReference(type=DDMTemplatePersistence.class) protected DDMTemplatePersistence ddmTemplatePersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=DLFileEntryTypePersistence.class) protected DLFileEntryTypePersistence dlFileEntryTypePersistence
Constructor Detail |
---|
public DDMStructurePersistenceImpl()
Method Detail |
---|
public void cacheResult(DDMStructure ddmStructure)
cacheResult
in interface DDMStructurePersistence
ddmStructure
- the d d m structurepublic void cacheResult(List<DDMStructure> ddmStructures)
cacheResult
in interface DDMStructurePersistence
ddmStructures
- the d d m structurespublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<DDMStructure>
clearCache
in class BasePersistenceImpl<DDMStructure>
public void clearCache(DDMStructure ddmStructure)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<DDMStructure>
clearCache
in class BasePersistenceImpl<DDMStructure>
ddmStructure
- the instance of this model to clear the cache forpublic void clearCache(List<DDMStructure> ddmStructures)
BasePersistence
The EntityCache
and FinderCache
are both cleared by this
method.
clearCache
in interface BasePersistence<DDMStructure>
clearCache
in class BasePersistenceImpl<DDMStructure>
ddmStructures
- the List instances of this model to clear the cache forprotected void clearUniqueFindersCache(DDMStructure ddmStructure)
public DDMStructure create(long structureId)
create
in interface DDMStructurePersistence
structureId
- the primary key for the new d d m structure
public DDMStructure remove(long structureId) throws NoSuchStructureException, SystemException
remove
in interface DDMStructurePersistence
structureId
- the primary key of the d d m structure
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic DDMStructure remove(Serializable primaryKey) throws NoSuchStructureException, SystemException
remove
in interface BasePersistence<DDMStructure>
remove
in class BasePersistenceImpl<DDMStructure>
primaryKey
- the primary key of the d d m structure
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredprotected DDMStructure removeImpl(DDMStructure ddmStructure) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<DDMStructure>
ddmStructure
- the model instance to remove
SystemException
- if a system exception occurredpublic DDMStructure updateImpl(DDMStructure ddmStructure, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface DDMStructurePersistence
updateImpl
in class BasePersistenceImpl<DDMStructure>
ddmStructure
- the model instance to updatemerge
- whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredprotected DDMStructure toUnwrappedModel(DDMStructure ddmStructure)
public DDMStructure findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<DDMStructure>
findByPrimaryKey
in class BasePersistenceImpl<DDMStructure>
primaryKey
- the primary key of the d d m structure
NoSuchModelException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic DDMStructure findByPrimaryKey(long structureId) throws NoSuchStructureException, SystemException
NoSuchStructureException
if it could not be found.
findByPrimaryKey
in interface DDMStructurePersistence
structureId
- the primary key of the d d m structure
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic DDMStructure fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<DDMStructure>
fetchByPrimaryKey
in class BasePersistenceImpl<DDMStructure>
primaryKey
- the primary key of the d d m structure
null
if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic DDMStructure fetchByPrimaryKey(long structureId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface DDMStructurePersistence
structureId
- the primary key of the d d m structure
null
if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic List<DDMStructure> findByUuid(String uuid) throws SystemException
findByUuid
in interface DDMStructurePersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic List<DDMStructure> findByUuid(String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid
in interface DDMStructurePersistence
uuid
- the uuidstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic List<DDMStructure> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid
in interface DDMStructurePersistence
uuid
- the uuidstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic DDMStructure findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchStructureException, 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 DDMStructurePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchStructureException, 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 DDMStructurePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure[] findByUuid_PrevAndNext(long structureId, String uuid, OrderByComparator orderByComparator) throws NoSuchStructureException, 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 DDMStructurePersistence
structureId
- the primary key of the current d d m structureuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredprotected DDMStructure getByUuid_PrevAndNext(Session session, DDMStructure ddmStructure, String uuid, OrderByComparator orderByComparator, boolean previous)
public DDMStructure findByUUID_G(String uuid, long groupId) throws NoSuchStructureException, SystemException
NoSuchStructureException
if it could not be found.
findByUUID_G
in interface DDMStructurePersistence
uuid
- the uuidgroupId
- the group ID
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByUUID_G
in interface DDMStructurePersistence
uuid
- the uuidgroupId
- the group ID
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByUUID_G
in interface DDMStructurePersistence
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic List<DDMStructure> findByGroupId(long groupId) throws SystemException
findByGroupId
in interface DDMStructurePersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic List<DDMStructure> findByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId
in interface DDMStructurePersistence
groupId
- the group IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic List<DDMStructure> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId
in interface DDMStructurePersistence
groupId
- the group IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic DDMStructure findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchStructureException, 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 DDMStructurePersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchStructureException, 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 DDMStructurePersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure[] findByGroupId_PrevAndNext(long structureId, long groupId, OrderByComparator orderByComparator) throws NoSuchStructureException, 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 DDMStructurePersistence
structureId
- the primary key of the current d d m structuregroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredprotected DDMStructure getByGroupId_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<DDMStructure> filterFindByGroupId(long groupId) throws SystemException
filterFindByGroupId
in interface DDMStructurePersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic List<DDMStructure> filterFindByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByGroupId
in interface DDMStructurePersistence
groupId
- the group IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic List<DDMStructure> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByGroupId
in interface DDMStructurePersistence
groupId
- the group IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic DDMStructure[] filterFindByGroupId_PrevAndNext(long structureId, long groupId, OrderByComparator orderByComparator) throws NoSuchStructureException, SystemException
filterFindByGroupId_PrevAndNext
in interface DDMStructurePersistence
structureId
- the primary key of the current d d m structuregroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredprotected DDMStructure filterGetByGroupId_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<DDMStructure> findByClassNameId(long classNameId) throws SystemException
findByClassNameId
in interface DDMStructurePersistence
classNameId
- the class name ID
SystemException
- if a system exception occurredpublic List<DDMStructure> findByClassNameId(long classNameId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByClassNameId
in interface DDMStructurePersistence
classNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic List<DDMStructure> findByClassNameId(long classNameId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByClassNameId
in interface DDMStructurePersistence
classNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic DDMStructure findByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws NoSuchStructureException, 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.
findByClassNameId_First
in interface DDMStructurePersistence
classNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure findByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws NoSuchStructureException, 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.
findByClassNameId_Last
in interface DDMStructurePersistence
classNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure[] findByClassNameId_PrevAndNext(long structureId, long classNameId, OrderByComparator orderByComparator) throws NoSuchStructureException, 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.
findByClassNameId_PrevAndNext
in interface DDMStructurePersistence
structureId
- the primary key of the current d d m structureclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredprotected DDMStructure getByClassNameId_PrevAndNext(Session session, DDMStructure ddmStructure, long classNameId, OrderByComparator orderByComparator, boolean previous)
public DDMStructure findByG_S(long groupId, String structureKey) throws NoSuchStructureException, SystemException
NoSuchStructureException
if it could not be found.
findByG_S
in interface DDMStructurePersistence
groupId
- the group IDstructureKey
- the structure key
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure fetchByG_S(long groupId, String structureKey) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByG_S
in interface DDMStructurePersistence
groupId
- the group IDstructureKey
- the structure key
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure fetchByG_S(long groupId, String structureKey, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByG_S
in interface DDMStructurePersistence
groupId
- the group IDstructureKey
- the structure keyretrieveFromCache
- whether to use the finder cache
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic List<DDMStructure> findByG_N_D(long groupId, String name, String description) throws SystemException
findByG_N_D
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredpublic List<DDMStructure> findByG_N_D(long groupId, String name, String description, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_N_D
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic List<DDMStructure> findByG_N_D(long groupId, String name, String description, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_N_D
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic DDMStructure findByG_N_D_First(long groupId, String name, String description, OrderByComparator orderByComparator) throws NoSuchStructureException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_N_D_First
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure findByG_N_D_Last(long groupId, String name, String description, OrderByComparator orderByComparator) throws NoSuchStructureException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_N_D_Last
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure[] findByG_N_D_PrevAndNext(long structureId, long groupId, String name, String description, OrderByComparator orderByComparator) throws NoSuchStructureException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_N_D_PrevAndNext
in interface DDMStructurePersistence
structureId
- the primary key of the current d d m structuregroupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredprotected DDMStructure getByG_N_D_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, String name, String description, OrderByComparator orderByComparator, boolean previous)
public List<DDMStructure> filterFindByG_N_D(long groupId, String name, String description) throws SystemException
filterFindByG_N_D
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredpublic List<DDMStructure> filterFindByG_N_D(long groupId, String name, String description, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_N_D
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic List<DDMStructure> filterFindByG_N_D(long groupId, String name, String description, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_N_D
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic DDMStructure[] filterFindByG_N_D_PrevAndNext(long structureId, long groupId, String name, String description, OrderByComparator orderByComparator) throws NoSuchStructureException, SystemException
filterFindByG_N_D_PrevAndNext
in interface DDMStructurePersistence
structureId
- the primary key of the current d d m structuregroupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredprotected DDMStructure filterGetByG_N_D_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, String name, String description, OrderByComparator orderByComparator, boolean previous)
public List<DDMStructure> findAll() throws SystemException
findAll
in interface DDMStructurePersistence
SystemException
- if a system exception occurredpublic List<DDMStructure> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface DDMStructurePersistence
start
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic List<DDMStructure> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface DDMStructurePersistence
start
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic void removeByUuid(String uuid) throws SystemException
removeByUuid
in interface DDMStructurePersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic void removeByUUID_G(String uuid, long groupId) throws NoSuchStructureException, SystemException
removeByUUID_G
in interface DDMStructurePersistence
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchStructureException
public void removeByGroupId(long groupId) throws SystemException
removeByGroupId
in interface DDMStructurePersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic void removeByClassNameId(long classNameId) throws SystemException
removeByClassNameId
in interface DDMStructurePersistence
classNameId
- the class name ID
SystemException
- if a system exception occurredpublic void removeByG_S(long groupId, String structureKey) throws NoSuchStructureException, SystemException
removeByG_S
in interface DDMStructurePersistence
groupId
- the group IDstructureKey
- the structure key
SystemException
- if a system exception occurred
NoSuchStructureException
public void removeByG_N_D(long groupId, String name, String description) throws SystemException
removeByG_N_D
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredpublic void removeAll() throws SystemException
removeAll
in interface DDMStructurePersistence
SystemException
- if a system exception occurredpublic int countByUuid(String uuid) throws SystemException
countByUuid
in interface DDMStructurePersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic int countByUUID_G(String uuid, long groupId) throws SystemException
countByUUID_G
in interface DDMStructurePersistence
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredpublic int countByGroupId(long groupId) throws SystemException
countByGroupId
in interface DDMStructurePersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int filterCountByGroupId(long groupId) throws SystemException
filterCountByGroupId
in interface DDMStructurePersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int countByClassNameId(long classNameId) throws SystemException
countByClassNameId
in interface DDMStructurePersistence
classNameId
- the class name ID
SystemException
- if a system exception occurredpublic int countByG_S(long groupId, String structureKey) throws SystemException
countByG_S
in interface DDMStructurePersistence
groupId
- the group IDstructureKey
- the structure key
SystemException
- if a system exception occurredpublic int countByG_N_D(long groupId, String name, String description) throws SystemException
countByG_N_D
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredpublic int filterCountByG_N_D(long groupId, String name, String description) throws SystemException
filterCountByG_N_D
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface DDMStructurePersistence
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |