public class DLFileEntryMetadataLocalServiceWrapper extends Object implements DLFileEntryMetadataLocalService, ServiceWrapper<DLFileEntryMetadataLocalService>
DLFileEntryMetadataLocalService
.DLFileEntryMetadataLocalService
Constructor and Description |
---|
DLFileEntryMetadataLocalServiceWrapper() |
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.
|
PersistedModel |
createPersistedModel(Serializable primaryKeyObj) |
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) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
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() |
CTPersistence<DLFileEntryMetadata> |
getCTPersistence() |
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() |
Class<DLFileEntryMetadata> |
getModelClass() |
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) |
<R,E extends Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<DLFileEntryMetadata>,R,E> updateUnsafeFunction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBasePersistence
public DLFileEntryMetadataLocalServiceWrapper()
public DLFileEntryMetadataLocalServiceWrapper(DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService)
public DLFileEntryMetadata addDLFileEntryMetadata(DLFileEntryMetadata dlFileEntryMetadata)
Important: Inspect DLFileEntryMetadataLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
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 PersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException
createPersistedModel
in interface DLFileEntryMetadataLocalService
createPersistedModel
in interface PersistedModelLocalService
PortalException
public DLFileEntryMetadata deleteDLFileEntryMetadata(DLFileEntryMetadata dlFileEntryMetadata)
Important: Inspect DLFileEntryMetadataLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteDLFileEntryMetadata
in interface DLFileEntryMetadataLocalService
dlFileEntryMetadata
- the document library file entry metadatapublic DLFileEntryMetadata deleteDLFileEntryMetadata(long fileEntryMetadataId) throws PortalException
Important: Inspect DLFileEntryMetadataLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
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 <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface DLFileEntryMetadataLocalService
dslQuery
in interface PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface DLFileEntryMetadataLocalService
dslQueryCount
in interface PersistedModelLocalService
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, then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.DLFileEntryMetadataModelImpl
.
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, then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.DLFileEntryMetadataModelImpl
.
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, then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.DLFileEntryMetadataModelImpl
.
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)
Important: Inspect DLFileEntryMetadataLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
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 CTPersistence<DLFileEntryMetadata> getCTPersistence()
getCTPersistence
in interface DLFileEntryMetadataLocalService
getCTPersistence
in interface CTService<DLFileEntryMetadata>
public Class<DLFileEntryMetadata> getModelClass()
getModelClass
in interface DLFileEntryMetadataLocalService
getModelClass
in interface CTService<DLFileEntryMetadata>
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<DLFileEntryMetadata>,R,E> updateUnsafeFunction) throws E extends Throwable
updateWithUnsafeFunction
in interface DLFileEntryMetadataLocalService
updateWithUnsafeFunction
in interface CTService<DLFileEntryMetadata>
E extends Throwable
public DLFileEntryMetadataLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<DLFileEntryMetadataLocalService>
public void setWrappedService(DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService)
setWrappedService
in interface ServiceWrapper<DLFileEntryMetadataLocalService>