com.liferay.portlet.documentlibrary.service
Class DLFileRankLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFileRankLocalServiceUtil

public class DLFileRankLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portlet.documentlibrary.service.DLFileRankLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
DLFileRankLocalService

Constructor Summary
DLFileRankLocalServiceUtil()
           
 
Method Summary
static DLFileRank addDLFileRank(DLFileRank dlFileRank)
           
static DLFileRank createDLFileRank(long fileRankId)
           
static void deleteDLFileRank(DLFileRank dlFileRank)
           
static void deleteDLFileRank(long fileRankId)
           
static void deleteFileRanks(long userId)
           
static void deleteFileRanks(long folderId, java.lang.String name)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static DLFileRank getDLFileRank(long fileRankId)
           
static java.util.List<DLFileRank> getDLFileRanks(int start, int end)
           
static int getDLFileRanksCount()
           
static java.util.List<DLFileRank> getFileRanks(long groupId, long userId)
           
static java.util.List<DLFileRank> getFileRanks(long groupId, long userId, int start, int end)
           
static DLFileRankLocalService getService()
           
 void setService(DLFileRankLocalService service)
           
static DLFileRank updateDLFileRank(DLFileRank dlFileRank)
           
static DLFileRank updateFileRank(long groupId, long companyId, long userId, long folderId, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileRankLocalServiceUtil

public DLFileRankLocalServiceUtil()
Method Detail

addDLFileRank

public static DLFileRank addDLFileRank(DLFileRank dlFileRank)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createDLFileRank

public static DLFileRank createDLFileRank(long fileRankId)

deleteDLFileRank

public static void deleteDLFileRank(long fileRankId)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteDLFileRank

public static void deleteDLFileRank(DLFileRank dlFileRank)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDLFileRank

public static DLFileRank getDLFileRank(long fileRankId)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getDLFileRanks

public static java.util.List<DLFileRank> getDLFileRanks(int start,
                                                        int end)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDLFileRanksCount

public static int getDLFileRanksCount()
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateDLFileRank

public static DLFileRank updateDLFileRank(DLFileRank dlFileRank)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteFileRanks

public static void deleteFileRanks(long userId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteFileRanks

public static void deleteFileRanks(long folderId,
                                   java.lang.String name)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFileRanks

public static java.util.List<DLFileRank> getFileRanks(long groupId,
                                                      long userId)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFileRanks

public static java.util.List<DLFileRank> getFileRanks(long groupId,
                                                      long userId,
                                                      int start,
                                                      int end)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateFileRank

public static DLFileRank updateFileRank(long groupId,
                                        long companyId,
                                        long userId,
                                        long folderId,
                                        java.lang.String name)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getService

public static DLFileRankLocalService getService()

setService

public void setService(DLFileRankLocalService service)