Interface DLFileEntryTypePersistence
- All Superinterfaces:
BasePersistence<DLFileEntryType>
,CTPersistence<DLFileEntryType>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addDLFolder
(long pk, long dlFolderPK) Adds an association between the document library file entry type and the document library folder.boolean
addDLFolder
(long pk, DLFolder dlFolder) Adds an association between the document library file entry type and the document library folder.boolean
addDLFolders
(long pk, long[] dlFolderPKs) Adds an association between the document library file entry type and the document library folders.boolean
addDLFolders
(long pk, List<DLFolder> dlFolders) 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) Returnstrue
if the document library folder is associated with the document library file entry type.boolean
containsDLFolders
(long pk) Returnstrue
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
countByCompanyId
(long companyId) Returns the number of document library file entry types where companyId = ?.int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of document library file entry types where externalReferenceCode = ? and groupId = ?.int
countByG_DDI
(long groupId, long dataDefinitionId) Returns the number of document library file entry types where groupId = ? and dataDefinitionId = ?.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
(String uuid) Returns the number of document library file entry types where uuid = ?.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 = ?.create
(long fileEntryTypeId) Creates a new document library file entry type with the primary key.fetchByCompanyId_First
(long companyId, OrderByComparator<DLFileEntryType> orderByComparator) Returns the first document library file entry type in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, OrderByComparator<DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where companyId = ?.fetchByERC_G
(String externalReferenceCode, long groupId) Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByG_DDI
(long groupId, long dataDefinitionId) Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or returnsnull
if it could not be found.fetchByG_DDI
(long groupId, long dataDefinitionId, boolean useFinderCache) Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByG_F
(long groupId, String fileEntryTypeKey) Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returnsnull
if it could not be found.fetchByG_F
(long groupId, String fileEntryTypeKey, boolean useFinderCache) Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByGroupId_First
(long groupId, OrderByComparator<DLFileEntryType> orderByComparator) Returns the first document library file entry type in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, OrderByComparator<DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where groupId = ?.fetchByPrimaryKey
(long fileEntryTypeId) Returns the document library file entry type with the primary key or returnsnull
if it could not be found.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 = ?.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 = ?.fetchByUuid_First
(String uuid, OrderByComparator<DLFileEntryType> orderByComparator) Returns the first document library file entry type in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the document library file entry type where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the document library file entry type where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 ?.filterFindByGroupId
(long groupId) Returns all the document library file entry types that the user has permission to view where groupId = ?.filterFindByGroupId
(long[] groupIds) Returns all the document library file entry types that the user has permission to view where groupId = any ?.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 ?.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 ?.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 = ?.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 = ?.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 = ?.findAll()
Returns all the document library file entry types.findAll
(int start, int end) Returns a range of all the document library file entry types.findAll
(int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) Returns an ordered range of all the document library file entry types.findAll
(int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry types.findByCompanyId
(long companyId) Returns all the document library file entry types where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the document library file entry types where companyId = ?.findByCompanyId
(long companyId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) Returns an ordered range of all the document library file entry types where companyId = ?.findByCompanyId
(long companyId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry types where companyId = ?.findByCompanyId_First
(long companyId, OrderByComparator<DLFileEntryType> orderByComparator) Returns the first document library file entry type in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, OrderByComparator<DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long fileEntryTypeId, 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 companyId = ?.findByERC_G
(String externalReferenceCode, long groupId) Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or throws aNoSuchFileEntryTypeException
if it could not be found.findByG_DDI
(long groupId, long dataDefinitionId) Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or throws aNoSuchFileEntryTypeException
if it could not be found.Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or throws aNoSuchFileEntryTypeException
if it could not be found.findByGroupId
(long groupId) Returns all the document library file entry types where groupId = ?.findByGroupId
(long[] groupIds) Returns all the document library file entry types where groupId = any ?.findByGroupId
(long[] groupIds, int start, int end) Returns a range of all the document library file entry types where groupId = any ?.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 ?.findByGroupId
(long[] groupIds, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry types where groupId = ?, optionally using the finder cache.findByGroupId
(long groupId, int start, int end) Returns a range of all the document library file entry types where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) Returns an ordered range of all the document library file entry types where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry types where groupId = ?.findByGroupId_First
(long groupId, OrderByComparator<DLFileEntryType> orderByComparator) Returns the first document library file entry type in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, OrderByComparator<DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where groupId = ?.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 = ?.findByPrimaryKey
(long fileEntryTypeId) Returns the document library file entry type with the primary key or throws aNoSuchFileEntryTypeException
if it could not be found.findByUuid
(String uuid) Returns all the document library file entry types where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the document library file entry types where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) Returns an ordered range of all the document library file entry types where uuid = ?.findByUuid
(String uuid, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry types where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the document library file entry types where uuid = ? and companyId = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.findByUuid_First
(String uuid, OrderByComparator<DLFileEntryType> orderByComparator) Returns the first document library file entry type in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the document library file entry type where uuid = ? and groupId = ? or throws aNoSuchFileEntryTypeException
if it could not be found.findByUuid_Last
(String uuid, OrderByComparator<DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where uuid = ?.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 = ?.long[]
getDLFolderPrimaryKeys
(long pk) Returns the primaryKeys of document library folders associated with the document library file entry type.getDLFolders
(long pk) Returns all the document library folders associated with the document library file entry type.getDLFolders
(long pk, int start, int end) Returns a range of all the document library folders associated with the document library file entry type.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.remove
(long fileEntryTypeId) Removes the document library file entry type with the primary key from the database.void
Removes all the document library file entry types from the database.void
removeByCompanyId
(long companyId) Removes all the document library file entry types where companyId = ? from the database.removeByERC_G
(String externalReferenceCode, long groupId) Removes the document library file entry type where externalReferenceCode = ? and groupId = ? from the database.removeByG_DDI
(long groupId, long dataDefinitionId) Removes the document library file entry type where groupId = ? and dataDefinitionId = ? from the database.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
(String uuid) Removes all the document library file entry types where uuid = ? 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.removeByUUID_G
(String uuid, long groupId) Removes the document library file entry type where uuid = ? and groupId = ? from the database.void
removeDLFolder
(long pk, long dlFolderPK) Removes the association between the document library file entry type and the document library folder.void
removeDLFolder
(long pk, DLFolder dlFolder) Removes the association between the document library file entry type and the document library folder.void
removeDLFolders
(long pk, long[] dlFolderPKs) Removes the association between the document library file entry type and the document library folders.void
removeDLFolders
(long pk, List<DLFolder> dlFolders) Removes the association between the document library file entry type and the document library folders.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
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.updateImpl
(DLFileEntryType dlFileEntryType) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the document library file entry types where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching document library file entry types
-
findByUuid
Returns a range of all the document library file entry types where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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)- Returns:
- the range of matching document library file entry types
-
findByUuid
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching document library file entry types
-
findByUuid
List<DLFileEntryType> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry types where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entry types
-
findByUuid_First
DLFileEntryType findByUuid_First(String uuid, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException Returns the first document library file entry type in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
-
fetchByUuid_First
DLFileEntryType fetchByUuid_First(String uuid, OrderByComparator<DLFileEntryType> orderByComparator) Returns the first document library file entry type in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
findByUuid_Last
DLFileEntryType findByUuid_Last(String uuid, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException Returns the last document library file entry type in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
-
fetchByUuid_Last
Returns the last document library file entry type in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
findByUuid_PrevAndNext
DLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId, String uuid, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = ?.- Parameters:
fileEntryTypeId
- the primary key of the current document library file entry typeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
-
removeByUuid
Removes all the document library file entry types where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of document library file entry types where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching document library file entry types
-
findByUUID_G
Returns the document library file entry type where uuid = ? and groupId = ? or throws aNoSuchFileEntryTypeException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
-
fetchByUUID_G
Returns the document library file entry type where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
fetchByUUID_G
Returns the document library file entry type where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
removeByUUID_G
Removes the document library file entry type where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the document library file entry type that was removed
- Throws:
NoSuchFileEntryTypeException
-
countByUUID_G
Returns the number of document library file entry types where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching document library file entry types
-
findByUuid_C
Returns all the document library file entry types where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching document library file entry types
-
findByUuid_C
Returns a range of all the document library file entry types where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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)- Returns:
- the range of matching document library file entry types
-
findByUuid_C
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching document library file entry types
-
findByUuid_C
List<DLFileEntryType> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entry types
-
findByUuid_C_First
DLFileEntryType findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
-
fetchByUuid_C_First
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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
findByUuid_C_Last
DLFileEntryType findByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
-
fetchByUuid_C_Last
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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
findByUuid_C_PrevAndNext
DLFileEntryType[] findByUuid_C_PrevAndNext(long fileEntryTypeId, String uuid, long companyId, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException 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 = ?.- Parameters:
fileEntryTypeId
- the primary key of the current document library file entry typeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
-
removeByUuid_C
Removes all the document library file entry types where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of document library file entry types where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching document library file entry types
-
findByGroupId
Returns all the document library file entry types where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching document library file entry types
-
findByGroupId
Returns a range of all the document library file entry types where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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)- Returns:
- the range of matching document library file entry types
-
findByGroupId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching document library file entry types
-
findByGroupId
List<DLFileEntryType> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry types where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entry types
-
findByGroupId_First
DLFileEntryType findByGroupId_First(long groupId, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException Returns the first document library file entry type in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
-
fetchByGroupId_First
DLFileEntryType fetchByGroupId_First(long groupId, OrderByComparator<DLFileEntryType> orderByComparator) Returns the first document library file entry type in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
findByGroupId_Last
DLFileEntryType findByGroupId_Last(long groupId, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException Returns the last document library file entry type in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
-
fetchByGroupId_Last
DLFileEntryType fetchByGroupId_Last(long groupId, OrderByComparator<DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
findByGroupId_PrevAndNext
DLFileEntryType[] findByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException Returns the document library file entry types before and after the current document library file entry type in the ordered set where groupId = ?.- Parameters:
fileEntryTypeId
- the primary key of the current document library file entry typegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
-
filterFindByGroupId
Returns all the document library file entry types that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching document library file entry types that the user has permission to view
-
filterFindByGroupId
Returns a range of all the document library file entry types that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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)- Returns:
- the range of matching document library file entry types that the user has permission to view
-
filterFindByGroupId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching document library file entry types that the user has permission to view
-
filterFindByGroupId_PrevAndNext
DLFileEntryType[] filterFindByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException 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 = ?.- Parameters:
fileEntryTypeId
- the primary key of the current document library file entry typegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
-
filterFindByGroupId
Returns all the document library file entry types that the user has permission to view where groupId = any ?.- Parameters:
groupIds
- the group IDs- Returns:
- the matching document library file entry types that the user has permission to view
-
filterFindByGroupId
Returns a range of all the document library file entry types that the user has permission to view where groupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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)- Returns:
- the range of matching document library file entry types that the user has permission to view
-
filterFindByGroupId
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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching document library file entry types that the user has permission to view
-
findByGroupId
Returns all the document library file entry types where groupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
groupIds
- the group IDs- Returns:
- the matching document library file entry types
-
findByGroupId
Returns a range of all the document library file entry types where groupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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)- Returns:
- the range of matching document library file entry types
-
findByGroupId
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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching document library file entry types
-
findByGroupId
List<DLFileEntryType> findByGroupId(long[] groupIds, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry types where groupId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entry types
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the document library file entry types where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of document library file entry types where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching document library file entry types
-
countByGroupId
int countByGroupId(long[] groupIds) Returns the number of document library file entry types where groupId = any ?.- Parameters:
groupIds
- the group IDs- Returns:
- the number of matching document library file entry types
-
filterCountByGroupId
int filterCountByGroupId(long groupId) Returns the number of document library file entry types that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching document library file entry types that the user has permission to view
-
filterCountByGroupId
int filterCountByGroupId(long[] groupIds) Returns the number of document library file entry types that the user has permission to view where groupId = any ?.- Parameters:
groupIds
- the group IDs- Returns:
- the number of matching document library file entry types that the user has permission to view
-
findByCompanyId
Returns all the document library file entry types where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching document library file entry types
-
findByCompanyId
Returns a range of all the document library file entry types where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
companyId
- 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)- Returns:
- the range of matching document library file entry types
-
findByCompanyId
List<DLFileEntryType> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) Returns an ordered range of all the document library file entry types where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
companyId
- 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 (optionallynull
)- Returns:
- the ordered range of matching document library file entry types
-
findByCompanyId
List<DLFileEntryType> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry types where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
companyId
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entry types
-
findByCompanyId_First
DLFileEntryType findByCompanyId_First(long companyId, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException Returns the first document library file entry type in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
-
fetchByCompanyId_First
DLFileEntryType fetchByCompanyId_First(long companyId, OrderByComparator<DLFileEntryType> orderByComparator) Returns the first document library file entry type in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
findByCompanyId_Last
DLFileEntryType findByCompanyId_Last(long companyId, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException Returns the last document library file entry type in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
-
fetchByCompanyId_Last
DLFileEntryType fetchByCompanyId_Last(long companyId, OrderByComparator<DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
findByCompanyId_PrevAndNext
DLFileEntryType[] findByCompanyId_PrevAndNext(long fileEntryTypeId, long companyId, OrderByComparator<DLFileEntryType> orderByComparator) throws NoSuchFileEntryTypeException Returns the document library file entry types before and after the current document library file entry type in the ordered set where companyId = ?.- Parameters:
fileEntryTypeId
- the primary key of the current document library file entry typecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the document library file entry types where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of document library file entry types where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching document library file entry types
-
findByG_DDI
DLFileEntryType findByG_DDI(long groupId, long dataDefinitionId) throws NoSuchFileEntryTypeException Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or throws aNoSuchFileEntryTypeException
if it could not be found.- Parameters:
groupId
- the group IDdataDefinitionId
- the data definition ID- Returns:
- the matching document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
-
fetchByG_DDI
Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDdataDefinitionId
- the data definition ID- Returns:
- the matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
fetchByG_DDI
Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDdataDefinitionId
- the data definition IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
removeByG_DDI
DLFileEntryType removeByG_DDI(long groupId, long dataDefinitionId) throws NoSuchFileEntryTypeException Removes the document library file entry type where groupId = ? and dataDefinitionId = ? from the database.- Parameters:
groupId
- the group IDdataDefinitionId
- the data definition ID- Returns:
- the document library file entry type that was removed
- Throws:
NoSuchFileEntryTypeException
-
countByG_DDI
int countByG_DDI(long groupId, long dataDefinitionId) Returns the number of document library file entry types where groupId = ? and dataDefinitionId = ?.- Parameters:
groupId
- the group IDdataDefinitionId
- the data definition ID- Returns:
- the number of matching document library file entry types
-
findByG_F
DLFileEntryType findByG_F(long groupId, String fileEntryTypeKey) throws NoSuchFileEntryTypeException Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or throws aNoSuchFileEntryTypeException
if it could not be found.- Parameters:
groupId
- the group IDfileEntryTypeKey
- the file entry type key- Returns:
- the matching document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
-
fetchByG_F
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDfileEntryTypeKey
- the file entry type key- Returns:
- the matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
fetchByG_F
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDfileEntryTypeKey
- the file entry type keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
removeByG_F
DLFileEntryType removeByG_F(long groupId, String fileEntryTypeKey) throws NoSuchFileEntryTypeException Removes the document library file entry type where groupId = ? and fileEntryTypeKey = ? from the database.- Parameters:
groupId
- the group IDfileEntryTypeKey
- the file entry type key- Returns:
- the document library file entry type that was removed
- Throws:
NoSuchFileEntryTypeException
-
countByG_F
Returns the number of document library file entry types where groupId = ? and fileEntryTypeKey = ?.- Parameters:
groupId
- the group IDfileEntryTypeKey
- the file entry type key- Returns:
- the number of matching document library file entry types
-
findByERC_G
DLFileEntryType findByERC_G(String externalReferenceCode, long groupId) throws NoSuchFileEntryTypeException Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or throws aNoSuchFileEntryTypeException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
-
fetchByERC_G
Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
fetchByERC_G
Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching document library file entry type, or
null
if a matching document library file entry type could not be found
-
removeByERC_G
DLFileEntryType removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchFileEntryTypeException Removes the document library file entry type where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the document library file entry type that was removed
- Throws:
NoSuchFileEntryTypeException
-
countByERC_G
Returns the number of document library file entry types where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching document library file entry types
-
cacheResult
Caches the document library file entry type in the entity cache if it is enabled.- Parameters:
dlFileEntryType
- the document library file entry type
-
cacheResult
Caches the document library file entry types in the entity cache if it is enabled.- Parameters:
dlFileEntryTypes
- the document library file entry types
-
create
Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.- Parameters:
fileEntryTypeId
- the primary key for the new document library file entry type- Returns:
- the new document library file entry type
-
remove
Removes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
fileEntryTypeId
- the primary key of the document library file entry type- Returns:
- the document library file entry type that was removed
- Throws:
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the document library file entry type with the primary key or throws aNoSuchFileEntryTypeException
if it could not be found.- Parameters:
fileEntryTypeId
- the primary key of the document library file entry type- Returns:
- the document library file entry type
- Throws:
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
-
fetchByPrimaryKey
Returns the document library file entry type with the primary key or returnsnull
if it could not be found.- Parameters:
fileEntryTypeId
- the primary key of the document library file entry type- Returns:
- the document library file entry type, or
null
if a document library file entry type with the primary key could not be found
-
findAll
List<DLFileEntryType> findAll()Returns all the document library file entry types.- Returns:
- the document library file entry types
-
findAll
Returns a range of all the document library file entry types.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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)- Returns:
- the range of document library file entry types
-
findAll
List<DLFileEntryType> findAll(int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) Returns an ordered range of all the document library file entry types.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of document library file entry types
-
findAll
List<DLFileEntryType> findAll(int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entry types.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of document library file entry types
-
removeAll
void removeAll()Removes all the document library file entry types from the database. -
countAll
int countAll()Returns the number of document library file entry types.- Returns:
- the number of document library file entry types
-
getDLFolderPrimaryKeys
long[] getDLFolderPrimaryKeys(long pk) Returns the primaryKeys of document library folders associated with the document library file entry type.- Parameters:
pk
- the primary key of the document library file entry type- Returns:
- long[] of the primaryKeys of document library folders associated with the document library file entry type
-
getDLFolders
Returns all the document library folders associated with the document library file entry type.- Parameters:
pk
- the primary key of the document library file entry type- Returns:
- the document library folders associated with the document library file entry type
-
getDLFolders
Returns a range of all the document library folders associated with the document library file entry type.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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)- Returns:
- the range of document library folders associated with the document library file entry type
-
getDLFolders
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of document library folders associated with the document library file entry type
-
getDLFoldersSize
int getDLFoldersSize(long pk) Returns the number of document library folders associated with the document library file entry type.- Parameters:
pk
- the primary key of the document library file entry type- Returns:
- the number of document library folders associated with the document library file entry type
-
containsDLFolder
boolean containsDLFolder(long pk, long dlFolderPK) Returnstrue
if the document library folder is associated with the document library file entry type.- Parameters:
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library folder- Returns:
true
if the document library folder is associated with the document library file entry type;false
otherwise
-
containsDLFolders
boolean containsDLFolders(long pk) Returnstrue
if the document library file entry type has any document library folders associated with it.- Parameters:
pk
- the primary key of the document library file entry type to check for associations with document library folders- Returns:
true
if the document library file entry type has any document library folders associated with it;false
otherwise
-
addDLFolder
boolean addDLFolder(long pk, long dlFolderPK) Adds an association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library folder- Returns:
true
if an association between the document library file entry type and the document library folder was added;false
if they were already associated
-
addDLFolder
Adds an association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the document library file entry typedlFolder
- the document library folder- Returns:
true
if an association between the document library file entry type and the document library folder was added;false
if they were already associated
-
addDLFolders
boolean addDLFolders(long pk, long[] dlFolderPKs) Adds an association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the document library file entry typedlFolderPKs
- the primary keys of the document library folders- Returns:
true
if at least one association between the document library file entry type and the document library folders was added;false
if they were all already associated
-
addDLFolders
Adds an association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the document library file entry typedlFolders
- the document library folders- Returns:
true
if at least one association between the document library file entry type and the document library folders was added;false
if they were all already associated
-
clearDLFolders
void clearDLFolders(long pk) Clears all associations between the document library file entry type and its document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the document library file entry type to clear the associated document library folders from
-
removeDLFolder
void removeDLFolder(long pk, long dlFolderPK) Removes the association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library folder
-
removeDLFolder
Removes the association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the document library file entry typedlFolder
- the document library folder
-
removeDLFolders
void removeDLFolders(long pk, long[] dlFolderPKs) Removes the association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the document library file entry typedlFolderPKs
- the primary keys of the document library folders
-
removeDLFolders
Removes the association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the document library file entry typedlFolders
- the document library folders
-
setDLFolders
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. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the document library file entry typedlFolderPKs
- the primary keys of the document library folders to be associated with the document library file entry type
-
setDLFolders
Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Parameters:
pk
- the primary key of the document library file entry typedlFolders
- the document library folders to be associated with the document library file entry type
-