@ProviderType public class DLFileRankLocalServiceWrapper extends Object implements DLFileRankLocalService, ServiceWrapper<DLFileRankLocalService>
DLFileRankLocalService.DLFileRankLocalService| Constructor and Description |
|---|
DLFileRankLocalServiceWrapper(DLFileRankLocalService dlFileRankLocalService) |
| Modifier and Type | Method and Description |
|---|---|
DLFileRank |
addDLFileRank(DLFileRank dlFileRank)
Adds the document library file rank to the database.
|
DLFileRank |
addFileRank(long groupId,
long companyId,
long userId,
long fileEntryId,
ServiceContext serviceContext) |
void |
checkFileRanks() |
DLFileRank |
createDLFileRank(long fileRankId)
Creates a new document library file rank with the primary key.
|
DLFileRank |
deleteDLFileRank(DLFileRank dlFileRank)
Deletes the document library file rank from the database.
|
DLFileRank |
deleteDLFileRank(long fileRankId)
Deletes the document library file rank with the primary key from the database.
|
void |
deleteFileRank(DLFileRank dlFileRank) |
void |
deleteFileRank(long fileRankId) |
void |
deleteFileRanksByFileEntryId(long fileEntryId) |
void |
deleteFileRanksByUserId(long userId) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
void |
disableFileRanks(long fileEntryId) |
void |
disableFileRanksByFolderId(long folderId) |
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.
|
void |
enableFileRanks(long fileEntryId) |
void |
enableFileRanksByFolderId(long folderId) |
DLFileRank |
fetchDLFileRank(long fileRankId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
DLFileRank |
getDLFileRank(long fileRankId)
Returns the document library file rank with the primary key.
|
List<DLFileRank> |
getDLFileRanks(int start,
int end)
Returns a range of all the document library file ranks.
|
int |
getDLFileRanksCount()
Returns the number of document library file ranks.
|
List<DLFileRank> |
getFileRanks(long groupId,
long userId) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
DLFileRankLocalService |
getWrappedService() |
void |
setWrappedService(DLFileRankLocalService dlFileRankLocalService) |
DLFileRank |
updateDLFileRank(DLFileRank dlFileRank)
Updates the document library file rank in the database or adds it if it does not yet exist.
|
DLFileRank |
updateFileRank(long groupId,
long companyId,
long userId,
long fileEntryId,
ServiceContext serviceContext) |
public DLFileRankLocalServiceWrapper(DLFileRankLocalService dlFileRankLocalService)
public DLFileRank addDLFileRank(DLFileRank dlFileRank)
addDLFileRank in interface DLFileRankLocalServicedlFileRank - the document library file rankpublic DLFileRank addFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext)
addFileRank in interface DLFileRankLocalServicepublic DLFileRank createDLFileRank(long fileRankId)
createDLFileRank in interface DLFileRankLocalServicefileRankId - the primary key for the new document library file rankpublic DLFileRank deleteDLFileRank(DLFileRank dlFileRank)
deleteDLFileRank in interface DLFileRankLocalServicedlFileRank - the document library file rankpublic DLFileRank deleteDLFileRank(long fileRankId) throws PortalException
deleteDLFileRank in interface DLFileRankLocalServicefileRankId - the primary key of the document library file rankPortalException - if a document library file rank with the primary key could not be foundpublic DLFileRank fetchDLFileRank(long fileRankId)
fetchDLFileRank in interface DLFileRankLocalServicepublic DLFileRank getDLFileRank(long fileRankId) throws PortalException
getDLFileRank in interface DLFileRankLocalServicefileRankId - the primary key of the document library file rankPortalException - if a document library file rank with the primary key could not be foundpublic DLFileRank updateDLFileRank(DLFileRank dlFileRank)
updateDLFileRank in interface DLFileRankLocalServicedlFileRank - the document library file rankpublic DLFileRank updateFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext)
updateFileRank in interface DLFileRankLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface DLFileRankLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface DLFileRankLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface DLFileRankLocalServicepublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface DLFileRankLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface DLFileRankLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic int getDLFileRanksCount()
getDLFileRanksCount in interface DLFileRankLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface DLFileRankLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface DLFileRankLocalServicedynamicQuery - 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 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 com.liferay.portlet.documentlibrary.model.impl.DLFileRankModelImpl. 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 DLFileRankLocalServicedynamicQuery - 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 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 com.liferay.portlet.documentlibrary.model.impl.DLFileRankModelImpl. 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 DLFileRankLocalServicedynamicQuery - 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 List<DLFileRank> getDLFileRanks(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 com.liferay.portlet.documentlibrary.model.impl.DLFileRankModelImpl. 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.
getDLFileRanks in interface DLFileRankLocalServicestart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)public List<DLFileRank> getFileRanks(long groupId, long userId)
getFileRanks in interface DLFileRankLocalServicepublic long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface DLFileRankLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface DLFileRankLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic void checkFileRanks()
checkFileRanks in interface DLFileRankLocalServicepublic void deleteFileRank(DLFileRank dlFileRank)
deleteFileRank in interface DLFileRankLocalServicepublic void deleteFileRank(long fileRankId)
throws PortalException
deleteFileRank in interface DLFileRankLocalServicePortalExceptionpublic void deleteFileRanksByFileEntryId(long fileEntryId)
deleteFileRanksByFileEntryId in interface DLFileRankLocalServicepublic void deleteFileRanksByUserId(long userId)
deleteFileRanksByUserId in interface DLFileRankLocalServicepublic void disableFileRanks(long fileEntryId)
disableFileRanks in interface DLFileRankLocalServicepublic void disableFileRanksByFolderId(long folderId)
throws PortalException
disableFileRanksByFolderId in interface DLFileRankLocalServicePortalExceptionpublic void enableFileRanks(long fileEntryId)
enableFileRanks in interface DLFileRankLocalServicepublic void enableFileRanksByFolderId(long folderId)
throws PortalException
enableFileRanksByFolderId in interface DLFileRankLocalServicePortalExceptionpublic DLFileRankLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<DLFileRankLocalService>public void setWrappedService(DLFileRankLocalService dlFileRankLocalService)
setWrappedService in interface ServiceWrapper<DLFileRankLocalService>