|
Liferay 6.1.2-ce-ga3 | |||||||||
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 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)
|
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. |
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. Renamed to getWrappedService() |
DLFileRankLocalService |
getWrappedService()
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedDLFileRankLocalService(DLFileRankLocalService dlFileRankLocalService)
Deprecated. Renamed to 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 |
updateDLFileRank(DLFileRank dlFileRank,
boolean merge)
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.
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.
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 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.
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 DLFileRank updateDLFileRank(DLFileRank dlFileRank, boolean merge) throws SystemException
updateDLFileRank
in interface DLFileRankLocalService
dlFileRank
- the document library file rankmerge
- whether to merge the document library 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 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 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.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |