com.liferay.portlet.documentlibrary.service
Interface DLFileRankLocalService

All Known Implementing Classes:
DLFileRankLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,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
Generated:

Method Summary
 DLFileRank addDLFileRank(DLFileRank dlFileRank)
           
 DLFileRank addFileRank(long groupId, long companyId, long userId, long folderId, java.lang.String name, ServiceContext serviceContext)
           
 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 dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 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 updateDLFileRank(DLFileRank dlFileRank, boolean merge)
           
 DLFileRank updateFileRank(long groupId, long companyId, long userId, long folderId, java.lang.String name, ServiceContext serviceContext)
           
 

Method Detail

addDLFileRank

DLFileRank addDLFileRank(DLFileRank dlFileRank)
                         throws SystemException
Throws:
SystemException

createDLFileRank

DLFileRank createDLFileRank(long fileRankId)

deleteDLFileRank

void deleteDLFileRank(long fileRankId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

deleteDLFileRank

void deleteDLFileRank(DLFileRank dlFileRank)
                      throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getDLFileRank

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

getDLFileRanks

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

getDLFileRanksCount

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

updateDLFileRank

DLFileRank updateDLFileRank(DLFileRank dlFileRank)
                            throws SystemException
Throws:
SystemException

updateDLFileRank

DLFileRank updateDLFileRank(DLFileRank dlFileRank,
                            boolean merge)
                            throws SystemException
Throws:
SystemException

addFileRank

DLFileRank addFileRank(long groupId,
                       long companyId,
                       long userId,
                       long folderId,
                       java.lang.String name,
                       ServiceContext serviceContext)
                       throws SystemException
Throws:
SystemException

deleteFileRanks

void deleteFileRanks(long userId)
                     throws SystemException
Throws:
SystemException

deleteFileRanks

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

getFileRanks

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

getFileRanks

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

updateFileRank

DLFileRank updateFileRank(long groupId,
                          long companyId,
                          long userId,
                          long folderId,
                          java.lang.String name,
                          ServiceContext serviceContext)
                          throws SystemException
Throws:
SystemException