@ProviderType public interface DLFileEntryTypePersistence extends BasePersistence<DLFileEntryType>
Caching information and settings can be found in portal.properties
DLFileEntryTypePersistenceImpl
,
DLFileEntryTypeUtil
Modifier and Type | Method and Description |
---|---|
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 |
clearDLFolders(long pk)
Clears all associations between the document library file entry type and its document library folders.
|
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_F(long groupId,
String fileEntryTypeKey)
Returns the number of document library file entry types where groupId = ? and fileEntryTypeKey = ?.
|
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_C(String uuid,
long companyId)
Returns the number of document library file entry types where uuid = ? and companyId = ?.
|
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_F(long groupId,
String fileEntryTypeKey)
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns
null if it could not be found. |
DLFileEntryType |
fetchByG_F(long groupId,
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. |
DLFileEntryType |
fetchByGroupId_First(long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where groupId = ?.
|
DLFileEntryType |
fetchByGroupId_Last(long groupId,
OrderByComparator<DLFileEntryType> 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. |
Map<Serializable,DLFileEntryType> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
DLFileEntryType |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.
|
DLFileEntryType |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.
|
DLFileEntryType |
fetchByUuid_First(String uuid,
OrderByComparator<DLFileEntryType> 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<DLFileEntryType> 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<DLFileEntryType> 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<DLFileEntryType> 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<DLFileEntryType> 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<DLFileEntryType> orderByComparator)
Returns an ordered range of all the document library file entry types.
|
List<DLFileEntryType> |
findAll(int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry types.
|
DLFileEntryType |
findByG_F(long groupId,
String fileEntryTypeKey)
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or throws a
NoSuchFileEntryTypeException if it could not be found. |
DLFileEntryType |
findByGroupId_First(long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where groupId = ?.
|
DLFileEntryType |
findByGroupId_Last(long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the last document library file entry type in the ordered set where groupId = ?.
|
DLFileEntryType[] |
findByGroupId_PrevAndNext(long fileEntryTypeId,
long groupId,
OrderByComparator<DLFileEntryType> 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<DLFileEntryType> orderByComparator)
Returns an ordered range of all the document library file entry types where groupId = any ?.
|
List<DLFileEntryType> |
findByGroupId(long[] groupIds,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry types where groupId = ?, optionally using the finder cache.
|
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<DLFileEntryType> orderByComparator)
Returns an ordered range of all the document library file entry types where groupId = ?.
|
List<DLFileEntryType> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean retrieveFromCache)
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_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.
|
DLFileEntryType |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.
|
DLFileEntryType[] |
findByUuid_C_PrevAndNext(long fileEntryTypeId,
String uuid,
long companyId,
OrderByComparator<DLFileEntryType> 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 = ?.
|
List<DLFileEntryType> |
findByUuid_C(String uuid,
long companyId)
Returns all the document library file entry types where uuid = ? and companyId = ?.
|
List<DLFileEntryType> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the document library file entry types where uuid = ? and companyId = ?.
|
List<DLFileEntryType> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?.
|
List<DLFileEntryType> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?.
|
DLFileEntryType |
findByUuid_First(String uuid,
OrderByComparator<DLFileEntryType> 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<DLFileEntryType> orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ?.
|
DLFileEntryType[] |
findByUuid_PrevAndNext(long fileEntryTypeId,
String uuid,
OrderByComparator<DLFileEntryType> 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<DLFileEntryType> orderByComparator)
Returns an ordered range of all the document library file entry types where uuid = ?.
|
List<DLFileEntryType> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry types where uuid = ?.
|
Set<String> |
getBadColumnNames() |
long[] |
getDLFolderPrimaryKeys(long pk)
Returns the primaryKeys of document library folders 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<DLFolder> 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_F(long groupId,
String fileEntryTypeKey)
Removes the document library file entry type where groupId = ? and fileEntryTypeKey = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the document library file entry types where groupId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the document library file entry types where uuid = ? and companyId = ? 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 |
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 |
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) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<DLFileEntryType> findByUuid(String uuid)
uuid
- the uuidList<DLFileEntryType> findByUuid(String uuid, int start, int end)
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)List<DLFileEntryType> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
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
)List<DLFileEntryType> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheDLFileEntryType findByUuid_First(String uuid, OrderByComparator<DLFileEntryType> orderByComparator) throws 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 foundDLFileEntryType fetchByUuid_First(String uuid, OrderByComparator<DLFileEntryType> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry type could not be foundDLFileEntryType findByUuid_Last(String uuid, OrderByComparator<DLFileEntryType> orderByComparator) throws 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 foundDLFileEntryType fetchByUuid_Last(String uuid, OrderByComparator<DLFileEntryType> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry type could not be foundDLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId, String uuid, OrderByComparator<DLFileEntryType> orderByComparator) throws 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 foundvoid removeByUuid(String uuid)
uuid
- the uuidint countByUuid(String uuid)
uuid
- the uuidDLFileEntryType findByUUID_G(String uuid, long groupId) throws 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 foundDLFileEntryType fetchByUUID_G(String uuid, long groupId)
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 foundDLFileEntryType fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching document library file entry type could not be foundDLFileEntryType removeByUUID_G(String uuid, long groupId) throws NoSuchFileEntryTypeException
uuid
- the uuidgroupId
- the group IDNoSuchFileEntryTypeException
int countByUUID_G(String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDList<DLFileEntryType> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<DLFileEntryType> findByUuid_C(String uuid, long companyId, int start, int end)
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)List<DLFileEntryType> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
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
)List<DLFileEntryType> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheDLFileEntryType findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntryType> orderByComparator) throws 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 foundDLFileEntryType fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntryType> orderByComparator)
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 foundDLFileEntryType findByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileEntryType> orderByComparator) throws 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 foundDLFileEntryType fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileEntryType> orderByComparator)
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 foundDLFileEntryType[] findByUuid_C_PrevAndNext(long fileEntryTypeId, String uuid, long companyId, OrderByComparator<DLFileEntryType> orderByComparator) throws 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 foundvoid removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<DLFileEntryType> findByGroupId(long groupId)
groupId
- the group IDList<DLFileEntryType> findByGroupId(long groupId, int start, int end)
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)List<DLFileEntryType> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
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
)List<DLFileEntryType> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cacheDLFileEntryType findByGroupId_First(long groupId, OrderByComparator<DLFileEntryType> orderByComparator) throws 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 foundDLFileEntryType fetchByGroupId_First(long groupId, OrderByComparator<DLFileEntryType> orderByComparator)
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 foundDLFileEntryType findByGroupId_Last(long groupId, OrderByComparator<DLFileEntryType> orderByComparator) throws 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 foundDLFileEntryType fetchByGroupId_Last(long groupId, OrderByComparator<DLFileEntryType> orderByComparator)
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 foundDLFileEntryType[] findByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, OrderByComparator<DLFileEntryType> orderByComparator) throws 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 foundList<DLFileEntryType> filterFindByGroupId(long groupId)
groupId
- the group IDList<DLFileEntryType> filterFindByGroupId(long groupId, int start, int end)
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)List<DLFileEntryType> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
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
)DLFileEntryType[] filterFindByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, OrderByComparator<DLFileEntryType> orderByComparator) throws 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 foundList<DLFileEntryType> filterFindByGroupId(long[] groupIds)
groupIds
- the group IDsList<DLFileEntryType> filterFindByGroupId(long[] groupIds, int start, int end)
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)List<DLFileEntryType> filterFindByGroupId(long[] groupIds, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
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
)List<DLFileEntryType> findByGroupId(long[] groupIds)
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 IDsList<DLFileEntryType> findByGroupId(long[] groupIds, int start, int end)
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)List<DLFileEntryType> findByGroupId(long[] groupIds, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
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
)List<DLFileEntryType> findByGroupId(long[] groupIds, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long[] groupIds)
groupIds
- the group IDsint filterCountByGroupId(long groupId)
groupId
- the group IDint filterCountByGroupId(long[] groupIds)
groupIds
- the group IDsDLFileEntryType findByG_F(long groupId, String fileEntryTypeKey) throws 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 foundDLFileEntryType fetchByG_F(long groupId, String fileEntryTypeKey)
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 foundDLFileEntryType fetchByG_F(long groupId, String fileEntryTypeKey, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDfileEntryTypeKey
- the file entry type keyretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching document library file entry type could not be foundDLFileEntryType removeByG_F(long groupId, String fileEntryTypeKey) throws NoSuchFileEntryTypeException
groupId
- the group IDfileEntryTypeKey
- the file entry type keyNoSuchFileEntryTypeException
int countByG_F(long groupId, String fileEntryTypeKey)
groupId
- the group IDfileEntryTypeKey
- the file entry type keyvoid 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 typeDLFileEntryType remove(long fileEntryTypeId) throws 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 foundDLFileEntryType updateImpl(DLFileEntryType dlFileEntryType)
DLFileEntryType findByPrimaryKey(long fileEntryTypeId) throws 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 foundDLFileEntryType fetchByPrimaryKey(long fileEntryTypeId)
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 foundMap<Serializable,DLFileEntryType> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface BasePersistence<DLFileEntryType>
List<DLFileEntryType> findAll()
List<DLFileEntryType> findAll(int start, int end)
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)List<DLFileEntryType> findAll(int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
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
)List<DLFileEntryType> findAll(int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache)
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
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
long[] getDLFolderPrimaryKeys(long pk)
pk
- the primary key of the document library file entry typeList<DLFolder> getDLFolders(long pk)
pk
- the primary key of the document library file entry typeList<DLFolder> getDLFolders(long pk, int start, int end)
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)List<DLFolder> getDLFolders(long pk, int start, int end, OrderByComparator<DLFolder> orderByComparator)
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
)int getDLFoldersSize(long pk)
pk
- the primary key of the document library file entry typeboolean containsDLFolder(long pk, long dlFolderPK)
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
otherwiseboolean containsDLFolders(long pk)
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
otherwisevoid addDLFolder(long pk, long dlFolderPK)
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library foldervoid addDLFolder(long pk, DLFolder dlFolder)
pk
- the primary key of the document library file entry typedlFolder
- the document library foldervoid addDLFolders(long pk, long[] dlFolderPKs)
pk
- the primary key of the document library file entry typedlFolderPKs
- the primary keys of the document library foldersvoid addDLFolders(long pk, List<DLFolder> dlFolders)
pk
- the primary key of the document library file entry typedlFolders
- the document library foldersvoid clearDLFolders(long pk)
pk
- the primary key of the document library file entry type to clear the associated document library folders fromvoid removeDLFolder(long pk, long dlFolderPK)
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library foldervoid removeDLFolder(long pk, DLFolder dlFolder)
pk
- the primary key of the document library file entry typedlFolder
- the document library foldervoid removeDLFolders(long pk, long[] dlFolderPKs)
pk
- the primary key of the document library file entry typedlFolderPKs
- the primary keys of the document library foldersvoid removeDLFolders(long pk, List<DLFolder> dlFolders)
pk
- the primary key of the document library file entry typedlFolders
- the document library foldersvoid setDLFolders(long pk, long[] dlFolderPKs)
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 typevoid setDLFolders(long pk, List<DLFolder> dlFolders)
pk
- the primary key of the document library file entry typedlFolders
- the document library folders to be associated with the document library file entry typeSet<String> getBadColumnNames()
getBadColumnNames
in interface BasePersistence<DLFileEntryType>