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.

com.liferay.portlet.documentlibrary.service.DLFileRankLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
DLFileRankLocalService, DLFileRankLocalServiceFactory

Constructor Summary
DLFileRankLocalServiceUtil()
           
 
Method Summary
static DLFileRank addDLFileRank(DLFileRank dlFileRank)
           
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<DLFileRank> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<DLFileRank> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static java.util.List<DLFileRank> getFileRanks(long groupId, long userId)
           
static java.util.List<DLFileRank> getFileRanks(long groupId, long userId, int begin, int end)
           
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

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.PortalException,
                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<DLFileRank> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<DLFileRank> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                      int begin,
                                                      int end)
                                               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 begin,
                                                      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.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException