@ProviderType
public class DLFileEntryTypeUtil
extends java.lang.Object
DLFileEntryTypePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DLFileEntryTypePersistence,
DLFileEntryTypePersistenceImpl| Constructor and Description |
|---|
DLFileEntryTypeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addDDMStructure(long pk,
DDMStructure ddmStructure)
Adds an association between the document library file entry type and the d d m structure.
|
static void |
addDDMStructure(long pk,
long ddmStructurePK)
Adds an association between the document library file entry type and the d d m structure.
|
static void |
addDDMStructures(long pk,
java.util.List<DDMStructure> ddmStructures)
Adds an association between the document library file entry type and the d d m structures.
|
static void |
addDDMStructures(long pk,
long[] ddmStructurePKs)
Adds an association between the document library file entry type and the d d m structures.
|
static void |
addDLFolder(long pk,
DLFolder dlFolder)
Adds an association between the document library file entry type and the document library folder.
|
static void |
addDLFolder(long pk,
long dlFolderPK)
Adds an association between the document library file entry type and the document library folder.
|
static void |
addDLFolders(long pk,
java.util.List<DLFolder> dlFolders)
Adds an association between the document library file entry type and the document library folders.
|
static void |
addDLFolders(long pk,
long[] dlFolderPKs)
Adds an association between the document library file entry type and the document library folders.
|
static void |
cacheResult(DLFileEntryType dlFileEntryType)
Caches the document library file entry type in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DLFileEntryType> dlFileEntryTypes)
Caches the document library file entry types in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DLFileEntryType dlFileEntryType) |
static void |
clearDDMStructures(long pk)
Clears all associations between the document library file entry type and its d d m structures.
|
static void |
clearDLFolders(long pk)
Clears all associations between the document library file entry type and its document library folders.
|
static boolean |
containsDDMStructure(long pk,
long ddmStructurePK)
Returns
true if the d d m structure is associated with the document library file entry type. |
static boolean |
containsDDMStructures(long pk)
Returns
true if the document library file entry type has any d d m structures associated with it. |
static boolean |
containsDLFolder(long pk,
long dlFolderPK)
Returns
true if the document library folder is associated with the document library file entry type. |
static boolean |
containsDLFolders(long pk)
Returns
true if the document library file entry type has any document library folders associated with it. |
static int |
countAll()
Returns the number of document library file entry types.
|
static int |
countByG_F(long groupId,
java.lang.String fileEntryTypeKey)
Returns the number of document library file entry types where groupId = ? and fileEntryTypeKey = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of document library file entry types where groupId = ?.
|
static int |
countByGroupId(long[] groupIds)
Returns the number of document library file entry types where groupId = any ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of document library file entry types where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of document library file entry types where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of document library file entry types where uuid = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static DLFileEntryType |
create(long fileEntryTypeId)
Creates a new document library file entry type with the primary key.
|
static DLFileEntryType |
fetchByG_F(long groupId,
java.lang.String fileEntryTypeKey)
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns
null if it could not be found. |
static DLFileEntryType |
fetchByG_F(long groupId,
java.lang.String fileEntryTypeKey,
boolean retrieveFromCache)
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns
null if it could not be found, optionally using the finder cache. |
static DLFileEntryType |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first document library file entry type in the ordered set where groupId = ?.
|
static DLFileEntryType |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last document library file entry type in the ordered set where groupId = ?.
|
static DLFileEntryType |
fetchByPrimaryKey(long fileEntryTypeId)
Returns the document library file entry type with the primary key or returns
null if it could not be found. |
static DLFileEntryType |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.
|
static DLFileEntryType |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.
|
static DLFileEntryType |
fetchByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ?.
|
static DLFileEntryType |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the document library file entry type where uuid = ? and groupId = ? or returns
null if it could not be found. |
static DLFileEntryType |
fetchByUUID_G(java.lang.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. |
static DLFileEntryType |
fetchByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of document library file entry types that the user has permission to view where groupId = ?.
|
static int |
filterCountByGroupId(long[] groupIds)
Returns the number of document library file entry types that the user has permission to view where groupId = any ?.
|
static 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 = ?.
|
static java.util.List<DLFileEntryType> |
filterFindByGroupId(long groupId)
Returns all the document library file entry types that the user has permission to view where groupId = ?.
|
static java.util.List<DLFileEntryType> |
filterFindByGroupId(long[] groupIds)
Returns all the document library file entry types that the user has permission to view where groupId = any ?.
|
static java.util.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 ?.
|
static java.util.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 ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.List<DLFileEntryType> |
findAll()
Returns all the document library file entry types.
|
static java.util.List<DLFileEntryType> |
findAll(int start,
int end)
Returns a range of all the document library file entry types.
|
static java.util.List<DLFileEntryType> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry types.
|
static DLFileEntryType |
findByG_F(long groupId,
java.lang.String fileEntryTypeKey)
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or throws a
NoSuchFileEntryTypeException if it could not be found. |
static DLFileEntryType |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first document library file entry type in the ordered set where groupId = ?.
|
static DLFileEntryType |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last document library file entry type in the ordered set where groupId = ?.
|
static 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 = ?.
|
static java.util.List<DLFileEntryType> |
findByGroupId(long groupId)
Returns all the document library file entry types where groupId = ?.
|
static java.util.List<DLFileEntryType> |
findByGroupId(long[] groupIds)
Returns all the document library file entry types where groupId = any ?.
|
static java.util.List<DLFileEntryType> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the document library file entry types where groupId = any ?.
|
static java.util.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 ?.
|
static java.util.List<DLFileEntryType> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the document library file entry types where groupId = ?.
|
static java.util.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 = ?.
|
static 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. |
static DLFileEntryType |
findByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.
|
static DLFileEntryType |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.
|
static DLFileEntryType[] |
findByUuid_C_PrevAndNext(long fileEntryTypeId,
java.lang.String uuid,
long companyId,
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 = ? and companyId = ?.
|
static java.util.List<DLFileEntryType> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the document library file entry types where uuid = ? and companyId = ?.
|
static java.util.List<DLFileEntryType> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the document library file entry types where uuid = ? and companyId = ?.
|
static java.util.List<DLFileEntryType> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?.
|
static DLFileEntryType |
findByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ?.
|
static DLFileEntryType |
findByUUID_G(java.lang.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. |
static DLFileEntryType |
findByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ?.
|
static DLFileEntryType[] |
findByUuid_PrevAndNext(long fileEntryTypeId,
java.lang.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 = ?.
|
static java.util.List<DLFileEntryType> |
findByUuid(java.lang.String uuid)
Returns all the document library file entry types where uuid = ?.
|
static java.util.List<DLFileEntryType> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the document library file entry types where uuid = ?.
|
static java.util.List<DLFileEntryType> |
findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry types where uuid = ?.
|
static java.util.List<DLFileEntryType> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static java.util.List<DLFileEntryType> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DLFileEntryType> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator) |
static java.util.List<DDMStructure> |
getDDMStructures(long pk)
Returns all the d d m structures associated with the document library file entry type.
|
static java.util.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.
|
static java.util.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.
|
static int |
getDDMStructuresSize(long pk)
Returns the number of d d m structures associated with the document library file entry type.
|
static java.util.List<DLFolder> |
getDLFolders(long pk)
Returns all the document library folders associated with the document library file entry type.
|
static java.util.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.
|
static java.util.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.
|
static int |
getDLFoldersSize(long pk)
Returns the number of document library folders associated with the document library file entry type.
|
static DLFileEntryTypePersistence |
getPersistence() |
static DLFileEntryType |
remove(long fileEntryTypeId)
Removes the document library file entry type with the primary key from the database.
|
static void |
removeAll()
Removes all the document library file entry types from the database.
|
static DLFileEntryType |
removeByG_F(long groupId,
java.lang.String fileEntryTypeKey)
Removes the document library file entry type where groupId = ? and fileEntryTypeKey = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the document library file entry types where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the document library file entry types where uuid = ? and companyId = ? from the database.
|
static DLFileEntryType |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the document library file entry type where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the document library file entry types where uuid = ? from the database.
|
static void |
removeDDMStructure(long pk,
DDMStructure ddmStructure)
Removes the association between the document library file entry type and the d d m structure.
|
static void |
removeDDMStructure(long pk,
long ddmStructurePK)
Removes the association between the document library file entry type and the d d m structure.
|
static void |
removeDDMStructures(long pk,
java.util.List<DDMStructure> ddmStructures)
Removes the association between the document library file entry type and the d d m structures.
|
static void |
removeDDMStructures(long pk,
long[] ddmStructurePKs)
Removes the association between the document library file entry type and the d d m structures.
|
static void |
removeDLFolder(long pk,
DLFolder dlFolder)
Removes the association between the document library file entry type and the document library folder.
|
static void |
removeDLFolder(long pk,
long dlFolderPK)
Removes the association between the document library file entry type and the document library folder.
|
static void |
removeDLFolders(long pk,
java.util.List<DLFolder> dlFolders)
Removes the association between the document library file entry type and the document library folders.
|
static void |
removeDLFolders(long pk,
long[] dlFolderPKs)
Removes the association between the document library file entry type and the document library folders.
|
static void |
setDDMStructures(long pk,
java.util.List<DDMStructure> ddmStructures)
Sets the d d m structures associated with the document library file entry type, removing and adding associations as necessary.
|
static 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.
|
static void |
setDLFolders(long pk,
java.util.List<DLFolder> dlFolders)
Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary.
|
static 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.
|
void |
setPersistence(DLFileEntryTypePersistence persistence)
Deprecated.
As of 6.2.0
|
static DLFileEntryType |
update(DLFileEntryType dlFileEntryType) |
static DLFileEntryType |
update(DLFileEntryType dlFileEntryType,
ServiceContext serviceContext) |
static DLFileEntryType |
updateImpl(DLFileEntryType dlFileEntryType) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(DLFileEntryType dlFileEntryType)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.List<DLFileEntryType> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<DLFileEntryType> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
public static java.util.List<DLFileEntryType> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
public static DLFileEntryType update(DLFileEntryType dlFileEntryType) throws SystemException
public static DLFileEntryType update(DLFileEntryType dlFileEntryType, ServiceContext serviceContext) throws SystemException
public static java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid) throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static java.util.List<DLFileEntryType> findByUuid(java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static java.util.List<DLFileEntryType> findByUuid(java.lang.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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static DLFileEntryType findByUuid_First(java.lang.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 foundSystemException - if a system exception occurredpublic static DLFileEntryType fetchByUuid_First(java.lang.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 foundSystemException - if a system exception occurredpublic static DLFileEntryType findByUuid_Last(java.lang.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 foundSystemException - if a system exception occurredpublic static DLFileEntryType fetchByUuid_Last(java.lang.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 foundSystemException - if a system exception occurredpublic static DLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId, java.lang.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 foundSystemException - if a system exception occurredpublic static void removeByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static int countByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static DLFileEntryType findByUUID_G(java.lang.String uuid, long groupId) throws SystemException, NoSuchFileEntryTypeException
NoSuchFileEntryTypeException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchFileEntryTypeException - if a matching document library file entry type could not be foundSystemException - if a system exception occurredpublic static DLFileEntryType fetchByUUID_G(java.lang.String uuid, long groupId) throws SystemException
null if it could not be found. Uses the finder cache.uuid - the uuidgroupId - the group IDnull if a matching document library file entry type could not be foundSystemException - if a system exception occurredpublic static DLFileEntryType fetchByUUID_G(java.lang.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 cachenull if a matching document library file entry type could not be foundSystemException - if a system exception occurredpublic static DLFileEntryType removeByUUID_G(java.lang.String uuid, long groupId) throws SystemException, NoSuchFileEntryTypeException
uuid - the uuidgroupId - the group IDSystemException - if a system exception occurredNoSuchFileEntryTypeExceptionpublic static int countByUUID_G(java.lang.String uuid,
long groupId)
throws SystemException
uuid - the uuidgroupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid, long companyId) throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid, long companyId, 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company 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 occurredpublic static java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid, long companyId, 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company 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 occurredpublic static DLFileEntryType findByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryTypeException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFileEntryTypeException - if a matching document library file entry type could not be foundSystemException - if a system exception occurredpublic static DLFileEntryType fetchByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching document library file entry type could not be foundSystemException - if a system exception occurredpublic static DLFileEntryType findByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryTypeException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchFileEntryTypeException - if a matching document library file entry type could not be foundSystemException - if a system exception occurredpublic static DLFileEntryType fetchByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching document library file entry type could not be foundSystemException - if a system exception occurredpublic static DLFileEntryType[] findByUuid_C_PrevAndNext(long fileEntryTypeId, java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryTypeException
fileEntryTypeId - the primary key of the current document library file entry typeuuid - the uuidcompanyId - the company 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 foundSystemException - if a system exception occurredpublic static void removeByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static int countByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<DLFileEntryType> findByGroupId(long groupId) throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static DLFileEntryType 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 foundSystemException - if a system exception occurredpublic static DLFileEntryType 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 foundSystemException - if a system exception occurredpublic static DLFileEntryType 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 foundSystemException - if a system exception occurredpublic static DLFileEntryType 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 foundSystemException - if a system exception occurredpublic static DLFileEntryType[] 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 foundSystemException - if a system exception occurredpublic static java.util.List<DLFileEntryType> filterFindByGroupId(long groupId) throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static DLFileEntryType[] 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 foundSystemException - if a system exception occurredpublic static java.util.List<DLFileEntryType> filterFindByGroupId(long[] groupIds) throws SystemException
groupIds - the group IDsSystemException - if a system exception occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds - the group IDsSystemException - if a system exception occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static void removeByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static int countByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static int countByGroupId(long[] groupIds)
throws SystemException
groupIds - the group IDsSystemException - if a system exception occurredpublic static int filterCountByGroupId(long groupId)
throws SystemException
groupId - the group IDSystemException - if a system exception occurredpublic static int filterCountByGroupId(long[] groupIds)
throws SystemException
groupIds - the group IDsSystemException - if a system exception occurredpublic static DLFileEntryType findByG_F(long groupId, java.lang.String fileEntryTypeKey) throws SystemException, NoSuchFileEntryTypeException
NoSuchFileEntryTypeException if it could not be found.groupId - the group IDfileEntryTypeKey - the file entry type keyNoSuchFileEntryTypeException - if a matching document library file entry type could not be foundSystemException - if a system exception occurredpublic static DLFileEntryType fetchByG_F(long groupId, java.lang.String fileEntryTypeKey) throws SystemException
null if it could not be found. Uses the finder cache.groupId - the group IDfileEntryTypeKey - the file entry type keynull if a matching document library file entry type could not be foundSystemException - if a system exception occurredpublic static DLFileEntryType fetchByG_F(long groupId, java.lang.String fileEntryTypeKey, boolean retrieveFromCache) throws SystemException
null if it could not be found, optionally using the finder cache.groupId - the group IDfileEntryTypeKey - the file entry type keyretrieveFromCache - whether to use the finder cachenull if a matching document library file entry type could not be foundSystemException - if a system exception occurredpublic static DLFileEntryType removeByG_F(long groupId, java.lang.String fileEntryTypeKey) throws SystemException, NoSuchFileEntryTypeException
groupId - the group IDfileEntryTypeKey - the file entry type keySystemException - if a system exception occurredNoSuchFileEntryTypeExceptionpublic static int countByG_F(long groupId,
java.lang.String fileEntryTypeKey)
throws SystemException
groupId - the group IDfileEntryTypeKey - the file entry type keySystemException - if a system exception occurredpublic static void cacheResult(DLFileEntryType dlFileEntryType)
dlFileEntryType - the document library file entry typepublic static void cacheResult(java.util.List<DLFileEntryType> dlFileEntryTypes)
dlFileEntryTypes - the document library file entry typespublic static DLFileEntryType create(long fileEntryTypeId)
fileEntryTypeId - the primary key for the new document library file entry typepublic static DLFileEntryType remove(long fileEntryTypeId) throws SystemException, NoSuchFileEntryTypeException
fileEntryTypeId - the primary key of the document library file entry typeNoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be foundSystemException - if a system exception occurredpublic static DLFileEntryType updateImpl(DLFileEntryType dlFileEntryType) throws SystemException
SystemExceptionpublic static DLFileEntryType findByPrimaryKey(long fileEntryTypeId) throws SystemException, NoSuchFileEntryTypeException
NoSuchFileEntryTypeException if it could not be found.fileEntryTypeId - the primary key of the document library file entry typeNoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be foundSystemException - if a system exception occurredpublic static DLFileEntryType fetchByPrimaryKey(long fileEntryTypeId) throws SystemException
null if it could not be found.fileEntryTypeId - the primary key of the document library file entry typenull if a document library file entry type with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<DLFileEntryType> findAll() throws SystemException
SystemException - if a system exception occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static void removeAll()
throws SystemException
SystemException - if a system exception occurredpublic static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static java.util.List<DLFolder> getDLFolders(long pk) throws SystemException
pk - the primary key of the document library file entry typeSystemException - if a system exception occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static int getDLFoldersSize(long pk)
throws SystemException
pk - the primary key of the document library file entry typeSystemException - if a system exception occurredpublic static boolean 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 foldertrue if the document library folder is associated with the document library file entry type; false otherwiseSystemException - if a system exception occurredpublic static boolean 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 folderstrue if the document library file entry type has any document library folders associated with it; false otherwiseSystemException - if a system exception occurredpublic static void 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 folderSystemException - if a system exception occurredpublic static void addDLFolder(long pk,
DLFolder dlFolder)
throws SystemException
pk - the primary key of the document library file entry typedlFolder - the document library folderSystemException - if a system exception occurredpublic static void 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 foldersSystemException - if a system exception occurredpublic static void addDLFolders(long pk,
java.util.List<DLFolder> dlFolders)
throws SystemException
pk - the primary key of the document library file entry typedlFolders - the document library foldersSystemException - if a system exception occurredpublic static void clearDLFolders(long pk)
throws SystemException
pk - the primary key of the document library file entry type to clear the associated document library folders fromSystemException - if a system exception occurredpublic static void 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 folderSystemException - if a system exception occurredpublic static void removeDLFolder(long pk,
DLFolder dlFolder)
throws SystemException
pk - the primary key of the document library file entry typedlFolder - the document library folderSystemException - if a system exception occurredpublic static void 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 foldersSystemException - if a system exception occurredpublic static void removeDLFolders(long pk,
java.util.List<DLFolder> dlFolders)
throws SystemException
pk - the primary key of the document library file entry typedlFolders - the document library foldersSystemException - if a system exception occurredpublic static void 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 typeSystemException - if a system exception occurredpublic static void setDLFolders(long pk,
java.util.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 typeSystemException - if a system exception occurredpublic static java.util.List<DDMStructure> getDDMStructures(long pk) throws SystemException
pk - the primary key of the document library file entry typeSystemException - if a system exception occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static java.util.List<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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredpublic static int getDDMStructuresSize(long pk)
throws SystemException
pk - the primary key of the document library file entry typeSystemException - if a system exception occurredpublic static boolean 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 structuretrue if the d d m structure is associated with the document library file entry type; false otherwiseSystemException - if a system exception occurredpublic static boolean 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 structurestrue if the document library file entry type has any d d m structures associated with it; false otherwiseSystemException - if a system exception occurredpublic static void 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 structureSystemException - if a system exception occurredpublic static void addDDMStructure(long pk,
DDMStructure ddmStructure)
throws SystemException
pk - the primary key of the document library file entry typeddmStructure - the d d m structureSystemException - if a system exception occurredpublic static void 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 structuresSystemException - if a system exception occurredpublic static void addDDMStructures(long pk,
java.util.List<DDMStructure> ddmStructures)
throws SystemException
pk - the primary key of the document library file entry typeddmStructures - the d d m structuresSystemException - if a system exception occurredpublic static void clearDDMStructures(long pk)
throws SystemException
pk - the primary key of the document library file entry type to clear the associated d d m structures fromSystemException - if a system exception occurredpublic static void 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 structureSystemException - if a system exception occurredpublic static void removeDDMStructure(long pk,
DDMStructure ddmStructure)
throws SystemException
pk - the primary key of the document library file entry typeddmStructure - the d d m structureSystemException - if a system exception occurredpublic static void 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 structuresSystemException - if a system exception occurredpublic static void removeDDMStructures(long pk,
java.util.List<DDMStructure> ddmStructures)
throws SystemException
pk - the primary key of the document library file entry typeddmStructures - the d d m structuresSystemException - if a system exception occurredpublic static void 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 typeSystemException - if a system exception occurredpublic static void setDDMStructures(long pk,
java.util.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 typeSystemException - if a system exception occurredpublic static DLFileEntryTypePersistence getPersistence()
public void setPersistence(DLFileEntryTypePersistence persistence)