|
Liferay 6.2.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.service.http.DLAppServiceHttp
public class DLAppServiceHttp
This class provides a HTTP utility for the
DLAppServiceUtil service utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it requires an additional
HttpPrincipal parameter.
The benefits of using the HTTP utility is that it is fast and allows for tunneling without the cost of serializing to text. The drawback is that it only works with Java.
Set the property tunnel.servlet.hosts.allowed in portal.properties to configure security.
The HTTP utility is only generated for remote services.
DLAppServiceSoap,
HttpPrincipal,
DLAppServiceUtil| Constructor Summary | |
|---|---|
DLAppServiceHttp()
|
|
| Method Summary | |
|---|---|
static FileEntry |
addFileEntry(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
byte[] bytes,
ServiceContext serviceContext)
|
static FileEntry |
addFileEntry(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
File file,
ServiceContext serviceContext)
|
static FileEntry |
addFileEntry(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
InputStream is,
long size,
ServiceContext serviceContext)
|
static DLFileShortcut |
addFileShortcut(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
|
static Folder |
addFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
static String |
addTempFileEntry(HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String fileName,
String tempFolderName,
File file)
|
static String |
addTempFileEntry(HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String fileName,
String tempFolderName,
InputStream inputStream)
|
static void |
cancelCheckOut(HttpPrincipal httpPrincipal,
long fileEntryId)
|
static void |
checkInFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
boolean majorVersion,
String changeLog,
ServiceContext serviceContext)
|
static void |
checkInFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String lockUuid)
|
static void |
checkInFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
|
static void |
checkOutFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
ServiceContext serviceContext)
|
static FileEntry |
checkOutFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String owner,
long expirationTime,
ServiceContext serviceContext)
|
static Folder |
copyFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long sourceFolderId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
static void |
deleteFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId)
|
static void |
deleteFileEntryByTitle(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String title)
|
static void |
deleteFileShortcut(HttpPrincipal httpPrincipal,
long fileShortcutId)
|
static void |
deleteFileVersion(HttpPrincipal httpPrincipal,
long fileEntryId,
String version)
|
static void |
deleteFolder(HttpPrincipal httpPrincipal,
long folderId)
|
static void |
deleteFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
String name)
|
static void |
deleteTempFileEntry(HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String fileName,
String tempFolderName)
|
static List<FileEntry> |
getFileEntries(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId)
|
static List<FileEntry> |
getFileEntries(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int start,
int end)
|
static List<FileEntry> |
getFileEntries(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int start,
int end,
OrderByComparator obc)
|
static List<FileEntry> |
getFileEntries(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long fileEntryTypeId)
|
static List<FileEntry> |
getFileEntries(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long fileEntryTypeId,
int start,
int end)
|
static List<FileEntry> |
getFileEntries(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator obc)
|
static List<Object> |
getFileEntriesAndFileShortcuts(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
int start,
int end)
|
static int |
getFileEntriesAndFileShortcutsCount(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status)
|
static int |
getFileEntriesAndFileShortcutsCount(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
String[] mimeTypes)
|
static int |
getFileEntriesCount(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId)
|
static int |
getFileEntriesCount(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long fileEntryTypeId)
|
static FileEntry |
getFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId)
|
static FileEntry |
getFileEntry(HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String title)
|
static FileEntry |
getFileEntryByUuidAndGroupId(HttpPrincipal httpPrincipal,
String uuid,
long groupId)
|
static DLFileShortcut |
getFileShortcut(HttpPrincipal httpPrincipal,
long fileShortcutId)
|
static Folder |
getFolder(HttpPrincipal httpPrincipal,
long folderId)
|
static Folder |
getFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
String name)
|
static List<Folder> |
getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId)
|
static List<Folder> |
getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
boolean includeMountFolders)
|
static List<Folder> |
getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
boolean includeMountFolders,
int start,
int end)
|
static List<Folder> |
getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
|
static List<Folder> |
getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
|
static List<Folder> |
getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int start,
int end)
|
static List<Folder> |
getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
|
static List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end)
|
static List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
|
static List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
|
static int |
getFoldersAndFileEntriesAndFileShortcutsCount(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
boolean includeMountFolders)
|
static int |
getFoldersAndFileEntriesAndFileShortcutsCount(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
|
static int |
getFoldersCount(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId)
|
static int |
getFoldersCount(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
boolean includeMountFolders)
|
static int |
getFoldersCount(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int status,
boolean includeMountFolders)
|
static int |
getFoldersFileEntriesCount(HttpPrincipal httpPrincipal,
long repositoryId,
List<Long> folderIds,
int status)
|
static List<FileEntry> |
getGroupFileEntries(HttpPrincipal httpPrincipal,
long groupId,
long userId,
int start,
int end)
|
static List<FileEntry> |
getGroupFileEntries(HttpPrincipal httpPrincipal,
long groupId,
long userId,
int start,
int end,
OrderByComparator obc)
|
static List<FileEntry> |
getGroupFileEntries(HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
int start,
int end)
|
static List<FileEntry> |
getGroupFileEntries(HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
int start,
int end,
OrderByComparator obc)
|
static List<FileEntry> |
getGroupFileEntries(HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator obc)
|
static int |
getGroupFileEntriesCount(HttpPrincipal httpPrincipal,
long groupId,
long userId)
|
static int |
getGroupFileEntriesCount(HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId)
|
static int |
getGroupFileEntriesCount(HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status)
|
static List<Folder> |
getMountFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId)
|
static List<Folder> |
getMountFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int start,
int end)
|
static List<Folder> |
getMountFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
|
static int |
getMountFoldersCount(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId)
|
static void |
getSubfolderIds(HttpPrincipal httpPrincipal,
long repositoryId,
List<Long> folderIds,
long folderId)
|
static List<Long> |
getSubfolderIds(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId)
|
static List<Long> |
getSubfolderIds(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
boolean recurse)
|
static String[] |
getTempFileEntryNames(HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String tempFolderName)
|
static Lock |
lockFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId)
|
static Lock |
lockFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String owner,
long expirationTime)
|
static Lock |
lockFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId)
|
static Lock |
lockFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String owner,
boolean inheritable,
long expirationTime)
|
static FileEntry |
moveFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
|
static FileEntry |
moveFileEntryFromTrash(HttpPrincipal httpPrincipal,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
|
static FileEntry |
moveFileEntryToTrash(HttpPrincipal httpPrincipal,
long fileEntryId)
|
static DLFileShortcut |
moveFileShortcutFromTrash(HttpPrincipal httpPrincipal,
long fileShortcutId,
long newFolderId,
ServiceContext serviceContext)
|
static DLFileShortcut |
moveFileShortcutToTrash(HttpPrincipal httpPrincipal,
long fileShortcutId)
|
static Folder |
moveFolder(HttpPrincipal httpPrincipal,
long folderId,
long parentFolderId,
ServiceContext serviceContext)
|
static Folder |
moveFolderFromTrash(HttpPrincipal httpPrincipal,
long folderId,
long parentFolderId,
ServiceContext serviceContext)
|
static Folder |
moveFolderToTrash(HttpPrincipal httpPrincipal,
long folderId)
|
static Lock |
refreshFileEntryLock(HttpPrincipal httpPrincipal,
String lockUuid,
long companyId,
long expirationTime)
|
static Lock |
refreshFolderLock(HttpPrincipal httpPrincipal,
String lockUuid,
long companyId,
long expirationTime)
|
static void |
restoreFileEntryFromTrash(HttpPrincipal httpPrincipal,
long fileEntryId)
|
static void |
restoreFileShortcutFromTrash(HttpPrincipal httpPrincipal,
long fileShortcutId)
|
static void |
restoreFolderFromTrash(HttpPrincipal httpPrincipal,
long folderId)
|
static void |
revertFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String version,
ServiceContext serviceContext)
|
static Hits |
search(HttpPrincipal httpPrincipal,
long repositoryId,
SearchContext searchContext)
|
static Hits |
search(HttpPrincipal httpPrincipal,
long repositoryId,
SearchContext searchContext,
Query query)
|
static void |
unlockFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId)
|
static void |
unlockFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String lockUuid)
|
static void |
unlockFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String lockUuid)
|
static void |
unlockFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
String name,
String lockUuid)
|
static FileEntry |
updateFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
byte[] bytes,
ServiceContext serviceContext)
|
static FileEntry |
updateFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
File file,
ServiceContext serviceContext)
|
static FileEntry |
updateFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
InputStream is,
long size,
ServiceContext serviceContext)
|
static FileEntry |
updateFileEntryAndCheckIn(HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
File file,
ServiceContext serviceContext)
|
static FileEntry |
updateFileEntryAndCheckIn(HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
InputStream is,
long size,
ServiceContext serviceContext)
|
static DLFileShortcut |
updateFileShortcut(HttpPrincipal httpPrincipal,
long fileShortcutId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
|
static Folder |
updateFolder(HttpPrincipal httpPrincipal,
long folderId,
String name,
String description,
ServiceContext serviceContext)
|
static boolean |
verifyFileEntryCheckOut(HttpPrincipal httpPrincipal,
long repositoryId,
long fileEntryId,
String lockUuid)
|
static boolean |
verifyFileEntryLock(HttpPrincipal httpPrincipal,
long repositoryId,
long fileEntryId,
String lockUuid)
|
static boolean |
verifyInheritableLock(HttpPrincipal httpPrincipal,
long repositoryId,
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 DLAppServiceHttp()
| Method Detail |
|---|
public static FileEntry addFileEntry(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
byte[] bytes,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry addFileEntry(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
File file,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry addFileEntry(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static DLFileShortcut addFileShortcut(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static Folder addFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static String addTempFileEntry(HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String fileName,
String tempFolderName,
File file)
throws PortalException,
SystemException,
IOException
PortalException
SystemException
IOException
public static String addTempFileEntry(HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String fileName,
String tempFolderName,
InputStream inputStream)
throws PortalException,
SystemException
PortalException
SystemException
public static void cancelCheckOut(HttpPrincipal httpPrincipal,
long fileEntryId)
throws PortalException,
SystemException
PortalException
SystemException
public static void checkInFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
boolean majorVersion,
String changeLog,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static void checkInFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String lockUuid)
throws PortalException,
SystemException
PortalException
SystemException
public static void checkInFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static void checkOutFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry checkOutFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String owner,
long expirationTime,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static Folder copyFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long sourceFolderId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteFileEntryByTitle(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String title)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteFileShortcut(HttpPrincipal httpPrincipal,
long fileShortcutId)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteFileVersion(HttpPrincipal httpPrincipal,
long fileEntryId,
String version)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteFolder(HttpPrincipal httpPrincipal,
long folderId)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
String name)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteTempFileEntry(HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String fileName,
String tempFolderName)
throws PortalException,
SystemException
PortalException
SystemException
public static List<FileEntry> getFileEntries(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId)
throws PortalException,
SystemException
PortalException
SystemException
public static List<FileEntry> getFileEntries(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int start,
int end)
throws PortalException,
SystemException
PortalException
SystemException
public static List<FileEntry> getFileEntries(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<FileEntry> getFileEntries(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long fileEntryTypeId)
throws PortalException,
SystemException
PortalException
SystemException
public static List<FileEntry> getFileEntries(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long fileEntryTypeId,
int start,
int end)
throws PortalException,
SystemException
PortalException
SystemException
public static List<FileEntry> getFileEntries(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Object> getFileEntriesAndFileShortcuts(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
int start,
int end)
throws PortalException,
SystemException
PortalException
SystemException
public static int getFileEntriesAndFileShortcutsCount(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status)
throws PortalException,
SystemException
PortalException
SystemException
public static int getFileEntriesAndFileShortcutsCount(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
String[] mimeTypes)
throws PortalException,
SystemException
PortalException
SystemException
public static int getFileEntriesCount(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId)
throws PortalException,
SystemException
PortalException
SystemException
public static int getFileEntriesCount(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long fileEntryTypeId)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry getFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry getFileEntry(HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String title)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry getFileEntryByUuidAndGroupId(HttpPrincipal httpPrincipal,
String uuid,
long groupId)
throws PortalException,
SystemException
PortalException
SystemException
public static DLFileShortcut getFileShortcut(HttpPrincipal httpPrincipal,
long fileShortcutId)
throws PortalException,
SystemException
PortalException
SystemException
public static Folder getFolder(HttpPrincipal httpPrincipal,
long folderId)
throws PortalException,
SystemException
PortalException
SystemException
public static Folder getFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
String name)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Folder> getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Folder> getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
boolean includeMountFolders)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Folder> getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
boolean includeMountFolders,
int start,
int end)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Folder> getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Folder> getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Folder> getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int start,
int end)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Folder> getFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Object> getFoldersAndFileEntriesAndFileShortcuts(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Object> getFoldersAndFileEntriesAndFileShortcuts(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Object> getFoldersAndFileEntriesAndFileShortcuts(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static int getFoldersAndFileEntriesAndFileShortcutsCount(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
boolean includeMountFolders)
throws PortalException,
SystemException
PortalException
SystemException
public static int getFoldersAndFileEntriesAndFileShortcutsCount(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
throws PortalException,
SystemException
PortalException
SystemException
public static int getFoldersCount(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId)
throws PortalException,
SystemException
PortalException
SystemException
public static int getFoldersCount(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
boolean includeMountFolders)
throws PortalException,
SystemException
PortalException
SystemException
public static int getFoldersCount(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int status,
boolean includeMountFolders)
throws PortalException,
SystemException
PortalException
SystemException
public static int getFoldersFileEntriesCount(HttpPrincipal httpPrincipal,
long repositoryId,
List<Long> folderIds,
int status)
throws PortalException,
SystemException
PortalException
SystemException
public static List<FileEntry> getGroupFileEntries(HttpPrincipal httpPrincipal,
long groupId,
long userId,
int start,
int end)
throws PortalException,
SystemException
PortalException
SystemException
public static List<FileEntry> getGroupFileEntries(HttpPrincipal httpPrincipal,
long groupId,
long userId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<FileEntry> getGroupFileEntries(HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
int start,
int end)
throws PortalException,
SystemException
PortalException
SystemException
public static List<FileEntry> getGroupFileEntries(HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static List<FileEntry> getGroupFileEntries(HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static int getGroupFileEntriesCount(HttpPrincipal httpPrincipal,
long groupId,
long userId)
throws PortalException,
SystemException
PortalException
SystemException
public static int getGroupFileEntriesCount(HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId)
throws PortalException,
SystemException
PortalException
SystemException
public static int getGroupFileEntriesCount(HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Folder> getMountFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Folder> getMountFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int start,
int end)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Folder> getMountFolders(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
PortalException
SystemException
public static int getMountFoldersCount(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId)
throws PortalException,
SystemException
PortalException
SystemException
public static void getSubfolderIds(HttpPrincipal httpPrincipal,
long repositoryId,
List<Long> folderIds,
long folderId)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Long> getSubfolderIds(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Long> getSubfolderIds(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
boolean recurse)
throws PortalException,
SystemException
PortalException
SystemException
public static String[] getTempFileEntryNames(HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String tempFolderName)
throws PortalException,
SystemException
PortalException
SystemException
public static Lock lockFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId)
throws PortalException,
SystemException
PortalException
SystemException
public static Lock lockFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String owner,
long expirationTime)
throws PortalException,
SystemException
PortalException
SystemException
public static Lock lockFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId)
throws PortalException,
SystemException
PortalException
SystemException
public static Lock lockFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String owner,
boolean inheritable,
long expirationTime)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry moveFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry moveFileEntryFromTrash(HttpPrincipal httpPrincipal,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry moveFileEntryToTrash(HttpPrincipal httpPrincipal,
long fileEntryId)
throws PortalException,
SystemException
PortalException
SystemException
public static DLFileShortcut moveFileShortcutFromTrash(HttpPrincipal httpPrincipal,
long fileShortcutId,
long newFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static DLFileShortcut moveFileShortcutToTrash(HttpPrincipal httpPrincipal,
long fileShortcutId)
throws PortalException,
SystemException
PortalException
SystemException
public static Folder moveFolder(HttpPrincipal httpPrincipal,
long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static Folder moveFolderFromTrash(HttpPrincipal httpPrincipal,
long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static Folder moveFolderToTrash(HttpPrincipal httpPrincipal,
long folderId)
throws PortalException,
SystemException
PortalException
SystemException
public static Lock refreshFileEntryLock(HttpPrincipal httpPrincipal,
String lockUuid,
long companyId,
long expirationTime)
throws PortalException,
SystemException
PortalException
SystemException
public static Lock refreshFolderLock(HttpPrincipal httpPrincipal,
String lockUuid,
long companyId,
long expirationTime)
throws PortalException,
SystemException
PortalException
SystemException
public static void restoreFileEntryFromTrash(HttpPrincipal httpPrincipal,
long fileEntryId)
throws PortalException,
SystemException
PortalException
SystemException
public static void restoreFileShortcutFromTrash(HttpPrincipal httpPrincipal,
long fileShortcutId)
throws PortalException,
SystemException
PortalException
SystemException
public static void restoreFolderFromTrash(HttpPrincipal httpPrincipal,
long folderId)
throws PortalException,
SystemException
PortalException
SystemException
public static void revertFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String version,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static Hits search(HttpPrincipal httpPrincipal,
long repositoryId,
SearchContext searchContext)
throws SystemException,
SearchException
SystemException
SearchException
public static Hits search(HttpPrincipal httpPrincipal,
long repositoryId,
SearchContext searchContext,
Query query)
throws SystemException,
SearchException
SystemException
SearchException
public static void unlockFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId)
throws PortalException,
SystemException
PortalException
SystemException
public static void unlockFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String lockUuid)
throws PortalException,
SystemException
PortalException
SystemException
public static void unlockFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String lockUuid)
throws PortalException,
SystemException
PortalException
SystemException
public static void unlockFolder(HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
String name,
String lockUuid)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry updateFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
byte[] bytes,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry updateFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
File file,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry updateFileEntry(HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry updateFileEntryAndCheckIn(HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
File file,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static FileEntry updateFileEntryAndCheckIn(HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static DLFileShortcut updateFileShortcut(HttpPrincipal httpPrincipal,
long fileShortcutId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static Folder updateFolder(HttpPrincipal httpPrincipal,
long folderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static boolean verifyFileEntryCheckOut(HttpPrincipal httpPrincipal,
long repositoryId,
long fileEntryId,
String lockUuid)
throws PortalException,
SystemException
PortalException
SystemException
public static boolean verifyFileEntryLock(HttpPrincipal httpPrincipal,
long repositoryId,
long fileEntryId,
String lockUuid)
throws PortalException,
SystemException
PortalException
SystemException
public static boolean verifyInheritableLock(HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String lockUuid)
throws PortalException,
SystemException
PortalException
SystemException
|
Liferay 6.2.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||