|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.service.DLFolderServiceUtil
@ProviderType public class DLFolderServiceUtil
Provides the remote service utility for DLFolder. This utility wraps
com.liferay.portlet.documentlibrary.service.impl.DLFolderServiceImpl
and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.
DLFolderService
,
com.liferay.portlet.documentlibrary.service.base.DLFolderServiceBaseImpl
,
com.liferay.portlet.documentlibrary.service.impl.DLFolderServiceImpl
Constructor Summary | |
---|---|
DLFolderServiceUtil()
|
Method Summary | |
---|---|
static DLFolder |
addFolder(long groupId,
long repositoryId,
boolean mountPoint,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
static void |
deleteFolder(long folderId)
|
static void |
deleteFolder(long folderId,
boolean includeTrashedEntries)
|
static void |
deleteFolder(long groupId,
long parentFolderId,
String name)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static List<Object> |
getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
|
static int |
getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
|
static int |
getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes)
|
static DLFolder |
getFolder(long folderId)
|
static DLFolder |
getFolder(long groupId,
long parentFolderId,
String name)
|
static List<Long> |
getFolderIds(long groupId,
long folderId)
|
static List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
boolean includeMountfolders,
int start,
int end,
OrderByComparator obc)
|
static List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
|
static List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
|
static List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
|
static int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
boolean includeMountFolders)
|
static int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
|
static int |
getFoldersCount(long groupId,
long parentFolderId)
|
static int |
getFoldersCount(long groupId,
long parentFolderId,
int status,
boolean includeMountfolders)
|
static List<DLFolder> |
getMountFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
|
static int |
getMountFoldersCount(long groupId,
long parentFolderId)
|
static DLFolderService |
getService()
|
static void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long,
long, boolean) |
static void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId,
boolean recurse)
|
static List<Long> |
getSubfolderIds(long groupId,
long folderId,
boolean recurse)
|
static boolean |
hasFolderLock(long folderId)
|
static boolean |
hasInheritableLock(long folderId)
|
static boolean |
isFolderLocked(long folderId)
|
static Lock |
lockFolder(long folderId)
|
static Lock |
lockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime)
|
static DLFolder |
moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext)
|
static Lock |
refreshFolderLock(String lockUuid,
long companyId,
long expirationTime)
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(DLFolderService service)
Deprecated. As of 6.2.0 |
static void |
unlockFolder(long groupId,
long parentFolderId,
String name,
String lockUuid)
|
static void |
unlockFolder(long folderId,
String lockUuid)
|
static DLFolder |
updateFolder(long folderId,
String name,
String description,
long defaultFileEntryTypeId,
List<Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext)
|
static boolean |
verifyInheritableLock(long folderId,
String lockUuid)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLFolderServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static DLFolder addFolder(long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void deleteFolder(long folderId) throws PortalException, SystemException
PortalException
SystemException
public static void deleteFolder(long folderId, boolean includeTrashedEntries) throws PortalException, SystemException
PortalException
SystemException
public static void deleteFolder(long groupId, long parentFolderId, String name) throws PortalException, SystemException
PortalException
SystemException
public static List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, int status, int start, int end) throws PortalException, SystemException
PortalException
SystemException
public static int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status) throws PortalException, SystemException
PortalException
SystemException
public static int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, String[] mimeTypes) throws PortalException, SystemException
PortalException
SystemException
public static DLFolder getFolder(long folderId) throws PortalException, SystemException
PortalException
SystemException
public static DLFolder getFolder(long groupId, long parentFolderId, String name) throws PortalException, SystemException
PortalException
SystemException
public static List<Long> getFolderIds(long groupId, long folderId) throws PortalException, SystemException
PortalException
SystemException
public static List<DLFolder> getFolders(long groupId, long parentFolderId, int status, boolean includeMountfolders, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
public static List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
public static List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, boolean includeMountFolders, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
public static List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
public static int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, boolean includeMountFolders) throws PortalException, SystemException
PortalException
SystemException
public static int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders) throws PortalException, SystemException
PortalException
SystemException
public static int getFoldersCount(long groupId, long parentFolderId) throws PortalException, SystemException
PortalException
SystemException
public static int getFoldersCount(long groupId, long parentFolderId, int status, boolean includeMountfolders) throws PortalException, SystemException
PortalException
SystemException
public static List<DLFolder> getMountFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
public static int getMountFoldersCount(long groupId, long parentFolderId) throws PortalException, SystemException
PortalException
SystemException
@Deprecated public static void getSubfolderIds(List<Long> folderIds, long groupId, long folderId) throws PortalException, SystemException
getSubfolderIds(List, long,
long, boolean)
PortalException
SystemException
public static void getSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse) throws PortalException, SystemException
PortalException
SystemException
public static List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse) throws PortalException, SystemException
PortalException
SystemException
public static boolean hasFolderLock(long folderId) throws PortalException, SystemException
PortalException
SystemException
public static boolean hasInheritableLock(long folderId) throws PortalException, SystemException
PortalException
SystemException
public static boolean isFolderLocked(long folderId) throws SystemException
SystemException
public static Lock lockFolder(long folderId) throws PortalException, SystemException
PortalException
SystemException
public static Lock lockFolder(long folderId, String owner, boolean inheritable, long expirationTime) throws PortalException, SystemException
PortalException
SystemException
public static DLFolder moveFolder(long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static Lock refreshFolderLock(String lockUuid, long companyId, long expirationTime) throws PortalException, SystemException
PortalException
SystemException
public static void unlockFolder(long groupId, long parentFolderId, String name, String lockUuid) throws PortalException, SystemException
PortalException
SystemException
public static void unlockFolder(long folderId, String lockUuid) throws PortalException, SystemException
PortalException
SystemException
public static DLFolder updateFolder(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, boolean overrideFileEntryTypes, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static boolean verifyInheritableLock(long folderId, String lockUuid) throws PortalException, SystemException
PortalException
SystemException
public static DLFolderService getService()
public void setService(DLFolderService service)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |