public class DLFileEntryMetadataLocalServiceWrapper extends Object implements DLFileEntryMetadataLocalService, ServiceWrapper<DLFileEntryMetadataLocalService>
DLFileEntryMetadataLocalService
.DLFileEntryMetadataLocalService
Constructor and Description |
---|
DLFileEntryMetadataLocalServiceWrapper(DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) |
Modifier and Type | Method and Description |
---|---|
DLFileEntryMetadata |
addDLFileEntryMetadata(DLFileEntryMetadata dlFileEntryMetadata)
Adds the document library file entry metadata to the database.
|
DLFileEntryMetadata |
createDLFileEntryMetadata(long fileEntryMetadataId)
Creates a new document library file entry metadata with the primary key.
|
DLFileEntryMetadata |
deleteDLFileEntryMetadata(DLFileEntryMetadata dlFileEntryMetadata)
Deletes the document library file entry metadata from the database.
|
DLFileEntryMetadata |
deleteDLFileEntryMetadata(long fileEntryMetadataId)
Deletes the document library file entry metadata with the primary key from the database.
|
void |
deleteFileEntryMetadata(DLFileEntryMetadata fileEntryMetadata) |
void |
deleteFileEntryMetadata(long fileEntryId) |
void |
deleteFileVersionFileEntryMetadata(long fileVersionId) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
DLFileEntryMetadata |
fetchDLFileEntryMetadata(long fileEntryMetadataId) |
DLFileEntryMetadata |
fetchDLFileEntryMetadataByUuidAndCompanyId(String uuid,
long companyId)
Returns the document library file entry metadata with the matching UUID and company.
|
DLFileEntryMetadata |
fetchFileEntryMetadata(long fileEntryMetadataId) |
DLFileEntryMetadata |
fetchFileEntryMetadata(long ddmStructureId,
long fileVersionId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
DLFileEntryMetadata |
getDLFileEntryMetadata(long fileEntryMetadataId)
Returns the document library file entry metadata with the primary key.
|
DLFileEntryMetadata |
getDLFileEntryMetadataByUuidAndCompanyId(String uuid,
long companyId)
Returns the document library file entry metadata with the matching UUID and company.
|
List<DLFileEntryMetadata> |
getDLFileEntryMetadatas(int start,
int end)
Returns a range of all the document library file entry metadatas.
|
int |
getDLFileEntryMetadatasCount()
Returns the number of document library file entry metadatas.
|
DLFileEntryMetadata |
getFileEntryMetadata(long fileEntryMetadataId) |
DLFileEntryMetadata |
getFileEntryMetadata(long ddmStructureId,
long fileVersionId) |
List<DLFileEntryMetadata> |
getFileVersionFileEntryMetadatas(long fileVersionId) |
long |
getFileVersionFileEntryMetadatasCount(long fileVersionId) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
List<DLFileEntryMetadata> |
getMismatchedCompanyIdFileEntryMetadatas() |
List<DLFileEntryMetadata> |
getNoStructuresFileEntryMetadatas() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
DLFileEntryMetadataLocalService |
getWrappedService() |
void |
setWrappedService(DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) |
DLFileEntryMetadata |
updateDLFileEntryMetadata(DLFileEntryMetadata dlFileEntryMetadata)
Updates the document library file entry metadata in the database or adds it if it does not yet exist.
|
void |
updateFileEntryMetadata(long companyId,
List<DDMStructure> ddmStructures,
long fileEntryId,
long fileVersionId,
Map<String,DDMFormValues> ddmFormValuesMap,
ServiceContext serviceContext) |
void |
updateFileEntryMetadata(long fileEntryTypeId,
long fileEntryId,
long fileVersionId,
Map<String,DDMFormValues> ddmFormValuesMap,
ServiceContext serviceContext) |
public DLFileEntryMetadataLocalServiceWrapper(DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService)
public DLFileEntryMetadata addDLFileEntryMetadata(DLFileEntryMetadata dlFileEntryMetadata)
addDLFileEntryMetadata
in interface DLFileEntryMetadataLocalService
dlFileEntryMetadata
- the document library file entry metadatapublic DLFileEntryMetadata createDLFileEntryMetadata(long fileEntryMetadataId)
createDLFileEntryMetadata
in interface DLFileEntryMetadataLocalService
fileEntryMetadataId
- the primary key for the new document library file entry metadatapublic DLFileEntryMetadata deleteDLFileEntryMetadata(DLFileEntryMetadata dlFileEntryMetadata)
deleteDLFileEntryMetadata
in interface DLFileEntryMetadataLocalService
dlFileEntryMetadata
- the document library file entry metadatapublic DLFileEntryMetadata deleteDLFileEntryMetadata(long fileEntryMetadataId) throws PortalException
deleteDLFileEntryMetadata
in interface DLFileEntryMetadataLocalService
fileEntryMetadataId
- the primary key of the document library file entry metadataPortalException
- if a document library file entry metadata with the primary key could not be foundpublic void deleteFileEntryMetadata(DLFileEntryMetadata fileEntryMetadata) throws PortalException
deleteFileEntryMetadata
in interface DLFileEntryMetadataLocalService
PortalException
public void deleteFileEntryMetadata(long fileEntryId) throws PortalException
deleteFileEntryMetadata
in interface DLFileEntryMetadataLocalService
PortalException
public void deleteFileVersionFileEntryMetadata(long fileVersionId) throws PortalException
deleteFileVersionFileEntryMetadata
in interface DLFileEntryMetadataLocalService
PortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface DLFileEntryMetadataLocalService
deletePersistedModel
in interface PersistedModelLocalService
PortalException
public DynamicQuery dynamicQuery()
dynamicQuery
in interface DLFileEntryMetadataLocalService
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
in interface DLFileEntryMetadataLocalService
dynamicQuery
- the dynamic querypublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.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.
dynamicQuery
in interface DLFileEntryMetadataLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.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.
dynamicQuery
in interface DLFileEntryMetadataLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount
in interface DLFileEntryMetadataLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount
in interface DLFileEntryMetadataLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic DLFileEntryMetadata fetchDLFileEntryMetadata(long fileEntryMetadataId)
fetchDLFileEntryMetadata
in interface DLFileEntryMetadataLocalService
public DLFileEntryMetadata fetchDLFileEntryMetadataByUuidAndCompanyId(String uuid, long companyId)
fetchDLFileEntryMetadataByUuidAndCompanyId
in interface DLFileEntryMetadataLocalService
uuid
- the document library file entry metadata's UUIDcompanyId
- the primary key of the companynull
if a matching document library file entry metadata could not be foundpublic DLFileEntryMetadata fetchFileEntryMetadata(long fileEntryMetadataId)
fetchFileEntryMetadata
in interface DLFileEntryMetadataLocalService
public DLFileEntryMetadata fetchFileEntryMetadata(long ddmStructureId, long fileVersionId)
fetchFileEntryMetadata
in interface DLFileEntryMetadataLocalService
public ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface DLFileEntryMetadataLocalService
public DLFileEntryMetadata getDLFileEntryMetadata(long fileEntryMetadataId) throws PortalException
getDLFileEntryMetadata
in interface DLFileEntryMetadataLocalService
fileEntryMetadataId
- the primary key of the document library file entry metadataPortalException
- if a document library file entry metadata with the primary key could not be foundpublic DLFileEntryMetadata getDLFileEntryMetadataByUuidAndCompanyId(String uuid, long companyId) throws PortalException
getDLFileEntryMetadataByUuidAndCompanyId
in interface DLFileEntryMetadataLocalService
uuid
- the document library file entry metadata's UUIDcompanyId
- the primary key of the companyPortalException
- if a matching document library file entry metadata could not be foundpublic List<DLFileEntryMetadata> getDLFileEntryMetadatas(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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.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.
getDLFileEntryMetadatas
in interface DLFileEntryMetadataLocalService
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 int getDLFileEntryMetadatasCount()
getDLFileEntryMetadatasCount
in interface DLFileEntryMetadataLocalService
public DLFileEntryMetadata getFileEntryMetadata(long fileEntryMetadataId) throws PortalException
getFileEntryMetadata
in interface DLFileEntryMetadataLocalService
PortalException
public DLFileEntryMetadata getFileEntryMetadata(long ddmStructureId, long fileVersionId) throws PortalException
getFileEntryMetadata
in interface DLFileEntryMetadataLocalService
PortalException
public List<DLFileEntryMetadata> getFileVersionFileEntryMetadatas(long fileVersionId)
getFileVersionFileEntryMetadatas
in interface DLFileEntryMetadataLocalService
public long getFileVersionFileEntryMetadatasCount(long fileVersionId)
getFileVersionFileEntryMetadatasCount
in interface DLFileEntryMetadataLocalService
public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface DLFileEntryMetadataLocalService
public List<DLFileEntryMetadata> getMismatchedCompanyIdFileEntryMetadatas()
getMismatchedCompanyIdFileEntryMetadatas
in interface DLFileEntryMetadataLocalService
public List<DLFileEntryMetadata> getNoStructuresFileEntryMetadatas()
getNoStructuresFileEntryMetadatas
in interface DLFileEntryMetadataLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface DLFileEntryMetadataLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface DLFileEntryMetadataLocalService
getPersistedModel
in interface PersistedModelLocalService
PortalException
public DLFileEntryMetadata updateDLFileEntryMetadata(DLFileEntryMetadata dlFileEntryMetadata)
updateDLFileEntryMetadata
in interface DLFileEntryMetadataLocalService
dlFileEntryMetadata
- the document library file entry metadatapublic void updateFileEntryMetadata(long companyId, List<DDMStructure> ddmStructures, long fileEntryId, long fileVersionId, Map<String,DDMFormValues> ddmFormValuesMap, ServiceContext serviceContext) throws PortalException
updateFileEntryMetadata
in interface DLFileEntryMetadataLocalService
PortalException
public void updateFileEntryMetadata(long fileEntryTypeId, long fileEntryId, long fileVersionId, Map<String,DDMFormValues> ddmFormValuesMap, ServiceContext serviceContext) throws PortalException
updateFileEntryMetadata
in interface DLFileEntryMetadataLocalService
PortalException
public DLFileEntryMetadataLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<DLFileEntryMetadataLocalService>
public void setWrappedService(DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService)
setWrappedService
in interface ServiceWrapper<DLFileEntryMetadataLocalService>