@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 DLFileRankLocalService
dlFileRank
- the document library file rankpublic DLFileRank addFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext)
addFileRank
in interface DLFileRankLocalService
public void checkFileRanks()
checkFileRanks
in interface DLFileRankLocalService
public DLFileRank createDLFileRank(long fileRankId)
createDLFileRank
in interface DLFileRankLocalService
fileRankId
- the primary key for the new document library file rankpublic DLFileRank deleteDLFileRank(DLFileRank dlFileRank)
deleteDLFileRank
in interface DLFileRankLocalService
dlFileRank
- the document library file rankpublic DLFileRank deleteDLFileRank(long fileRankId) throws PortalException
deleteDLFileRank
in interface DLFileRankLocalService
fileRankId
- the primary key of the document library file rankPortalException
- if a document library file rank with the primary key could not be foundpublic void deleteFileRank(DLFileRank dlFileRank)
deleteFileRank
in interface DLFileRankLocalService
public void deleteFileRank(long fileRankId) throws PortalException
deleteFileRank
in interface DLFileRankLocalService
PortalException
public void deleteFileRanksByFileEntryId(long fileEntryId)
deleteFileRanksByFileEntryId
in interface DLFileRankLocalService
public void deleteFileRanksByUserId(long userId)
deleteFileRanksByUserId
in interface DLFileRankLocalService
public PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface DLFileRankLocalService
deletePersistedModel
in interface PersistedModelLocalService
PortalException
public void disableFileRanks(long fileEntryId)
disableFileRanks
in interface DLFileRankLocalService
public void disableFileRanksByFolderId(long folderId) throws PortalException
disableFileRanksByFolderId
in interface DLFileRankLocalService
PortalException
public DynamicQuery dynamicQuery()
dynamicQuery
in interface DLFileRankLocalService
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
in interface DLFileRankLocalService
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 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 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 DLFileRankLocalService
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 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 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 DLFileRankLocalService
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 DLFileRankLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount
in interface DLFileRankLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic void enableFileRanks(long fileEntryId)
enableFileRanks
in interface DLFileRankLocalService
public void enableFileRanksByFolderId(long folderId) throws PortalException
enableFileRanksByFolderId
in interface DLFileRankLocalService
PortalException
public DLFileRank fetchDLFileRank(long fileRankId)
fetchDLFileRank
in interface DLFileRankLocalService
public ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface DLFileRankLocalService
public DLFileRank getDLFileRank(long fileRankId) throws PortalException
getDLFileRank
in interface DLFileRankLocalService
fileRankId
- the primary key of the document library file rankPortalException
- if a document library file rank with the primary key could not be foundpublic 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 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 DLFileRankLocalService
start
- 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 int getDLFileRanksCount()
getDLFileRanksCount
in interface DLFileRankLocalService
public List<DLFileRank> getFileRanks(long groupId, long userId)
getFileRanks
in interface DLFileRankLocalService
public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface DLFileRankLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface DLFileRankLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface DLFileRankLocalService
getPersistedModel
in interface PersistedModelLocalService
PortalException
public DLFileRank updateDLFileRank(DLFileRank dlFileRank)
updateDLFileRank
in interface DLFileRankLocalService
dlFileRank
- the document library file rankpublic DLFileRank updateFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext)
updateFileRank
in interface DLFileRankLocalService
public DLFileRankLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<DLFileRankLocalService>
public void setWrappedService(DLFileRankLocalService dlFileRankLocalService)
setWrappedService
in interface ServiceWrapper<DLFileRankLocalService>