com.liferay.portlet.documentlibrary.service
Class DLFolderLocalServiceUtil
java.lang.Object
com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceUtil
public class DLFolderLocalServiceUtil
- 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
DLFolderLocalService
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:
DLFolderLocalService
- Generated:
Method Summary |
static DLFolder |
addDLFolder(DLFolder dlFolder)
|
static DLFolder |
addFolder(java.lang.String uuid,
long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
static void |
addFolderResources(DLFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addFolderResources(DLFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static DLFolder |
createDLFolder(long folderId)
|
static void |
deleteDLFolder(DLFolder dlFolder)
|
static void |
deleteDLFolder(long folderId)
|
static void |
deleteFolder(DLFolder folder)
|
static void |
deleteFolder(long folderId)
|
static void |
deleteFolders(long groupId)
|
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 java.util.List<DLFolder> |
getCompanyFolders(long companyId,
int start,
int end)
|
static int |
getCompanyFoldersCount(long companyId)
|
static DLFolder |
getDLFolder(long folderId)
|
static java.util.List<DLFolder> |
getDLFolders(int start,
int end)
|
static int |
getDLFoldersCount()
|
static java.util.List<java.lang.Object> |
getFileEntriesAndFileShortcuts(long groupId,
java.util.List<java.lang.Long> folderIds,
int status,
int start,
int end)
|
static java.util.List<java.lang.Object> |
getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
|
static int |
getFileEntriesAndFileShortcutsCount(long groupId,
java.util.List<java.lang.Long> folderIds,
int status)
|
static int |
getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
|
static DLFolder |
getFolder(long folderId)
|
static DLFolder |
getFolder(long groupId,
long parentFolderId,
java.lang.String name)
|
static java.util.List<DLFolder> |
getFolders(long companyId)
|
static java.util.List<DLFolder> |
getFolders(long groupId,
long parentFolderId)
|
static java.util.List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end)
|
static java.util.List<java.lang.Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
java.util.List<java.lang.Long> folderIds,
int status,
int start,
int end)
|
static java.util.List<java.lang.Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
|
static int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
java.util.List<java.lang.Long> folderIds,
int status)
|
static int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
|
static int |
getFoldersCount(long groupId,
long parentFolderId)
|
static DLFolderLocalService |
getService()
|
static void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
|
void |
setService(DLFolderLocalService service)
|
static DLFolder |
updateDLFolder(DLFolder dlFolder)
|
static DLFolder |
updateDLFolder(DLFolder dlFolder,
boolean merge)
|
static DLFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFolderLocalServiceUtil
public DLFolderLocalServiceUtil()
addDLFolder
public static DLFolder addDLFolder(DLFolder dlFolder)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
createDLFolder
public static DLFolder createDLFolder(long folderId)
deleteDLFolder
public static void deleteDLFolder(long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteDLFolder
public static void deleteDLFolder(DLFolder dlFolder)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.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.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getDLFolder
public static DLFolder getDLFolder(long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getDLFolders
public static java.util.List<DLFolder> getDLFolders(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getDLFoldersCount
public static int getDLFoldersCount()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateDLFolder
public static DLFolder updateDLFolder(DLFolder dlFolder)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateDLFolder
public static DLFolder updateDLFolder(DLFolder dlFolder,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addFolder
public static DLFolder addFolder(java.lang.String uuid,
long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addFolderResources
public static void addFolderResources(DLFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addFolderResources
public static void addFolderResources(DLFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addFolderResources
public static void addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addFolderResources
public static void addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteFolder
public static void deleteFolder(DLFolder folder)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteFolder
public static void deleteFolder(long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteFolders
public static void deleteFolders(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCompanyFolders
public static java.util.List<DLFolder> getCompanyFolders(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyFoldersCount
public static int getCompanyFoldersCount(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFileEntriesAndFileShortcuts
public static java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId,
java.util.List<java.lang.Long> folderIds,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFileEntriesAndFileShortcuts
public static java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFileEntriesAndFileShortcutsCount
public static int getFileEntriesAndFileShortcutsCount(long groupId,
java.util.List<java.lang.Long> folderIds,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFileEntriesAndFileShortcutsCount
public static int getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFolder
public static DLFolder getFolder(long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getFolder
public static DLFolder getFolder(long groupId,
long parentFolderId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getFolders
public static java.util.List<DLFolder> getFolders(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFolders
public static java.util.List<DLFolder> getFolders(long groupId,
long parentFolderId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFolders
public static java.util.List<DLFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFoldersAndFileEntriesAndFileShortcuts
public static java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
java.util.List<java.lang.Long> folderIds,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFoldersAndFileEntriesAndFileShortcuts
public static java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
public static int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
java.util.List<java.lang.Long> folderIds,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
public static int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFoldersCount
public static int getFoldersCount(long groupId,
long parentFolderId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getSubfolderIds
public static void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateFolder
public static DLFolder updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getService
public static DLFolderLocalService getService()
setService
public void setService(DLFolderLocalService service)