Liferay 6.0.5

com.liferay.portlet.documentlibrary.service
Class DLFileRankLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFileRankLocalServiceWrapper
All Implemented Interfaces:
DLFileRankLocalService

public class DLFileRankLocalServiceWrapper
extends Object
implements DLFileRankLocalService

This class is a wrapper for DLFileRankLocalService.

See Also:
DLFileRankLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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

DLFileRankLocalServiceWrapper

public DLFileRankLocalServiceWrapper(DLFileRankLocalService dlFileRankLocalService)
Method Detail

addDLFileRank

public DLFileRank addDLFileRank(DLFileRank dlFileRank)
                         throws SystemException
Adds the d l file rank to the database. Also notifies the appropriate model listeners.

Specified by:
addDLFileRank in interface DLFileRankLocalService
Parameters:
dlFileRank - the d l file rank to add
Returns:
the d l file rank that was added
Throws:
SystemException - if a system exception occurred

createDLFileRank

public DLFileRank createDLFileRank(long fileRankId)
Creates a new d l file rank with the primary key. Does not add the d l file rank to the database.

Specified by:
createDLFileRank in interface DLFileRankLocalService
Parameters:
fileRankId - the primary key for the new d l file rank
Returns:
the new d l file rank

deleteDLFileRank

public void deleteDLFileRank(long fileRankId)
                      throws PortalException,
                             SystemException
Deletes the d l file rank with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDLFileRank in interface DLFileRankLocalService
Parameters:
fileRankId - the primary key of the d l file rank to delete
Throws:
PortalException - if a d l file rank with the primary key could not be found
SystemException - if a system exception occurred

deleteDLFileRank

public void deleteDLFileRank(DLFileRank dlFileRank)
                      throws SystemException
Deletes the d l file rank from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDLFileRank in interface DLFileRankLocalService
Parameters:
dlFileRank - the d l file rank to delete
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface DLFileRankLocalService
Parameters:
dynamicQuery - the dynamic query to search with
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

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.

Specified by:
dynamicQuery in interface DLFileRankLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

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.

Specified by:
dynamicQuery in interface DLFileRankLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Counts the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface DLFileRankLocalService
Parameters:
dynamicQuery - the dynamic query to search with
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

getDLFileRank

public DLFileRank getDLFileRank(long fileRankId)
                         throws PortalException,
                                SystemException
Gets the d l file rank with the primary key.

Specified by:
getDLFileRank in interface DLFileRankLocalService
Parameters:
fileRankId - the primary key of the d l file rank to get
Returns:
the d l file rank
Throws:
PortalException - if a d l file rank with the primary key could not be found
SystemException - if a system exception occurred

getDLFileRanks

public List<DLFileRank> getDLFileRanks(int start,
                                       int end)
                                throws SystemException
Gets a range of all the d l file ranks.

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.

Specified by:
getDLFileRanks in interface DLFileRankLocalService
Parameters:
start - the lower bound of the range of d l file ranks to return
end - the upper bound of the range of d l file ranks to return (not inclusive)
Returns:
the range of d l file ranks
Throws:
SystemException - if a system exception occurred

getDLFileRanksCount

public int getDLFileRanksCount()
                        throws SystemException
Gets the number of d l file ranks.

Specified by:
getDLFileRanksCount in interface DLFileRankLocalService
Returns:
the number of d l file ranks
Throws:
SystemException - if a system exception occurred

updateDLFileRank

public DLFileRank updateDLFileRank(DLFileRank dlFileRank)
                            throws SystemException
Updates the d l file rank in the database. Also notifies the appropriate model listeners.

Specified by:
updateDLFileRank in interface DLFileRankLocalService
Parameters:
dlFileRank - the d l file rank to update
Returns:
the d l file rank that was updated
Throws:
SystemException - if a system exception occurred

updateDLFileRank

public DLFileRank updateDLFileRank(DLFileRank dlFileRank,
                                   boolean merge)
                            throws SystemException
Updates the d l file rank in the database. Also notifies the appropriate model listeners.

Specified by:
updateDLFileRank in interface DLFileRankLocalService
Parameters:
dlFileRank - the d l file rank to update
merge - 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.
Returns:
the d l file rank that was updated
Throws:
SystemException - if a system exception occurred

addFileRank

public DLFileRank addFileRank(long groupId,
                              long companyId,
                              long userId,
                              long folderId,
                              String name,
                              ServiceContext serviceContext)
                       throws SystemException
Specified by:
addFileRank in interface DLFileRankLocalService
Throws:
SystemException

deleteFileRanks

public void deleteFileRanks(long userId)
                     throws SystemException
Specified by:
deleteFileRanks in interface DLFileRankLocalService
Throws:
SystemException

deleteFileRanks

public void deleteFileRanks(long folderId,
                            String name)
                     throws SystemException
Specified by:
deleteFileRanks in interface DLFileRankLocalService
Throws:
SystemException

getFileRanks

public List<DLFileRank> getFileRanks(long groupId,
                                     long userId)
                              throws SystemException
Specified by:
getFileRanks in interface DLFileRankLocalService
Throws:
SystemException

getFileRanks

public List<DLFileRank> getFileRanks(long groupId,
                                     long userId,
                                     int start,
                                     int end)
                              throws SystemException
Specified by:
getFileRanks in interface DLFileRankLocalService
Throws:
SystemException

updateFileRank

public DLFileRank updateFileRank(long groupId,
                                 long companyId,
                                 long userId,
                                 long folderId,
                                 String name,
                                 ServiceContext serviceContext)
                          throws SystemException
Specified by:
updateFileRank in interface DLFileRankLocalService
Throws:
SystemException

getWrappedDLFileRankLocalService

public DLFileRankLocalService getWrappedDLFileRankLocalService()

Liferay 6.0.5