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