|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface DLFileRankLocalService
The interface for the d l file rank local service.
Never modify or reference this interface directly. Always use DLFileRankLocalServiceUtil
to access the d l file rank local service. Add custom service methods to DLFileRankLocalServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
DLFileRankLocalServiceUtil
,
DLFileRankLocalServiceBaseImpl
,
DLFileRankLocalServiceImpl
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)
|
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)
|
Method Detail |
---|
DLFileRank addDLFileRank(DLFileRank dlFileRank) throws SystemException
dlFileRank
- the d l file rank to add
SystemException
- if a system exception occurredDLFileRank createDLFileRank(long fileRankId)
fileRankId
- the primary key for the new d l file rank
void deleteDLFileRank(long fileRankId) throws PortalException, SystemException
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 occurredvoid deleteDLFileRank(DLFileRank dlFileRank) throws SystemException
dlFileRank
- the d l file rank to delete
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredList 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
- 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 occurredList 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
- 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 occurredlong dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) DLFileRank getDLFileRank(long fileRankId) throws PortalException, SystemException
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 occurred@Transactional(propagation=SUPPORTS, readOnly=true) 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.
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 occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getDLFileRanksCount() throws SystemException
SystemException
- if a system exception occurredDLFileRank updateDLFileRank(DLFileRank dlFileRank) throws SystemException
dlFileRank
- the d l file rank to update
SystemException
- if a system exception occurredDLFileRank updateDLFileRank(DLFileRank dlFileRank, boolean merge) throws SystemException
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 occurredDLFileRank addFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext) throws SystemException
SystemException
void deleteFileRanks(long userId) throws SystemException
SystemException
void deleteFileRanks(long folderId, String name) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileRank> getFileRanks(long groupId, long userId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileRank> getFileRanks(long groupId, long userId, int start, int end) throws SystemException
SystemException
DLFileRank updateFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext) throws SystemException
SystemException
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |