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 |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static java.util.List<DLFolder> |
getCompanyFolders(long companyId,
int start,
int end)
|
static int |
getCompanyFoldersCount(long companyId)
|
static DLFolder |
getDLFolder(long folderId)
|
static DLFolder |
getDLFolderByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
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 SystemException
- Throws:
SystemException
createDLFolder
public static DLFolder createDLFolder(long folderId)
deleteDLFolder
public static void deleteDLFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteDLFolder
public static void deleteDLFolder(DLFolder dlFolder)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getDLFolder
public static DLFolder getDLFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getDLFolderByUuidAndGroupId
public static DLFolder getDLFolderByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getDLFolders
public static java.util.List<DLFolder> getDLFolders(int start,
int end)
throws SystemException
- Throws:
SystemException
getDLFoldersCount
public static int getDLFoldersCount()
throws SystemException
- Throws:
SystemException
updateDLFolder
public static DLFolder updateDLFolder(DLFolder dlFolder)
throws SystemException
- Throws:
SystemException
updateDLFolder
public static DLFolder updateDLFolder(DLFolder dlFolder,
boolean merge)
throws SystemException
- Throws:
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
addFolderResources
public static void addFolderResources(DLFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFolderResources
public static void addFolderResources(DLFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFolderResources
public static void addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFolderResources
public static void addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
public static void deleteFolder(DLFolder folder)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
public static void deleteFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolders
public static void deleteFolders(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyFolders
public static java.util.List<DLFolder> getCompanyFolders(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyFoldersCount
public static int getCompanyFoldersCount(long companyId)
throws SystemException
- Throws:
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 SystemException
- Throws:
SystemException
getFileEntriesAndFileShortcuts
public static java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFileEntriesAndFileShortcutsCount
public static int getFileEntriesAndFileShortcutsCount(long groupId,
java.util.List<java.lang.Long> folderIds,
int status)
throws SystemException
- Throws:
SystemException
getFileEntriesAndFileShortcutsCount
public static int getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
throws SystemException
- Throws:
SystemException
getFolder
public static DLFolder getFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolder
public static DLFolder getFolder(long groupId,
long parentFolderId,
java.lang.String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolders
public static java.util.List<DLFolder> getFolders(long companyId)
throws SystemException
- Throws:
SystemException
getFolders
public static java.util.List<DLFolder> getFolders(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getFolders
public static java.util.List<DLFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
throws SystemException
- Throws:
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 SystemException
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcuts
public static java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
public static int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
java.util.List<java.lang.Long> folderIds,
int status)
throws SystemException
- Throws:
SystemException
getFoldersAndFileEntriesAndFileShortcutsCount
public static int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
throws SystemException
- Throws:
SystemException
getFoldersCount
public static int getFoldersCount(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getSubfolderIds
public static void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
updateFolder
public static DLFolder updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static DLFolderLocalService getService()
setService
public void setService(DLFolderLocalService service)