|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.service.DLFileRankLocalServiceWrapper
@ProviderType public class DLFileRankLocalServiceWrapper
Provides a wrapper for DLFileRankLocalService
.
DLFileRankLocalService
Constructor Summary | |
---|---|
DLFileRankLocalServiceWrapper(DLFileRankLocalService dlFileRankLocalService)
|
Method Summary | |
---|---|
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)
|
void |
disableFileRanks(long fileEntryId)
|
void |
disableFileRanksByFolderId(long folderId)
|
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator 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 that match the dynamic query. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
void |
enableFileRanks(long fileEntryId)
|
void |
enableFileRanksByFolderId(long folderId)
|
DLFileRank |
fetchDLFileRank(long fileRankId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
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)
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
DLFileRankLocalService |
getWrappedDLFileRankLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService() |
DLFileRankLocalService |
getWrappedService()
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedDLFileRankLocalService(DLFileRankLocalService dlFileRankLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileRankLocalService) |
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLFileRankLocalServiceWrapper(DLFileRankLocalService dlFileRankLocalService)
Method Detail |
---|
public DLFileRank addDLFileRank(DLFileRank dlFileRank) throws SystemException
addDLFileRank
in interface DLFileRankLocalService
dlFileRank
- the document library file rank
SystemException
- if a system exception occurredpublic DLFileRank createDLFileRank(long fileRankId)
createDLFileRank
in interface DLFileRankLocalService
fileRankId
- the primary key for the new document library file rank
public DLFileRank deleteDLFileRank(long fileRankId) throws PortalException, SystemException
deleteDLFileRank
in interface DLFileRankLocalService
fileRankId
- the primary key of the document library file rank
PortalException
- if a document library file rank with the primary key could not be found
SystemException
- if a system exception occurredpublic DLFileRank deleteDLFileRank(DLFileRank dlFileRank) throws SystemException
deleteDLFileRank
in interface DLFileRankLocalService
dlFileRank
- the document library file rank
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface DLFileRankLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface DLFileRankLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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)
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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
)
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface DLFileRankLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface DLFileRankLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic DLFileRank fetchDLFileRank(long fileRankId) throws SystemException
fetchDLFileRank
in interface DLFileRankLocalService
SystemException
public DLFileRank getDLFileRank(long fileRankId) throws PortalException, SystemException
getDLFileRank
in interface DLFileRankLocalService
fileRankId
- the primary key of the document library file rank
PortalException
- if a document library file rank with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface DLFileRankLocalService
PortalException
SystemException
public List<DLFileRank> getDLFileRanks(int start, int end) throws SystemException
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)
SystemException
- if a system exception occurredpublic int getDLFileRanksCount() throws SystemException
getDLFileRanksCount
in interface DLFileRankLocalService
SystemException
- if a system exception occurredpublic DLFileRank updateDLFileRank(DLFileRank dlFileRank) throws SystemException
updateDLFileRank
in interface DLFileRankLocalService
dlFileRank
- the document library file rank
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface DLFileRankLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface DLFileRankLocalService
beanIdentifier
- the Spring bean ID for this beanpublic DLFileRank addFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext) throws SystemException
addFileRank
in interface DLFileRankLocalService
SystemException
public void checkFileRanks() throws SystemException
checkFileRanks
in interface DLFileRankLocalService
SystemException
public void deleteFileRank(DLFileRank dlFileRank) throws SystemException
deleteFileRank
in interface DLFileRankLocalService
SystemException
public void deleteFileRank(long fileRankId) throws PortalException, SystemException
deleteFileRank
in interface DLFileRankLocalService
PortalException
SystemException
public void deleteFileRanksByFileEntryId(long fileEntryId) throws SystemException
deleteFileRanksByFileEntryId
in interface DLFileRankLocalService
SystemException
public void deleteFileRanksByUserId(long userId) throws SystemException
deleteFileRanksByUserId
in interface DLFileRankLocalService
SystemException
public void disableFileRanks(long fileEntryId) throws SystemException
disableFileRanks
in interface DLFileRankLocalService
SystemException
public void disableFileRanksByFolderId(long folderId) throws PortalException, SystemException
disableFileRanksByFolderId
in interface DLFileRankLocalService
PortalException
SystemException
public void enableFileRanks(long fileEntryId) throws SystemException
enableFileRanks
in interface DLFileRankLocalService
SystemException
public void enableFileRanksByFolderId(long folderId) throws PortalException, SystemException
enableFileRanksByFolderId
in interface DLFileRankLocalService
PortalException
SystemException
public List<DLFileRank> getFileRanks(long groupId, long userId) throws SystemException
getFileRanks
in interface DLFileRankLocalService
SystemException
public DLFileRank updateFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext) throws SystemException
updateFileRank
in interface DLFileRankLocalService
SystemException
public DLFileRankLocalService getWrappedDLFileRankLocalService()
getWrappedService()
public void setWrappedDLFileRankLocalService(DLFileRankLocalService dlFileRankLocalService)
setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileRankLocalService)
public DLFileRankLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<DLFileRankLocalService>
public void setWrappedService(DLFileRankLocalService dlFileRankLocalService)
setWrappedService
in interface ServiceWrapper<DLFileRankLocalService>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |