|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DDMStructurePersistence
The persistence interface for the d d m structure service.
Caching information and settings can be found in portal.properties
DDMStructurePersistenceImpl
,
DDMStructureUtil
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 |
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 |
clearDLFileEntryTypes(long pk)
Clears all associations between the d d m structure and its document library file entry types. |
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. |
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 |
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 = ?. |
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 |
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 = ?. |
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. |
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. |
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. |
DDMStructure |
updateImpl(DDMStructure ddmStructure,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void cacheResult(DDMStructure ddmStructure)
ddmStructure
- the d d m structurevoid cacheResult(List<DDMStructure> ddmStructures)
ddmStructures
- the d d m structuresDDMStructure create(long structureId)
structureId
- the primary key for the new d d m structure
DDMStructure remove(long structureId) throws SystemException, NoSuchStructureException
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 occurredDDMStructure updateImpl(DDMStructure ddmStructure, boolean merge) throws SystemException
SystemException
DDMStructure findByPrimaryKey(long structureId) throws SystemException, NoSuchStructureException
NoSuchStructureException
if it could not be found.
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 occurredDDMStructure fetchByPrimaryKey(long structureId) throws SystemException
null
if it could not be found.
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 occurredList<DDMStructure> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 occurredDDMStructure findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredDDMStructure fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredDDMStructure findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredDDMStructure fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredDDMStructure[] findByUuid_PrevAndNext(long structureId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredDDMStructure findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchStructureException
NoSuchStructureException
if it could not be found.
uuid
- the uuidgroupId
- the group ID
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredDDMStructure fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group ID
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredDDMStructure fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredList<DDMStructure> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 occurredDDMStructure findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredDDMStructure fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredDDMStructure findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredDDMStructure fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredDDMStructure[] findByGroupId_PrevAndNext(long structureId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredList<DDMStructure> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 occurredDDMStructure[] filterFindByGroupId_PrevAndNext(long structureId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredList<DDMStructure> findByClassNameId(long classNameId) throws SystemException
classNameId
- the class name ID
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 occurredDDMStructure findByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredDDMStructure fetchByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws SystemException
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 occurredDDMStructure findByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredDDMStructure fetchByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws SystemException
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 occurredDDMStructure[] findByClassNameId_PrevAndNext(long structureId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredDDMStructure findByG_S(long groupId, String structureKey) throws SystemException, NoSuchStructureException
NoSuchStructureException
if it could not be found.
groupId
- the group IDstructureKey
- the structure key
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredDDMStructure fetchByG_S(long groupId, String structureKey) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDstructureKey
- the structure key
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredDDMStructure fetchByG_S(long groupId, String structureKey, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
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 occurredList<DDMStructure> findByC_C(long companyId, long classNameId) throws SystemException
companyId
- the company IDclassNameId
- the class name ID
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 occurredDDMStructure findByC_C_First(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredDDMStructure fetchByC_C_First(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException
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 occurredDDMStructure findByC_C_Last(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredDDMStructure fetchByC_C_Last(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException
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 occurredDDMStructure[] findByC_C_PrevAndNext(long structureId, long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredList<DDMStructure> findByG_N_D(long groupId, String name, String description) throws SystemException
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 occurredDDMStructure findByG_N_D_First(long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredDDMStructure fetchByG_N_D_First(long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException
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 occurredDDMStructure findByG_N_D_Last(long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredDDMStructure fetchByG_N_D_Last(long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException
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 occurredDDMStructure[] findByG_N_D_PrevAndNext(long structureId, long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredList<DDMStructure> filterFindByG_N_D(long groupId, String name, String description) throws SystemException
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 occurredDDMStructure[] filterFindByG_N_D_PrevAndNext(long structureId, long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
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 occurredList<DDMStructure> findAll() throws SystemException
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 occurredvoid removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredDDMStructure removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchStructureException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchStructureException
void removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredvoid removeByClassNameId(long classNameId) throws SystemException
classNameId
- the class name ID
SystemException
- if a system exception occurredDDMStructure removeByG_S(long groupId, String structureKey) throws SystemException, NoSuchStructureException
groupId
- the group IDstructureKey
- the structure key
SystemException
- if a system exception occurred
NoSuchStructureException
void removeByC_C(long companyId, long classNameId) throws SystemException
companyId
- the company IDclassNameId
- the class name ID
SystemException
- if a system exception occurredvoid removeByG_N_D(long groupId, String name, String description) throws SystemException
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredint countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredint countByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint filterCountByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint countByClassNameId(long classNameId) throws SystemException
classNameId
- the class name ID
SystemException
- if a system exception occurredint countByG_S(long groupId, String structureKey) throws SystemException
groupId
- the group IDstructureKey
- the structure key
SystemException
- if a system exception occurredint countByC_C(long companyId, long classNameId) throws SystemException
companyId
- the company IDclassNameId
- the class name ID
SystemException
- if a system exception occurredint countByG_N_D(long groupId, String name, String description) throws SystemException
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredint filterCountByG_N_D(long groupId, String name, String description) throws SystemException
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurredList<DLFileEntryType> getDLFileEntryTypes(long pk) throws SystemException
pk
- the primary key of the d d m structure
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 occurredint getDLFileEntryTypesSize(long pk) throws SystemException
pk
- the primary key of the d d m structure
SystemException
- if a system exception occurredboolean containsDLFileEntryType(long pk, long dlFileEntryTypePK) throws SystemException
true
if the document library file entry type is associated with the d d m structure.
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 occurredboolean containsDLFileEntryTypes(long pk) throws SystemException
true
if the d d m structure has any document library file entry types associated with it.
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 occurredvoid addDLFileEntryType(long pk, long dlFileEntryTypePK) throws SystemException
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 occurredvoid addDLFileEntryType(long pk, DLFileEntryType dlFileEntryType) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryType
- the document library file entry type
SystemException
- if a system exception occurredvoid addDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) throws SystemException
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 occurredvoid addDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryTypes
- the document library file entry types
SystemException
- if a system exception occurredvoid clearDLFileEntryTypes(long pk) throws SystemException
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 occurredvoid removeDLFileEntryType(long pk, long dlFileEntryTypePK) throws SystemException
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 occurredvoid removeDLFileEntryType(long pk, DLFileEntryType dlFileEntryType) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryType
- the document library file entry type
SystemException
- if a system exception occurredvoid removeDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) throws SystemException
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 occurredvoid removeDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryTypes
- the document library file entry types
SystemException
- if a system exception occurredvoid setDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) throws SystemException
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 occurredvoid setDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes) throws SystemException
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 occurred
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |