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
com.liferay.portlet.documentlibrary.service.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.
com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
DLFolderLocalService
,
DLFolderLocalServiceFactory
Method Summary |
static DLFolder |
addDLFolder(DLFolder model)
|
static DLFolder |
addFolder(long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static DLFolder |
addFolder(long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static DLFolder |
addFolder(java.lang.String uuid,
long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static DLFolder |
addFolder(java.lang.String uuid,
long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
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 |
addFolderToGroup(java.lang.String uuid,
long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
afterPropertiesSet()
|
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.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static DLFileEntryAndShortcutFinder |
getDLFileEntryAndShortcutFinder()
|
static DLFileEntryFinder |
getDLFileEntryFinder()
|
static DLFileEntryPersistence |
getDLFileEntryPersistence()
|
static DLFileRankFinder |
getDLFileRankFinder()
|
static DLFileRankPersistence |
getDLFileRankPersistence()
|
static DLFileShortcutFinder |
getDLFileShortcutFinder()
|
static DLFileShortcutPersistence |
getDLFileShortcutPersistence()
|
static DLFileVersionPersistence |
getDLFileVersionPersistence()
|
static DLFolderPersistence |
getDLFolderPersistence()
|
static DLFolder |
getFolder(long folderId)
|
static DLFolder |
getFolder(long groupId,
long parentFolderId,
java.lang.String name)
|
static java.util.List |
getFolders(long companyId)
|
static java.util.List |
getFolders(long groupId,
long parentFolderId)
|
static java.util.List |
getFolders(long groupId,
long parentFolderId,
int begin,
int end)
|
static int |
getFoldersCount(long groupId,
long parentFolderId)
|
static LayoutFinder |
getLayoutFinder()
|
static LayoutPersistence |
getLayoutPersistence()
|
static ResourceFinder |
getResourceFinder()
|
static ResourcePersistence |
getResourcePersistence()
|
static void |
getSubfolderIds(java.util.List folderIds,
long groupId,
long folderId)
|
static UserFinder |
getUserFinder()
|
static UserPersistence |
getUserPersistence()
|
static WebDAVPropsPersistence |
getWebDAVPropsPersistence()
|
static void |
reIndex(java.lang.String[] ids)
|
static com.liferay.portal.kernel.search.Hits |
search(long companyId,
long groupId,
long[] folderIds,
java.lang.String keywords)
|
static void |
setDLFileEntryAndShortcutFinder(DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder)
|
static void |
setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder)
|
static void |
setDLFileEntryPersistence(DLFileEntryPersistence dlFileEntryPersistence)
|
static void |
setDLFileRankFinder(DLFileRankFinder dlFileRankFinder)
|
static void |
setDLFileRankPersistence(DLFileRankPersistence dlFileRankPersistence)
|
static void |
setDLFileShortcutFinder(DLFileShortcutFinder dlFileShortcutFinder)
|
static void |
setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
|
static void |
setDLFileVersionPersistence(DLFileVersionPersistence dlFileVersionPersistence)
|
static void |
setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)
|
static void |
setLayoutFinder(LayoutFinder layoutFinder)
|
static void |
setLayoutPersistence(LayoutPersistence layoutPersistence)
|
static void |
setResourceFinder(ResourceFinder resourceFinder)
|
static void |
setResourcePersistence(ResourcePersistence resourcePersistence)
|
static void |
setUserFinder(UserFinder userFinder)
|
static void |
setUserPersistence(UserPersistence userPersistence)
|
static void |
setWebDAVPropsPersistence(WebDAVPropsPersistence webDAVPropsPersistence)
|
static DLFolder |
updateDLFolder(DLFolder model)
|
static DLFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description)
|
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 model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateDLFolder
public static DLFolder updateDLFolder(DLFolder model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDLFileEntryPersistence
public static DLFileEntryPersistence getDLFileEntryPersistence()
setDLFileEntryPersistence
public static void setDLFileEntryPersistence(DLFileEntryPersistence dlFileEntryPersistence)
getDLFileEntryFinder
public static DLFileEntryFinder getDLFileEntryFinder()
setDLFileEntryFinder
public static void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder)
getDLFileEntryAndShortcutFinder
public static DLFileEntryAndShortcutFinder getDLFileEntryAndShortcutFinder()
setDLFileEntryAndShortcutFinder
public static void setDLFileEntryAndShortcutFinder(DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder)
getDLFileRankPersistence
public static DLFileRankPersistence getDLFileRankPersistence()
setDLFileRankPersistence
public static void setDLFileRankPersistence(DLFileRankPersistence dlFileRankPersistence)
getDLFileRankFinder
public static DLFileRankFinder getDLFileRankFinder()
setDLFileRankFinder
public static void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder)
getDLFileShortcutPersistence
public static DLFileShortcutPersistence getDLFileShortcutPersistence()
setDLFileShortcutPersistence
public static void setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
getDLFileShortcutFinder
public static DLFileShortcutFinder getDLFileShortcutFinder()
setDLFileShortcutFinder
public static void setDLFileShortcutFinder(DLFileShortcutFinder dlFileShortcutFinder)
getDLFileVersionPersistence
public static DLFileVersionPersistence getDLFileVersionPersistence()
setDLFileVersionPersistence
public static void setDLFileVersionPersistence(DLFileVersionPersistence dlFileVersionPersistence)
getDLFolderPersistence
public static DLFolderPersistence getDLFolderPersistence()
setDLFolderPersistence
public static void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)
getLayoutPersistence
public static LayoutPersistence getLayoutPersistence()
setLayoutPersistence
public static void setLayoutPersistence(LayoutPersistence layoutPersistence)
getLayoutFinder
public static LayoutFinder getLayoutFinder()
setLayoutFinder
public static void setLayoutFinder(LayoutFinder layoutFinder)
getResourcePersistence
public static ResourcePersistence getResourcePersistence()
setResourcePersistence
public static void setResourcePersistence(ResourcePersistence resourcePersistence)
getResourceFinder
public static ResourceFinder getResourceFinder()
setResourceFinder
public static void setResourceFinder(ResourceFinder resourceFinder)
getUserPersistence
public static UserPersistence getUserPersistence()
setUserPersistence
public static void setUserPersistence(UserPersistence userPersistence)
getUserFinder
public static UserFinder getUserFinder()
setUserFinder
public static void setUserFinder(UserFinder userFinder)
getWebDAVPropsPersistence
public static WebDAVPropsPersistence getWebDAVPropsPersistence()
setWebDAVPropsPersistence
public static void setWebDAVPropsPersistence(WebDAVPropsPersistence webDAVPropsPersistence)
afterPropertiesSet
public static void afterPropertiesSet()
addFolder
public static DLFolder addFolder(long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
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 plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolder
public static DLFolder addFolder(long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
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
addFolder
public static DLFolder addFolder(java.lang.String uuid,
long userId,
long plid,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
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
addFolderToGroup
public static DLFolder addFolderToGroup(java.lang.String uuid,
long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
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(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
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
getFolders
public static java.util.List getFolders(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFolders
public static java.util.List getFolders(long groupId,
long parentFolderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFolders
public static java.util.List getFolders(long groupId,
long parentFolderId,
int begin,
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 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[] folderIds,
java.lang.String keywords)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateFolder
public static DLFolder updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException