|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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
Nested Class Summary | |
---|---|
protected class |
DDMStructurePersistenceImpl.AddDLFileEntryType
|
protected class |
DDMStructurePersistenceImpl.ClearDLFileEntryTypes
|
protected class |
DDMStructurePersistenceImpl.ContainsDLFileEntryType
|
protected class |
DDMStructurePersistenceImpl.RemoveDLFileEntryType
|
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 |
addDLFileEntryType(long pk,
DLFileEntryType dlFileEntryType)
Adds an association between the d d m structure and the document library file entry type. |
void |
addDLFileEntryType(long pk,
long dlFileEntryTypePK)
Adds an association between the d d m structure and the document library file entry type. |
void |
addDLFileEntryTypes(long pk,
List<DLFileEntryType> dlFileEntryTypes)
Adds an association between the d d m structure and the document library file entry types. |
void |
addDLFileEntryTypes(long pk,
long[] dlFileEntryTypePKs)
Adds an association between the d d m structure and the document library file entry types. |
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. |
protected void |
cacheUniqueFindersCache(DDMStructure ddmStructure)
|
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. |
void |
clearDLFileEntryTypes(long pk)
Clears all associations between the d d m structure and its document library file entry types. |
protected void |
clearUniqueFindersCache(DDMStructure ddmStructure)
|
boolean |
containsDLFileEntryType(long pk,
long dlFileEntryTypePK)
Returns true if the document library file entry type is associated with the d d m structure. |
boolean |
containsDLFileEntryTypes(long pk)
Returns true if the d d m structure has any document library file entry types associated with it. |
int |
countAll()
Returns the number of d d m structures. |
int |
countByC_C(long companyId,
long classNameId)
Returns the number of d d m structures where companyId = ? and classNameId = ?. |
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 |
fetchByC_C_First(long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?. |
DDMStructure |
fetchByC_C_Last(long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?. |
DDMStructure |
fetchByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where classNameId = ?. |
DDMStructure |
fetchByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where classNameId = ?. |
DDMStructure |
fetchByG_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 |
fetchByG_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 |
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 |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where groupId = ?. |
DDMStructure |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where groupId = ?. |
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_First(String uuid,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where uuid = ?. |
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. |
DDMStructure |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where uuid = ?. |
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 |
findByC_C_First(long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?. |
DDMStructure |
findByC_C_Last(long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?. |
DDMStructure[] |
findByC_C_PrevAndNext(long structureId,
long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where companyId = ? and classNameId = ?. |
List<DDMStructure> |
findByC_C(long companyId,
long classNameId)
Returns all the d d m structures where companyId = ? and classNameId = ?. |
List<DDMStructure> |
findByC_C(long companyId,
long classNameId,
int start,
int end)
Returns a range of all the d d m structures where companyId = ? and classNameId = ?. |
List<DDMStructure> |
findByC_C(long companyId,
long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structures where companyId = ? and classNameId = ?. |
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 |
getByC_C_PrevAndNext(Session session,
DDMStructure ddmStructure,
long companyId,
long classNameId,
OrderByComparator orderByComparator,
boolean previous)
|
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)
|
List<DLFileEntryType> |
getDLFileEntryTypes(long pk)
Returns all the document library file entry types associated with the d d m structure. |
List<DLFileEntryType> |
getDLFileEntryTypes(long pk,
int start,
int end)
Returns a range of all the document library file entry types associated with the d d m structure. |
List<DLFileEntryType> |
getDLFileEntryTypes(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry types associated with the d d m structure. |
int |
getDLFileEntryTypesSize(long pk)
Returns the number of document library file entry types associated with the d d m structure. |
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 |
removeByC_C(long companyId,
long classNameId)
Removes all the d d m structures where companyId = ? and classNameId = ? 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. |
DDMStructure |
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. |
DDMStructure |
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. |
void |
removeDLFileEntryType(long pk,
DLFileEntryType dlFileEntryType)
Removes the association between the d d m structure and the document library file entry type. |
void |
removeDLFileEntryType(long pk,
long dlFileEntryTypePK)
Removes the association between the d d m structure and the document library file entry type. |
void |
removeDLFileEntryTypes(long pk,
List<DLFileEntryType> dlFileEntryTypes)
Removes the association between the d d m structure and the document library file entry types. |
void |
removeDLFileEntryTypes(long pk,
long[] dlFileEntryTypePKs)
Removes the association between the d d m structure and the document library file entry types. |
protected DDMStructure |
removeImpl(DDMStructure ddmStructure)
Removes the model instance from the database. |
void |
setDLFileEntryTypes(long pk,
List<DLFileEntryType> dlFileEntryTypes)
Sets the document library file entry types associated with the d d m structure, removing and adding associations as necessary. |
void |
setDLFileEntryTypes(long pk,
long[] dlFileEntryTypePKs)
Sets the document library file entry types associated with the d d m structure, removing and adding associations as necessary. |
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, getClassLoader, 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_C_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_C_C
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
public static final FinderPath FINDER_PATH_GET_DLFILEENTRYTYPES
public static final FinderPath FINDER_PATH_GET_DLFILEENTRYTYPES_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_DLFILEENTRYTYPE
@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
protected DDMStructurePersistenceImpl.ContainsDLFileEntryType containsDLFileEntryType
protected DDMStructurePersistenceImpl.AddDLFileEntryType addDLFileEntryType
protected DDMStructurePersistenceImpl.ClearDLFileEntryTypes clearDLFileEntryTypes
protected DDMStructurePersistenceImpl.RemoveDLFileEntryType removeDLFileEntryType
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 cacheUniqueFindersCache(DDMStructure ddmStructure)
protected 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
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 fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_First
in interface DDMStructurePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
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
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 fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_Last
in interface DDMStructurePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
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
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
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 fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
fetchByGroupId_First
in interface DDMStructurePersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
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
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 fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
fetchByGroupId_Last
in interface DDMStructurePersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
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
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
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 fetchByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws SystemException
fetchByClassNameId_First
in interface DDMStructurePersistence
classNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
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
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 fetchByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws SystemException
fetchByClassNameId_Last
in interface DDMStructurePersistence
classNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
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
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> findByC_C(long companyId, long classNameId) throws SystemException
findByC_C
in interface DDMStructurePersistence
companyId
- the company IDclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic List<DDMStructure> findByC_C(long companyId, 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.
findByC_C
in interface DDMStructurePersistence
companyId
- the company IDclassNameId
- 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> findByC_C(long companyId, 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.
findByC_C
in interface DDMStructurePersistence
companyId
- the company IDclassNameId
- 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 findByC_C_First(long companyId, long classNameId, OrderByComparator orderByComparator) throws NoSuchStructureException, SystemException
findByC_C_First
in interface DDMStructurePersistence
companyId
- the company IDclassNameId
- 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 fetchByC_C_First(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException
fetchByC_C_First
in interface DDMStructurePersistence
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure findByC_C_Last(long companyId, long classNameId, OrderByComparator orderByComparator) throws NoSuchStructureException, SystemException
findByC_C_Last
in interface DDMStructurePersistence
companyId
- the company IDclassNameId
- 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 fetchByC_C_Last(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException
fetchByC_C_Last
in interface DDMStructurePersistence
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic DDMStructure[] findByC_C_PrevAndNext(long structureId, long companyId, long classNameId, OrderByComparator orderByComparator) throws NoSuchStructureException, SystemException
findByC_C_PrevAndNext
in interface DDMStructurePersistence
structureId
- the primary key of the current d d m structurecompanyId
- the company IDclassNameId
- 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 getByC_C_PrevAndNext(Session session, DDMStructure ddmStructure, long companyId, long classNameId, OrderByComparator orderByComparator, boolean previous)
public 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
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 fetchByG_N_D_First(long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException
fetchByG_N_D_First
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)
null
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
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 fetchByG_N_D_Last(long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException
fetchByG_N_D_Last
in interface DDMStructurePersistence
groupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)
null
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
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 DDMStructure 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 DDMStructure 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 removeByC_C(long companyId, long classNameId) throws SystemException
removeByC_C
in interface DDMStructurePersistence
companyId
- the company IDclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic 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 countByC_C(long companyId, long classNameId) throws SystemException
countByC_C
in interface DDMStructurePersistence
companyId
- the company IDclassNameId
- the class name ID
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 List<DLFileEntryType> getDLFileEntryTypes(long pk) throws SystemException
getDLFileEntryTypes
in interface DDMStructurePersistence
pk
- the primary key of the d d m structure
SystemException
- if a system exception occurredpublic List<DLFileEntryType> getDLFileEntryTypes(long pk, 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.
getDLFileEntryTypes
in interface DDMStructurePersistence
pk
- the primary key of the d d m structurestart
- 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<DLFileEntryType> getDLFileEntryTypes(long pk, 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.
getDLFileEntryTypes
in interface DDMStructurePersistence
pk
- the primary key of the d d m structurestart
- 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 int getDLFileEntryTypesSize(long pk) throws SystemException
getDLFileEntryTypesSize
in interface DDMStructurePersistence
pk
- the primary key of the d d m structure
SystemException
- if a system exception occurredpublic boolean containsDLFileEntryType(long pk, long dlFileEntryTypePK) throws SystemException
true
if the document library file entry type is associated with the d d m structure.
containsDLFileEntryType
in interface DDMStructurePersistence
pk
- the primary key of the d d m structuredlFileEntryTypePK
- the primary key of the document library file entry type
true
if the document library file entry type is associated with the d d m structure; false
otherwise
SystemException
- if a system exception occurredpublic boolean containsDLFileEntryTypes(long pk) throws SystemException
true
if the d d m structure has any document library file entry types associated with it.
containsDLFileEntryTypes
in interface DDMStructurePersistence
pk
- the primary key of the d d m structure to check for associations with document library file entry types
true
if the d d m structure has any document library file entry types associated with it; false
otherwise
SystemException
- if a system exception occurredpublic void addDLFileEntryType(long pk, long dlFileEntryTypePK) throws SystemException
addDLFileEntryType
in interface DDMStructurePersistence
pk
- the primary key of the d d m structuredlFileEntryTypePK
- the primary key of the document library file entry type
SystemException
- if a system exception occurredpublic void addDLFileEntryType(long pk, DLFileEntryType dlFileEntryType) throws SystemException
addDLFileEntryType
in interface DDMStructurePersistence
pk
- the primary key of the d d m structuredlFileEntryType
- the document library file entry type
SystemException
- if a system exception occurredpublic void addDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) throws SystemException
addDLFileEntryTypes
in interface DDMStructurePersistence
pk
- the primary key of the d d m structuredlFileEntryTypePKs
- the primary keys of the document library file entry types
SystemException
- if a system exception occurredpublic void addDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes) throws SystemException
addDLFileEntryTypes
in interface DDMStructurePersistence
pk
- the primary key of the d d m structuredlFileEntryTypes
- the document library file entry types
SystemException
- if a system exception occurredpublic void clearDLFileEntryTypes(long pk) throws SystemException
clearDLFileEntryTypes
in interface DDMStructurePersistence
pk
- the primary key of the d d m structure to clear the associated document library file entry types from
SystemException
- if a system exception occurredpublic void removeDLFileEntryType(long pk, long dlFileEntryTypePK) throws SystemException
removeDLFileEntryType
in interface DDMStructurePersistence
pk
- the primary key of the d d m structuredlFileEntryTypePK
- the primary key of the document library file entry type
SystemException
- if a system exception occurredpublic void removeDLFileEntryType(long pk, DLFileEntryType dlFileEntryType) throws SystemException
removeDLFileEntryType
in interface DDMStructurePersistence
pk
- the primary key of the d d m structuredlFileEntryType
- the document library file entry type
SystemException
- if a system exception occurredpublic void removeDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) throws SystemException
removeDLFileEntryTypes
in interface DDMStructurePersistence
pk
- the primary key of the d d m structuredlFileEntryTypePKs
- the primary keys of the document library file entry types
SystemException
- if a system exception occurredpublic void removeDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes) throws SystemException
removeDLFileEntryTypes
in interface DDMStructurePersistence
pk
- the primary key of the d d m structuredlFileEntryTypes
- the document library file entry types
SystemException
- if a system exception occurredpublic void setDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) throws SystemException
setDLFileEntryTypes
in interface DDMStructurePersistence
pk
- the primary key of the d d m structuredlFileEntryTypePKs
- the primary keys of the document library file entry types to be associated with the d d m structure
SystemException
- if a system exception occurredpublic void setDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes) throws SystemException
setDLFileEntryTypes
in interface DDMStructurePersistence
pk
- the primary key of the d d m structuredlFileEntryTypes
- the document library file entry types to be associated with the d d m structure
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |