com.liferay.portlet.documentlibrary.service
Interface DLFileRankLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface DLFileRankLocalService

View Source

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

This interface defines the service. The default implementation is com.liferay.portlet.documentlibrary.service.impl.DLFileRankLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

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.

Author:
Brian Wing Shun Chan
See Also:
DLFileRankLocalServiceUtil

Method Summary
 DLFileRank addDLFileRank(DLFileRank dlFileRank)
           
 DLFileRank createDLFileRank(long fileRankId)
           
 void deleteDLFileRank(DLFileRank dlFileRank)
           
 void deleteDLFileRank(long fileRankId)
           
 void deleteFileRanks(long userId)
           
 void deleteFileRanks(long folderId, java.lang.String name)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 DLFileRank getDLFileRank(long fileRankId)
           
 java.util.List<DLFileRank> getDLFileRanks(int start, int end)
           
 int getDLFileRanksCount()
           
 java.util.List<DLFileRank> getFileRanks(long groupId, long userId)
           
 java.util.List<DLFileRank> getFileRanks(long groupId, long userId, int start, int end)
           
 DLFileRank updateDLFileRank(DLFileRank dlFileRank)
           
 DLFileRank updateFileRank(long groupId, long companyId, long userId, long folderId, java.lang.String name)
           
 

Method Detail

addDLFileRank

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

createDLFileRank

DLFileRank createDLFileRank(long fileRankId)

deleteDLFileRank

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

deleteDLFileRank

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

dynamicQuery

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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileRank getDLFileRank(long fileRankId)
                         throws com.liferay.portal.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getDLFileRanks

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileRank> getDLFileRanks(int start,
                                                        int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDLFileRanksCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getDLFileRanksCount()
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateDLFileRank

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

deleteFileRanks

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

deleteFileRanks

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

getFileRanks

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileRank> getFileRanks(long groupId,
                                                      long userId)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFileRanks

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileRank> getFileRanks(long groupId,
                                                      long userId,
                                                      int start,
                                                      int end)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateFileRank

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