@ProviderType
public class DLFileEntryMetadataUtil
extends Object
DLFileEntryMetadataPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DLFileEntryMetadataPersistence
,
DLFileEntryMetadataPersistenceImpl
Constructor and Description |
---|
DLFileEntryMetadataUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DLFileEntryMetadata dlFileEntryMetadata)
Caches the document library file entry metadata in the entity cache if it is enabled.
|
static void |
cacheResult(List<DLFileEntryMetadata> dlFileEntryMetadatas)
Caches the document library file entry metadatas in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DLFileEntryMetadata dlFileEntryMetadata) |
static int |
countAll()
Returns the number of document library file entry metadatas.
|
static int |
countByD_F(long DDMStructureId,
long fileVersionId)
Returns the number of document library file entry metadatas where DDMStructureId = ? and fileVersionId = ?.
|
static int |
countByFileEntryId(long fileEntryId)
Returns the number of document library file entry metadatas where fileEntryId = ?.
|
static int |
countByFileVersionId(long fileVersionId)
Returns the number of document library file entry metadatas where fileVersionId = ?.
|
static int |
countByUuid_C(String uuid,
long companyId)
Returns the number of document library file entry metadatas where uuid = ? and companyId = ?.
|
static int |
countByUuid(String uuid)
Returns the number of document library file entry metadatas where uuid = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static DLFileEntryMetadata |
create(long fileEntryMetadataId)
Creates a new document library file entry metadata with the primary key.
|
static DLFileEntryMetadata |
fetchByD_F(long DDMStructureId,
long fileVersionId)
Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or returns
null if it could not be found. |
static DLFileEntryMetadata |
fetchByD_F(long DDMStructureId,
long fileVersionId,
boolean retrieveFromCache)
Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or returns
null if it could not be found, optionally using the finder cache. |
static DLFileEntryMetadata |
fetchByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.
|
static DLFileEntryMetadata |
fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.
|
static DLFileEntryMetadata |
fetchByFileVersionId_First(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.
|
static DLFileEntryMetadata |
fetchByFileVersionId_Last(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.
|
static DLFileEntryMetadata |
fetchByPrimaryKey(long fileEntryMetadataId)
Returns the document library file entry metadata with the primary key or returns
null if it could not be found. |
static Map<Serializable,DLFileEntryMetadata> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static DLFileEntryMetadata |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.
|
static DLFileEntryMetadata |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.
|
static DLFileEntryMetadata |
fetchByUuid_First(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where uuid = ?.
|
static DLFileEntryMetadata |
fetchByUuid_Last(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where uuid = ?.
|
static List<DLFileEntryMetadata> |
findAll()
Returns all the document library file entry metadatas.
|
static List<DLFileEntryMetadata> |
findAll(int start,
int end)
Returns a range of all the document library file entry metadatas.
|
static List<DLFileEntryMetadata> |
findAll(int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns an ordered range of all the document library file entry metadatas.
|
static List<DLFileEntryMetadata> |
findAll(int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas.
|
static DLFileEntryMetadata |
findByD_F(long DDMStructureId,
long fileVersionId)
Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or throws a
NoSuchFileEntryMetadataException if it could not be found. |
static DLFileEntryMetadata |
findByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.
|
static DLFileEntryMetadata |
findByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.
|
static DLFileEntryMetadata[] |
findByFileEntryId_PrevAndNext(long fileEntryMetadataId,
long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileEntryId = ?.
|
static List<DLFileEntryMetadata> |
findByFileEntryId(long fileEntryId)
Returns all the document library file entry metadatas where fileEntryId = ?.
|
static List<DLFileEntryMetadata> |
findByFileEntryId(long fileEntryId,
int start,
int end)
Returns a range of all the document library file entry metadatas where fileEntryId = ?.
|
static List<DLFileEntryMetadata> |
findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?.
|
static List<DLFileEntryMetadata> |
findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?.
|
static DLFileEntryMetadata |
findByFileVersionId_First(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.
|
static DLFileEntryMetadata |
findByFileVersionId_Last(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.
|
static DLFileEntryMetadata[] |
findByFileVersionId_PrevAndNext(long fileEntryMetadataId,
long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileVersionId = ?.
|
static List<DLFileEntryMetadata> |
findByFileVersionId(long fileVersionId)
Returns all the document library file entry metadatas where fileVersionId = ?.
|
static List<DLFileEntryMetadata> |
findByFileVersionId(long fileVersionId,
int start,
int end)
Returns a range of all the document library file entry metadatas where fileVersionId = ?.
|
static List<DLFileEntryMetadata> |
findByFileVersionId(long fileVersionId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?.
|
static List<DLFileEntryMetadata> |
findByFileVersionId(long fileVersionId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?.
|
static DLFileEntryMetadata |
findByPrimaryKey(long fileEntryMetadataId)
Returns the document library file entry metadata with the primary key or throws a
NoSuchFileEntryMetadataException if it could not be found. |
static DLFileEntryMetadata |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.
|
static DLFileEntryMetadata |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.
|
static DLFileEntryMetadata[] |
findByUuid_C_PrevAndNext(long fileEntryMetadataId,
String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where uuid = ? and companyId = ?.
|
static List<DLFileEntryMetadata> |
findByUuid_C(String uuid,
long companyId)
Returns all the document library file entry metadatas where uuid = ? and companyId = ?.
|
static List<DLFileEntryMetadata> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the document library file entry metadatas where uuid = ? and companyId = ?.
|
static List<DLFileEntryMetadata> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns an ordered range of all the document library file entry metadatas where uuid = ? and companyId = ?.
|
static List<DLFileEntryMetadata> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas where uuid = ? and companyId = ?.
|
static DLFileEntryMetadata |
findByUuid_First(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where uuid = ?.
|
static DLFileEntryMetadata |
findByUuid_Last(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where uuid = ?.
|
static DLFileEntryMetadata[] |
findByUuid_PrevAndNext(long fileEntryMetadataId,
String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where uuid = ?.
|
static List<DLFileEntryMetadata> |
findByUuid(String uuid)
Returns all the document library file entry metadatas where uuid = ?.
|
static List<DLFileEntryMetadata> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library file entry metadatas where uuid = ?.
|
static List<DLFileEntryMetadata> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns an ordered range of all the document library file entry metadatas where uuid = ?.
|
static List<DLFileEntryMetadata> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas where uuid = ?.
|
static List<DLFileEntryMetadata> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static List<DLFileEntryMetadata> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static List<DLFileEntryMetadata> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator) |
static Set<String> |
getBadColumnNames() |
static DLFileEntryMetadataPersistence |
getPersistence() |
static DLFileEntryMetadata |
remove(long fileEntryMetadataId)
Removes the document library file entry metadata with the primary key from the database.
|
static void |
removeAll()
Removes all the document library file entry metadatas from the database.
|
static DLFileEntryMetadata |
removeByD_F(long DDMStructureId,
long fileVersionId)
Removes the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? from the database.
|
static void |
removeByFileEntryId(long fileEntryId)
Removes all the document library file entry metadatas where fileEntryId = ? from the database.
|
static void |
removeByFileVersionId(long fileVersionId)
Removes all the document library file entry metadatas where fileVersionId = ? from the database.
|
static void |
removeByUuid_C(String uuid,
long companyId)
Removes all the document library file entry metadatas where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(String uuid)
Removes all the document library file entry metadatas where uuid = ? from the database.
|
static DLFileEntryMetadata |
update(DLFileEntryMetadata dlFileEntryMetadata) |
static DLFileEntryMetadata |
update(DLFileEntryMetadata dlFileEntryMetadata,
ServiceContext serviceContext) |
static DLFileEntryMetadata |
updateImpl(DLFileEntryMetadata dlFileEntryMetadata) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DLFileEntryMetadata dlFileEntryMetadata)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<DLFileEntryMetadata> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<DLFileEntryMetadata> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static List<DLFileEntryMetadata> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<DLFileEntryMetadata> orderByComparator)
public static DLFileEntryMetadata update(DLFileEntryMetadata dlFileEntryMetadata)
public static DLFileEntryMetadata update(DLFileEntryMetadata dlFileEntryMetadata, ServiceContext serviceContext)
public static List<DLFileEntryMetadata> findByUuid(String uuid)
uuid
- the uuidpublic static List<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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 metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)public static List<DLFileEntryMetadata> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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 metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<DLFileEntryMetadata> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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 metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DLFileEntryMetadata findByUuid_First(String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata fetchByUuid_First(String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata findByUuid_Last(String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata fetchByUuid_Last(String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata[] findByUuid_PrevAndNext(long fileEntryMetadataId, String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException
fileEntryMetadataId
- the primary key of the current document library file entry metadatauuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundpublic static void removeByUuid(String uuid)
uuid
- the uuidpublic static int countByUuid(String uuid)
uuid
- the uuidpublic static List<DLFileEntryMetadata> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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 metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)public static List<DLFileEntryMetadata> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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 metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<DLFileEntryMetadata> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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 metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DLFileEntryMetadata findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata findByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata[] findByUuid_C_PrevAndNext(long fileEntryMetadataId, String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException
fileEntryMetadataId
- the primary key of the current document library file entry metadatauuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundpublic static void removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId)
fileEntryId
- the file entry IDpublic static List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId, 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 DLFileEntryMetadataModelImpl
. 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.
fileEntryId
- the file entry IDstart
- the lower bound of the range of document library file entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)public static List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId, int start, int end, OrderByComparator<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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.
fileEntryId
- the file entry IDstart
- the lower bound of the range of document library file entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId, int start, int end, OrderByComparator<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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.
fileEntryId
- the file entry IDstart
- the lower bound of the range of document library file entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DLFileEntryMetadata findByFileEntryId_First(long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata fetchByFileEntryId_First(long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator)
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata findByFileEntryId_Last(long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata fetchByFileEntryId_Last(long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator)
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata[] findByFileEntryId_PrevAndNext(long fileEntryMetadataId, long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException
fileEntryMetadataId
- the primary key of the current document library file entry metadatafileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundpublic static void removeByFileEntryId(long fileEntryId)
fileEntryId
- the file entry IDpublic static int countByFileEntryId(long fileEntryId)
fileEntryId
- the file entry IDpublic static List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId)
fileVersionId
- the file version IDpublic static List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId, 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 DLFileEntryMetadataModelImpl
. 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.
fileVersionId
- the file version IDstart
- the lower bound of the range of document library file entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)public static List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId, int start, int end, OrderByComparator<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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.
fileVersionId
- the file version IDstart
- the lower bound of the range of document library file entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId, int start, int end, OrderByComparator<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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.
fileVersionId
- the file version IDstart
- the lower bound of the range of document library file entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DLFileEntryMetadata findByFileVersionId_First(long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata fetchByFileVersionId_First(long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator)
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata findByFileVersionId_Last(long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata fetchByFileVersionId_Last(long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator)
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata[] findByFileVersionId_PrevAndNext(long fileEntryMetadataId, long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator) throws NoSuchFileEntryMetadataException
fileEntryMetadataId
- the primary key of the current document library file entry metadatafileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundpublic static void removeByFileVersionId(long fileVersionId)
fileVersionId
- the file version IDpublic static int countByFileVersionId(long fileVersionId)
fileVersionId
- the file version IDpublic static DLFileEntryMetadata findByD_F(long DDMStructureId, long fileVersionId) throws NoSuchFileEntryMetadataException
NoSuchFileEntryMetadataException
if it could not be found.DDMStructureId
- the ddm structure IDfileVersionId
- the file version IDNoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata fetchByD_F(long DDMStructureId, long fileVersionId)
null
if it could not be found. Uses the finder cache.DDMStructureId
- the ddm structure IDfileVersionId
- the file version IDnull
if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata fetchByD_F(long DDMStructureId, long fileVersionId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.DDMStructureId
- the ddm structure IDfileVersionId
- the file version IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching document library file entry metadata could not be foundpublic static DLFileEntryMetadata removeByD_F(long DDMStructureId, long fileVersionId) throws NoSuchFileEntryMetadataException
DDMStructureId
- the ddm structure IDfileVersionId
- the file version IDNoSuchFileEntryMetadataException
public static int countByD_F(long DDMStructureId, long fileVersionId)
DDMStructureId
- the ddm structure IDfileVersionId
- the file version IDpublic static void cacheResult(DLFileEntryMetadata dlFileEntryMetadata)
dlFileEntryMetadata
- the document library file entry metadatapublic static void cacheResult(List<DLFileEntryMetadata> dlFileEntryMetadatas)
dlFileEntryMetadatas
- the document library file entry metadataspublic static DLFileEntryMetadata create(long fileEntryMetadataId)
fileEntryMetadataId
- the primary key for the new document library file entry metadatapublic static DLFileEntryMetadata remove(long fileEntryMetadataId) throws NoSuchFileEntryMetadataException
fileEntryMetadataId
- the primary key of the document library file entry metadataNoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundpublic static DLFileEntryMetadata updateImpl(DLFileEntryMetadata dlFileEntryMetadata)
public static DLFileEntryMetadata findByPrimaryKey(long fileEntryMetadataId) throws NoSuchFileEntryMetadataException
NoSuchFileEntryMetadataException
if it could not be found.fileEntryMetadataId
- the primary key of the document library file entry metadataNoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be foundpublic static DLFileEntryMetadata fetchByPrimaryKey(long fileEntryMetadataId)
null
if it could not be found.fileEntryMetadataId
- the primary key of the document library file entry metadatanull
if a document library file entry metadata with the primary key could not be foundpublic static Map<Serializable,DLFileEntryMetadata> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
public static List<DLFileEntryMetadata> findAll()
public static List<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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 metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)public static List<DLFileEntryMetadata> findAll(int start, int end, OrderByComparator<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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 metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<DLFileEntryMetadata> findAll(int start, int end, OrderByComparator<DLFileEntryMetadata> 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 DLFileEntryMetadataModelImpl
. 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 metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static Set<String> getBadColumnNames()
public static DLFileEntryMetadataPersistence getPersistence()