|
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.DLFileRankLocalServiceUtil
public class DLFileRankLocalServiceUtil
The utility for the d l file rank local service. This utility wraps DLFileRankLocalServiceImpl
and is the primary access point for service operations in application layer code running on the local server.
Never modify this class directly. Add custom service methods to DLFileRankLocalServiceImpl
and rerun ServiceBuilder to regenerate this class.
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.
DLFileRankLocalService
,
DLFileRankLocalServiceBaseImpl
,
DLFileRankLocalServiceImpl
Constructor Summary | |
---|---|
DLFileRankLocalServiceUtil()
|
Method Summary | |
---|---|
static DLFileRank |
addDLFileRank(DLFileRank dlFileRank)
Adds the d l file rank to the database. |
static DLFileRank |
addFileRank(long groupId,
long companyId,
long userId,
long folderId,
String name,
ServiceContext serviceContext)
|
static DLFileRank |
createDLFileRank(long fileRankId)
Creates a new d l file rank with the primary key. |
static void |
deleteDLFileRank(DLFileRank dlFileRank)
Deletes the d l file rank from the database. |
static void |
deleteDLFileRank(long fileRankId)
Deletes the d l file rank with the primary key from the database. |
static void |
deleteFileRanks(long userId)
|
static void |
deleteFileRanks(long folderId,
String name)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
static 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. |
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Counts the number of rows that match the dynamic query. |
static DLFileRank |
getDLFileRank(long fileRankId)
Gets the d l file rank with the primary key. |
static List<DLFileRank> |
getDLFileRanks(int start,
int end)
Gets a range of all the d l file ranks. |
static int |
getDLFileRanksCount()
Gets the number of d l file ranks. |
static List<DLFileRank> |
getFileRanks(long groupId,
long userId)
|
static List<DLFileRank> |
getFileRanks(long groupId,
long userId,
int start,
int end)
|
static DLFileRankLocalService |
getService()
|
void |
setService(DLFileRankLocalService service)
|
static DLFileRank |
updateDLFileRank(DLFileRank dlFileRank)
Updates the d l file rank in the database. |
static DLFileRank |
updateDLFileRank(DLFileRank dlFileRank,
boolean merge)
Updates the d l file rank in the database. |
static 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 DLFileRankLocalServiceUtil()
Method Detail |
---|
public static DLFileRank addDLFileRank(DLFileRank dlFileRank) throws SystemException
dlFileRank
- the d l file rank to add
SystemException
- if a system exception occurredpublic static DLFileRank createDLFileRank(long fileRankId)
fileRankId
- the primary key for the new d l file rank
public static 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 occurredpublic static void deleteDLFileRank(DLFileRank dlFileRank) throws SystemException
dlFileRank
- the d l file rank to delete
SystemException
- if a system exception occurredpublic static List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic static 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
- 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 static 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
- 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 static long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic static 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 occurredpublic static 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 occurredpublic static int getDLFileRanksCount() throws SystemException
SystemException
- if a system exception occurredpublic static DLFileRank updateDLFileRank(DLFileRank dlFileRank) throws SystemException
dlFileRank
- the d l file rank to update
SystemException
- if a system exception occurredpublic static DLFileRank 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 occurredpublic static DLFileRank addFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext) throws SystemException
SystemException
public static void deleteFileRanks(long userId) throws SystemException
SystemException
public static void deleteFileRanks(long folderId, String name) throws SystemException
SystemException
public static List<DLFileRank> getFileRanks(long groupId, long userId) throws SystemException
SystemException
public static List<DLFileRank> getFileRanks(long groupId, long userId, int start, int end) throws SystemException
SystemException
public static DLFileRank updateFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext) throws SystemException
SystemException
public static DLFileRankLocalService getService()
public void setService(DLFileRankLocalService service)
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |