|
Liferay 6.0.5 | |||||||||
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
public class DLFileRankLocalServiceWrapper
This class is a wrapper for DLFileRankLocalService
.
DLFileRankLocalService
Constructor Summary | |
---|---|
DLFileRankLocalServiceWrapper(DLFileRankLocalService dlFileRankLocalService)
|
Method Summary | |
---|---|
DLFileRank |
addDLFileRank(DLFileRank dlFileRank)
Adds the d l file rank to the database. |
DLFileRank |
addFileRank(long groupId,
long companyId,
long userId,
long folderId,
String name,
ServiceContext serviceContext)
|
DLFileRank |
createDLFileRank(long fileRankId)
Creates a new d l file rank with the primary key. |
void |
deleteDLFileRank(DLFileRank dlFileRank)
Deletes the d l file rank from the database. |
void |
deleteDLFileRank(long fileRankId)
Deletes the d l file rank with the primary key from the database. |
void |
deleteFileRanks(long userId)
|
void |
deleteFileRanks(long folderId,
String name)
|
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)
Counts the number of rows that match the dynamic query. |
DLFileRank |
getDLFileRank(long fileRankId)
Gets the d l file rank with the primary key. |
List<DLFileRank> |
getDLFileRanks(int start,
int end)
Gets a range of all the d l file ranks. |
int |
getDLFileRanksCount()
Gets the number of d l file ranks. |
List<DLFileRank> |
getFileRanks(long groupId,
long userId)
|
List<DLFileRank> |
getFileRanks(long groupId,
long userId,
int start,
int end)
|
DLFileRankLocalService |
getWrappedDLFileRankLocalService()
|
DLFileRank |
updateDLFileRank(DLFileRank dlFileRank)
Updates the d l file rank in the database. |
DLFileRank |
updateDLFileRank(DLFileRank dlFileRank,
boolean merge)
Updates the d l file rank in the database. |
DLFileRank |
updateFileRank(long groupId,
long companyId,
long userId,
long folderId,
String name,
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 d l file rank to add
SystemException
- if a system exception occurredpublic DLFileRank createDLFileRank(long fileRankId)
createDLFileRank
in interface DLFileRankLocalService
fileRankId
- the primary key for the new d l file rank
public void deleteDLFileRank(long fileRankId) throws PortalException, SystemException
deleteDLFileRank
in interface DLFileRankLocalService
fileRankId
- the primary key of the d l file rank to delete
PortalException
- if a d l file rank with the primary key could not be found
SystemException
- if a system exception occurredpublic void deleteDLFileRank(DLFileRank dlFileRank) throws SystemException
deleteDLFileRank
in interface DLFileRankLocalService
dlFileRank
- the d l file rank to delete
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface DLFileRankLocalService
dynamicQuery
- the dynamic query to search with
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.
dynamicQuery
in interface DLFileRankLocalService
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (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.
dynamicQuery
in interface DLFileRankLocalService
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface DLFileRankLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic DLFileRank getDLFileRank(long fileRankId) throws PortalException, SystemException
getDLFileRank
in interface DLFileRankLocalService
fileRankId
- the primary key of the d l file rank to get
PortalException
- if a d l file rank with the primary key could not be found
SystemException
- if a system exception occurredpublic 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.
getDLFileRanks
in interface DLFileRankLocalService
start
- the lower bound of the range of d l file ranks to returnend
- the upper bound of the range of d l file ranks to return (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 d l file rank to update
SystemException
- if a system exception occurredpublic DLFileRank updateDLFileRank(DLFileRank dlFileRank, boolean merge) throws SystemException
updateDLFileRank
in interface DLFileRankLocalService
dlFileRank
- the d l file rank to updatemerge
- whether to merge the d l file rank with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredpublic DLFileRank addFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext) throws SystemException
addFileRank
in interface DLFileRankLocalService
SystemException
public void deleteFileRanks(long userId) throws SystemException
deleteFileRanks
in interface DLFileRankLocalService
SystemException
public void deleteFileRanks(long folderId, String name) throws SystemException
deleteFileRanks
in interface DLFileRankLocalService
SystemException
public List<DLFileRank> getFileRanks(long groupId, long userId) throws SystemException
getFileRanks
in interface DLFileRankLocalService
SystemException
public List<DLFileRank> getFileRanks(long groupId, long userId, int start, int end) throws SystemException
getFileRanks
in interface DLFileRankLocalService
SystemException
public DLFileRank updateFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext) throws SystemException
updateFileRank
in interface DLFileRankLocalService
SystemException
public DLFileRankLocalService getWrappedDLFileRankLocalService()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |