com.liferay.portlet.documentlibrary.service
Interface DLFolderLocalService

All Known Implementing Classes:
DLFolderLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface DLFolderLocalService

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.DLFolderLocalServiceImpl}. 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:
DLFolderLocalServiceUtil
Generated:

Method Summary
 DLFolder addDLFolder(DLFolder dlFolder)
           
 DLFolder addFolder(java.lang.String uuid, long userId, long groupId, long parentFolderId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 void addFolderResources(DLFolder folder, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFolderResources(DLFolder folder, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFolderResources(long folderId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFolderResources(long folderId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 DLFolder createDLFolder(long folderId)
           
 void deleteDLFolder(DLFolder dlFolder)
           
 void deleteDLFolder(long folderId)
           
 void deleteFolder(DLFolder folder)
           
 void deleteFolder(long folderId)
           
 void deleteFolders(long groupId)
           
 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)
           
 java.util.List<DLFolder> getCompanyFolders(long companyId, int start, int end)
           
 int getCompanyFoldersCount(long companyId)
           
 DLFolder getDLFolder(long folderId)
           
 DLFolder getDLFolderByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 java.util.List<DLFolder> getDLFolders(int start, int end)
           
 int getDLFoldersCount()
           
 java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId, java.util.List<java.lang.Long> folderIds, int status, int start, int end)
           
 java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end)
           
 int getFileEntriesAndFileShortcutsCount(long groupId, java.util.List<java.lang.Long> folderIds, int status)
           
 int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status)
           
 DLFolder getFolder(long folderId)
           
 DLFolder getFolder(long groupId, long parentFolderId, java.lang.String name)
           
 java.util.List<DLFolder> getFolders(long companyId)
           
 java.util.List<DLFolder> getFolders(long groupId, long parentFolderId)
           
 java.util.List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
 java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, java.util.List<java.lang.Long> folderIds, int status, int start, int end)
           
 java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end)
           
 int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, java.util.List<java.lang.Long> folderIds, int status)
           
 int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
 void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
           
 DLFolder updateDLFolder(DLFolder dlFolder)
           
 DLFolder updateDLFolder(DLFolder dlFolder, boolean merge)
           
 DLFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 

Method Detail

addDLFolder

DLFolder addDLFolder(DLFolder dlFolder)
                     throws SystemException
Throws:
SystemException

createDLFolder

DLFolder createDLFolder(long folderId)

deleteDLFolder

void deleteDLFolder(long folderId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

deleteDLFolder

void deleteDLFolder(DLFolder dlFolder)
                    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

getDLFolder

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFolder getDLFolder(long folderId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getDLFolderByUuidAndGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFolder getDLFolderByUuidAndGroupId(java.lang.String uuid,
                                                                              long groupId)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

getDLFolders

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

getDLFoldersCount

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

updateDLFolder

DLFolder updateDLFolder(DLFolder dlFolder)
                        throws SystemException
Throws:
SystemException

updateDLFolder

DLFolder updateDLFolder(DLFolder dlFolder,
                        boolean merge)
                        throws SystemException
Throws:
SystemException

addFolder

DLFolder addFolder(java.lang.String uuid,
                   long userId,
                   long groupId,
                   long parentFolderId,
                   java.lang.String name,
                   java.lang.String description,
                   ServiceContext serviceContext)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

addFolderResources

void addFolderResources(DLFolder folder,
                        boolean addCommunityPermissions,
                        boolean addGuestPermissions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

addFolderResources

void addFolderResources(DLFolder folder,
                        java.lang.String[] communityPermissions,
                        java.lang.String[] guestPermissions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

addFolderResources

void addFolderResources(long folderId,
                        boolean addCommunityPermissions,
                        boolean addGuestPermissions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

addFolderResources

void addFolderResources(long folderId,
                        java.lang.String[] communityPermissions,
                        java.lang.String[] guestPermissions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

deleteFolder

void deleteFolder(DLFolder folder)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

deleteFolder

void deleteFolder(long folderId)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

deleteFolders

void deleteFolders(long groupId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getCompanyFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFolder> getCompanyFolders(long companyId,
                                                                                    int start,
                                                                                    int end)
                                           throws SystemException
Throws:
SystemException

getCompanyFoldersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCompanyFoldersCount(long companyId)
                           throws SystemException
Throws:
SystemException

getFileEntriesAndFileShortcuts

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId,
                                                                                                         java.util.List<java.lang.Long> folderIds,
                                                                                                         int status,
                                                                                                         int start,
                                                                                                         int end)
                                                                throws SystemException
Throws:
SystemException

getFileEntriesAndFileShortcuts

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId,
                                                                                                         long folderId,
                                                                                                         int status,
                                                                                                         int start,
                                                                                                         int end)
                                                                throws SystemException
Throws:
SystemException

getFileEntriesAndFileShortcutsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFileEntriesAndFileShortcutsCount(long groupId,
                                                                                 java.util.List<java.lang.Long> folderIds,
                                                                                 int status)
                                        throws SystemException
Throws:
SystemException

getFileEntriesAndFileShortcutsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFileEntriesAndFileShortcutsCount(long groupId,
                                                                                 long folderId,
                                                                                 int status)
                                        throws SystemException
Throws:
SystemException

getFolder

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFolder getFolder(long folderId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getFolder

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFolder getFolder(long groupId,
                                                            long parentFolderId,
                                                            java.lang.String name)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFolder> getFolders(long companyId)
                                    throws SystemException
Throws:
SystemException

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFolder> getFolders(long groupId,
                                                                             long parentFolderId)
                                    throws SystemException
Throws:
SystemException

getFolders

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

getFoldersAndFileEntriesAndFileShortcuts

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                                                                                   java.util.List<java.lang.Long> folderIds,
                                                                                                                   int status,
                                                                                                                   int start,
                                                                                                                   int end)
                                                                          throws SystemException
Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcuts

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
                                                                                                                   long folderId,
                                                                                                                   int status,
                                                                                                                   int start,
                                                                                                                   int end)
                                                                          throws SystemException
Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                                                           java.util.List<java.lang.Long> folderIds,
                                                                                           int status)
                                                  throws SystemException
Throws:
SystemException

getFoldersAndFileEntriesAndFileShortcutsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
                                                                                           long folderId,
                                                                                           int status)
                                                  throws SystemException
Throws:
SystemException

getFoldersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersCount(long groupId,
                                                             long parentFolderId)
                    throws SystemException
Throws:
SystemException

getSubfolderIds

@Transactional(propagation=SUPPORTS,
               readOnly=true)
void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
                                                              long groupId,
                                                              long folderId)
                     throws SystemException
Throws:
SystemException

updateFolder

DLFolder updateFolder(long folderId,
                      long parentFolderId,
                      java.lang.String name,
                      java.lang.String description,
                      ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException