|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DLFileEntryTypePersistence
The persistence interface for the document library file entry type service.
Caching information and settings can be found in portal.properties
DLFileEntryTypePersistenceImpl
,
DLFileEntryTypeUtil
Method Summary | |
---|---|
void |
addDDMStructure(long pk,
DDMStructure ddmStructure)
Adds an association between the document library file entry type and the d d m structure. |
void |
addDDMStructure(long pk,
long ddmStructurePK)
Adds an association between the document library file entry type and the d d m structure. |
void |
addDDMStructures(long pk,
List<DDMStructure> ddmStructures)
Adds an association between the document library file entry type and the d d m structures. |
void |
addDDMStructures(long pk,
long[] ddmStructurePKs)
Adds an association between the document library file entry type and the d d m structures. |
void |
addDLFolder(long pk,
DLFolder dlFolder)
Adds an association between the document library file entry type and the document library folder. |
void |
addDLFolder(long pk,
long dlFolderPK)
Adds an association between the document library file entry type and the document library folder. |
void |
addDLFolders(long pk,
List<DLFolder> dlFolders)
Adds an association between the document library file entry type and the document library folders. |
void |
addDLFolders(long pk,
long[] dlFolderPKs)
Adds an association between the document library file entry type and the document library folders. |
void |
cacheResult(DLFileEntryType dlFileEntryType)
Caches the document library file entry type in the entity cache if it is enabled. |
void |
cacheResult(List<DLFileEntryType> dlFileEntryTypes)
Caches the document library file entry types in the entity cache if it is enabled. |
void |
clearDDMStructures(long pk)
Clears all associations between the document library file entry type and its d d m structures. |
void |
clearDLFolders(long pk)
Clears all associations between the document library file entry type and its document library folders. |
boolean |
containsDDMStructure(long pk,
long ddmStructurePK)
Returns true if the d d m structure is associated with the document library file entry type. |
boolean |
containsDDMStructures(long pk)
Returns true if the document library file entry type has any d d m structures associated with it. |
boolean |
containsDLFolder(long pk,
long dlFolderPK)
Returns true if the document library folder is associated with the document library file entry type. |
boolean |
containsDLFolders(long pk)
Returns true if the document library file entry type has any document library folders associated with it. |
int |
countAll()
Returns the number of document library file entry types. |
int |
countByG_N(long groupId,
String name)
Returns the number of document library file entry types where groupId = ? and name = ?. |
int |
countByGroupId(long groupId)
Returns the number of document library file entry types where groupId = ?. |
int |
countByGroupId(long[] groupIds)
Returns the number of document library file entry types where groupId = any ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of document library file entry types where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of document library file entry types where uuid = ?. |
DLFileEntryType |
create(long fileEntryTypeId)
Creates a new document library file entry type with the primary key. |
DLFileEntryType |
fetchByG_N(long groupId,
String name)
Returns the document library file entry type where groupId = ? and name = ? or returns null if it could not be found. |
DLFileEntryType |
fetchByG_N(long groupId,
String name,
boolean retrieveFromCache)
Returns the document library file entry type where groupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileEntryType |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first document library file entry type in the ordered set where groupId = ?. |
DLFileEntryType |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last document library file entry type in the ordered set where groupId = ?. |
DLFileEntryType |
fetchByPrimaryKey(long fileEntryTypeId)
Returns the document library file entry type with the primary key or returns null if it could not be found. |
DLFileEntryType |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ?. |
DLFileEntryType |
fetchByUUID_G(String uuid,
long groupId)
Returns the document library file entry type where uuid = ? and groupId = ? or returns null if it could not be found. |
DLFileEntryType |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the document library file entry type where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileEntryType |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of document library file entry types that the user has permission to view where groupId = ?. |
int |
filterCountByGroupId(long[] groupIds)
Returns the number of document library file entry types that the user has permission to view where groupId = any ?. |
DLFileEntryType[] |
filterFindByGroupId_PrevAndNext(long fileEntryTypeId,
long groupId,
OrderByComparator orderByComparator)
Returns the document library file entry types before and after the current document library file entry type in the ordered set of document library file entry types that the user has permission to view where groupId = ?. |
List<DLFileEntryType> |
filterFindByGroupId(long groupId)
Returns all the document library file entry types that the user has permission to view where groupId = ?. |
List<DLFileEntryType> |
filterFindByGroupId(long[] groupIds)
Returns all the document library file entry types that the user has permission to view where groupId = any ?. |
List<DLFileEntryType> |
filterFindByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the document library file entry types that the user has permission to view where groupId = any ?. |
List<DLFileEntryType> |
filterFindByGroupId(long[] groupIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry types that the user has permission to view where groupId = any ?. |
List<DLFileEntryType> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the document library file entry types that the user has permission to view where groupId = ?. |
List<DLFileEntryType> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry types that the user has permissions to view where groupId = ?. |
List<DLFileEntryType> |
findAll()
Returns all the document library file entry types. |
List<DLFileEntryType> |
findAll(int start,
int end)
Returns a range of all the document library file entry types. |
List<DLFileEntryType> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry types. |
DLFileEntryType |
findByG_N(long groupId,
String name)
Returns the document library file entry type where groupId = ? and name = ? or throws a NoSuchFileEntryTypeException if it could not be found. |
DLFileEntryType |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first document library file entry type in the ordered set where groupId = ?. |
DLFileEntryType |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last document library file entry type in the ordered set where groupId = ?. |
DLFileEntryType[] |
findByGroupId_PrevAndNext(long fileEntryTypeId,
long groupId,
OrderByComparator orderByComparator)
Returns the document library file entry types before and after the current document library file entry type in the ordered set where groupId = ?. |
List<DLFileEntryType> |
findByGroupId(long groupId)
Returns all the document library file entry types where groupId = ?. |
List<DLFileEntryType> |
findByGroupId(long[] groupIds)
Returns all the document library file entry types where groupId = any ?. |
List<DLFileEntryType> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the document library file entry types where groupId = any ?. |
List<DLFileEntryType> |
findByGroupId(long[] groupIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry types where groupId = any ?. |
List<DLFileEntryType> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the document library file entry types where groupId = ?. |
List<DLFileEntryType> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry types where groupId = ?. |
DLFileEntryType |
findByPrimaryKey(long fileEntryTypeId)
Returns the document library file entry type with the primary key or throws a NoSuchFileEntryTypeException if it could not be found. |
DLFileEntryType |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ?. |
DLFileEntryType |
findByUUID_G(String uuid,
long groupId)
Returns the document library file entry type where uuid = ? and groupId = ? or throws a NoSuchFileEntryTypeException if it could not be found. |
DLFileEntryType |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ?. |
DLFileEntryType[] |
findByUuid_PrevAndNext(long fileEntryTypeId,
String uuid,
OrderByComparator orderByComparator)
Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = ?. |
List<DLFileEntryType> |
findByUuid(String uuid)
Returns all the document library file entry types where uuid = ?. |
List<DLFileEntryType> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library file entry types where uuid = ?. |
List<DLFileEntryType> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry types where uuid = ?. |
List<DDMStructure> |
getDDMStructures(long pk)
Returns all the d d m structures associated with the document library file entry type. |
List<DDMStructure> |
getDDMStructures(long pk,
int start,
int end)
Returns a range of all the d d m structures associated with the document library file entry type. |
List<DDMStructure> |
getDDMStructures(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structures associated with the document library file entry type. |
int |
getDDMStructuresSize(long pk)
Returns the number of d d m structures associated with the document library file entry type. |
List<DLFolder> |
getDLFolders(long pk)
Returns all the document library folders associated with the document library file entry type. |
List<DLFolder> |
getDLFolders(long pk,
int start,
int end)
Returns a range of all the document library folders associated with the document library file entry type. |
List<DLFolder> |
getDLFolders(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders associated with the document library file entry type. |
int |
getDLFoldersSize(long pk)
Returns the number of document library folders associated with the document library file entry type. |
DLFileEntryType |
remove(long fileEntryTypeId)
Removes the document library file entry type with the primary key from the database. |
void |
removeAll()
Removes all the document library file entry types from the database. |
DLFileEntryType |
removeByG_N(long groupId,
String name)
Removes the document library file entry type where groupId = ? and name = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the document library file entry types where groupId = ? from the database. |
DLFileEntryType |
removeByUUID_G(String uuid,
long groupId)
Removes the document library file entry type where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the document library file entry types where uuid = ? from the database. |
void |
removeDDMStructure(long pk,
DDMStructure ddmStructure)
Removes the association between the document library file entry type and the d d m structure. |
void |
removeDDMStructure(long pk,
long ddmStructurePK)
Removes the association between the document library file entry type and the d d m structure. |
void |
removeDDMStructures(long pk,
List<DDMStructure> ddmStructures)
Removes the association between the document library file entry type and the d d m structures. |
void |
removeDDMStructures(long pk,
long[] ddmStructurePKs)
Removes the association between the document library file entry type and the d d m structures. |
void |
removeDLFolder(long pk,
DLFolder dlFolder)
Removes the association between the document library file entry type and the document library folder. |
void |
removeDLFolder(long pk,
long dlFolderPK)
Removes the association between the document library file entry type and the document library folder. |
void |
removeDLFolders(long pk,
List<DLFolder> dlFolders)
Removes the association between the document library file entry type and the document library folders. |
void |
removeDLFolders(long pk,
long[] dlFolderPKs)
Removes the association between the document library file entry type and the document library folders. |
void |
setDDMStructures(long pk,
List<DDMStructure> ddmStructures)
Sets the d d m structures associated with the document library file entry type, removing and adding associations as necessary. |
void |
setDDMStructures(long pk,
long[] ddmStructurePKs)
Sets the d d m structures associated with the document library file entry type, removing and adding associations as necessary. |
void |
setDLFolders(long pk,
List<DLFolder> dlFolders)
Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. |
void |
setDLFolders(long pk,
long[] dlFolderPKs)
Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. |
DLFileEntryType |
updateImpl(DLFileEntryType dlFileEntryType,
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(DLFileEntryType dlFileEntryType)
dlFileEntryType
- the document library file entry typevoid cacheResult(List<DLFileEntryType> dlFileEntryTypes)
dlFileEntryTypes
- the document library file entry typesDLFileEntryType create(long fileEntryTypeId)
fileEntryTypeId
- the primary key for the new document library file entry type
DLFileEntryType remove(long fileEntryTypeId) throws SystemException, NoSuchFileEntryTypeException
fileEntryTypeId
- the primary key of the document library file entry type
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
SystemException
- if a system exception occurredDLFileEntryType updateImpl(DLFileEntryType dlFileEntryType, boolean merge) throws SystemException
SystemException
DLFileEntryType findByPrimaryKey(long fileEntryTypeId) throws SystemException, NoSuchFileEntryTypeException
NoSuchFileEntryTypeException
if it could not be found.
fileEntryTypeId
- the primary key of the document library file entry type
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
SystemException
- if a system exception occurredDLFileEntryType fetchByPrimaryKey(long fileEntryTypeId) throws SystemException
null
if it could not be found.
fileEntryTypeId
- the primary key of the document library file entry type
null
if a document library file entry type with the primary key could not be found
SystemException
- if a system exception occurredList<DLFileEntryType> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<DLFileEntryType> 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 document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)
SystemException
- if a system exception occurredList<DLFileEntryType> 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 document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDLFileEntryType findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryTypeException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
SystemException
- if a system exception occurredDLFileEntryType fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry type could not be found
SystemException
- if a system exception occurredDLFileEntryType findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryTypeException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
SystemException
- if a system exception occurredDLFileEntryType fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry type could not be found
SystemException
- if a system exception occurredDLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryTypeException
fileEntryTypeId
- the primary key of the current document library file entry typeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
SystemException
- if a system exception occurredDLFileEntryType findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchFileEntryTypeException
NoSuchFileEntryTypeException
if it could not be found.
uuid
- the uuidgroupId
- the group ID
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
SystemException
- if a system exception occurredDLFileEntryType 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 document library file entry type could not be found
SystemException
- if a system exception occurredDLFileEntryType 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 document library file entry type could not be found
SystemException
- if a system exception occurredList<DLFileEntryType> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<DLFileEntryType> 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 document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)
SystemException
- if a system exception occurredList<DLFileEntryType> 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 document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDLFileEntryType findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryTypeException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
SystemException
- if a system exception occurredDLFileEntryType 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 document library file entry type could not be found
SystemException
- if a system exception occurredDLFileEntryType findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryTypeException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
SystemException
- if a system exception occurredDLFileEntryType 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 document library file entry type could not be found
SystemException
- if a system exception occurredDLFileEntryType[] findByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryTypeException
fileEntryTypeId
- the primary key of the current document library file entry typegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
SystemException
- if a system exception occurredList<DLFileEntryType> findByGroupId(long[] groupIds) 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.
groupIds
- the group IDs
SystemException
- if a system exception occurredList<DLFileEntryType> findByGroupId(long[] groupIds, 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.
groupIds
- the group IDsstart
- the lower bound of the range of document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)
SystemException
- if a system exception occurredList<DLFileEntryType> findByGroupId(long[] groupIds, 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.
groupIds
- the group IDsstart
- the lower bound of the range of document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredList<DLFileEntryType> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<DLFileEntryType> 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 document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)
SystemException
- if a system exception occurredList<DLFileEntryType> 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 document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDLFileEntryType[] filterFindByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryTypeException
fileEntryTypeId
- the primary key of the current document library file entry typegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
SystemException
- if a system exception occurredList<DLFileEntryType> filterFindByGroupId(long[] groupIds) throws SystemException
groupIds
- the group IDs
SystemException
- if a system exception occurredList<DLFileEntryType> filterFindByGroupId(long[] groupIds, 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.
groupIds
- the group IDsstart
- the lower bound of the range of document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)
SystemException
- if a system exception occurredList<DLFileEntryType> filterFindByGroupId(long[] groupIds, 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.
groupIds
- the group IDsstart
- the lower bound of the range of document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDLFileEntryType findByG_N(long groupId, String name) throws SystemException, NoSuchFileEntryTypeException
NoSuchFileEntryTypeException
if it could not be found.
groupId
- the group IDname
- the name
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
SystemException
- if a system exception occurredDLFileEntryType fetchByG_N(long groupId, String name) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDname
- the name
null
if a matching document library file entry type could not be found
SystemException
- if a system exception occurredDLFileEntryType fetchByG_N(long groupId, String name, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group IDname
- the nameretrieveFromCache
- whether to use the finder cache
null
if a matching document library file entry type could not be found
SystemException
- if a system exception occurredList<DLFileEntryType> findAll() throws SystemException
SystemException
- if a system exception occurredList<DLFileEntryType> 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 document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)
SystemException
- if a system exception occurredList<DLFileEntryType> 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 document library file entry typesend
- the upper bound of the range of document library file entry types (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 occurredDLFileEntryType removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchFileEntryTypeException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchFileEntryTypeException
void removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredDLFileEntryType removeByG_N(long groupId, String name) throws SystemException, NoSuchFileEntryTypeException
groupId
- the group IDname
- the name
SystemException
- if a system exception occurred
NoSuchFileEntryTypeException
void 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 countByGroupId(long[] groupIds) throws SystemException
groupIds
- the group IDs
SystemException
- if a system exception occurredint filterCountByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint filterCountByGroupId(long[] groupIds) throws SystemException
groupIds
- the group IDs
SystemException
- if a system exception occurredint countByG_N(long groupId, String name) throws SystemException
groupId
- the group IDname
- the name
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurredList<DLFolder> getDLFolders(long pk) throws SystemException
pk
- the primary key of the document library file entry type
SystemException
- if a system exception occurredList<DLFolder> getDLFolders(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 document library file entry typestart
- the lower bound of the range of document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)
SystemException
- if a system exception occurredList<DLFolder> getDLFolders(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 document library file entry typestart
- the lower bound of the range of document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredint getDLFoldersSize(long pk) throws SystemException
pk
- the primary key of the document library file entry type
SystemException
- if a system exception occurredboolean containsDLFolder(long pk, long dlFolderPK) throws SystemException
true
if the document library folder is associated with the document library file entry type.
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library folder
true
if the document library folder is associated with the document library file entry type; false
otherwise
SystemException
- if a system exception occurredboolean containsDLFolders(long pk) throws SystemException
true
if the document library file entry type has any document library folders associated with it.
pk
- the primary key of the document library file entry type to check for associations with document library folders
true
if the document library file entry type has any document library folders associated with it; false
otherwise
SystemException
- if a system exception occurredvoid addDLFolder(long pk, long dlFolderPK) throws SystemException
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library folder
SystemException
- if a system exception occurredvoid addDLFolder(long pk, DLFolder dlFolder) throws SystemException
pk
- the primary key of the document library file entry typedlFolder
- the document library folder
SystemException
- if a system exception occurredvoid addDLFolders(long pk, long[] dlFolderPKs) throws SystemException
pk
- the primary key of the document library file entry typedlFolderPKs
- the primary keys of the document library folders
SystemException
- if a system exception occurredvoid addDLFolders(long pk, List<DLFolder> dlFolders) throws SystemException
pk
- the primary key of the document library file entry typedlFolders
- the document library folders
SystemException
- if a system exception occurredvoid clearDLFolders(long pk) throws SystemException
pk
- the primary key of the document library file entry type to clear the associated document library folders from
SystemException
- if a system exception occurredvoid removeDLFolder(long pk, long dlFolderPK) throws SystemException
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library folder
SystemException
- if a system exception occurredvoid removeDLFolder(long pk, DLFolder dlFolder) throws SystemException
pk
- the primary key of the document library file entry typedlFolder
- the document library folder
SystemException
- if a system exception occurredvoid removeDLFolders(long pk, long[] dlFolderPKs) throws SystemException
pk
- the primary key of the document library file entry typedlFolderPKs
- the primary keys of the document library folders
SystemException
- if a system exception occurredvoid removeDLFolders(long pk, List<DLFolder> dlFolders) throws SystemException
pk
- the primary key of the document library file entry typedlFolders
- the document library folders
SystemException
- if a system exception occurredvoid setDLFolders(long pk, long[] dlFolderPKs) throws SystemException
pk
- the primary key of the document library file entry typedlFolderPKs
- the primary keys of the document library folders to be associated with the document library file entry type
SystemException
- if a system exception occurredvoid setDLFolders(long pk, List<DLFolder> dlFolders) throws SystemException
pk
- the primary key of the document library file entry typedlFolders
- the document library folders to be associated with the document library file entry type
SystemException
- if a system exception occurredList<DDMStructure> getDDMStructures(long pk) throws SystemException
pk
- the primary key of the document library file entry type
SystemException
- if a system exception occurredList<DDMStructure> getDDMStructures(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 document library file entry typestart
- the lower bound of the range of document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)
SystemException
- if a system exception occurredList<DDMStructure> getDDMStructures(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 document library file entry typestart
- the lower bound of the range of document library file entry typesend
- the upper bound of the range of document library file entry types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredint getDDMStructuresSize(long pk) throws SystemException
pk
- the primary key of the document library file entry type
SystemException
- if a system exception occurredboolean containsDDMStructure(long pk, long ddmStructurePK) throws SystemException
true
if the d d m structure is associated with the document library file entry type.
pk
- the primary key of the document library file entry typeddmStructurePK
- the primary key of the d d m structure
true
if the d d m structure is associated with the document library file entry type; false
otherwise
SystemException
- if a system exception occurredboolean containsDDMStructures(long pk) throws SystemException
true
if the document library file entry type has any d d m structures associated with it.
pk
- the primary key of the document library file entry type to check for associations with d d m structures
true
if the document library file entry type has any d d m structures associated with it; false
otherwise
SystemException
- if a system exception occurredvoid addDDMStructure(long pk, long ddmStructurePK) throws SystemException
pk
- the primary key of the document library file entry typeddmStructurePK
- the primary key of the d d m structure
SystemException
- if a system exception occurredvoid addDDMStructure(long pk, DDMStructure ddmStructure) throws SystemException
pk
- the primary key of the document library file entry typeddmStructure
- the d d m structure
SystemException
- if a system exception occurredvoid addDDMStructures(long pk, long[] ddmStructurePKs) throws SystemException
pk
- the primary key of the document library file entry typeddmStructurePKs
- the primary keys of the d d m structures
SystemException
- if a system exception occurredvoid addDDMStructures(long pk, List<DDMStructure> ddmStructures) throws SystemException
pk
- the primary key of the document library file entry typeddmStructures
- the d d m structures
SystemException
- if a system exception occurredvoid clearDDMStructures(long pk) throws SystemException
pk
- the primary key of the document library file entry type to clear the associated d d m structures from
SystemException
- if a system exception occurredvoid removeDDMStructure(long pk, long ddmStructurePK) throws SystemException
pk
- the primary key of the document library file entry typeddmStructurePK
- the primary key of the d d m structure
SystemException
- if a system exception occurredvoid removeDDMStructure(long pk, DDMStructure ddmStructure) throws SystemException
pk
- the primary key of the document library file entry typeddmStructure
- the d d m structure
SystemException
- if a system exception occurredvoid removeDDMStructures(long pk, long[] ddmStructurePKs) throws SystemException
pk
- the primary key of the document library file entry typeddmStructurePKs
- the primary keys of the d d m structures
SystemException
- if a system exception occurredvoid removeDDMStructures(long pk, List<DDMStructure> ddmStructures) throws SystemException
pk
- the primary key of the document library file entry typeddmStructures
- the d d m structures
SystemException
- if a system exception occurredvoid setDDMStructures(long pk, long[] ddmStructurePKs) throws SystemException
pk
- the primary key of the document library file entry typeddmStructurePKs
- the primary keys of the d d m structures to be associated with the document library file entry type
SystemException
- if a system exception occurredvoid setDDMStructures(long pk, List<DDMStructure> ddmStructures) throws SystemException
pk
- the primary key of the document library file entry typeddmStructures
- the d d m structures to be associated with the document library file entry type
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 |