public class DLAppServiceHttp
extends Object
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.
Constructor and Description |
---|
DLAppServiceHttp() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.portal.kernel.repository.model.FileEntry |
addFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
File file,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileEntry |
addFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String externalReferenceCode,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String urlTitle,
String description,
String changeLog,
byte[] bytes,
Date expirationDate,
Date reviewDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileEntry |
addFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String externalReferenceCode,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String urlTitle,
String description,
String changeLog,
File file,
Date expirationDate,
Date reviewDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileEntry |
addFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String externalReferenceCode,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String urlTitle,
String description,
String changeLog,
InputStream inputStream,
long size,
Date expirationDate,
Date reviewDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileShortcut |
addFileShortcut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long toFileEntryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.Folder |
addFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
String name,
String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileEntry |
addTempFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String folderName,
String fileName,
File file,
String mimeType) |
static com.liferay.portal.kernel.repository.model.FileEntry |
addTempFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String folderName,
String fileName,
InputStream inputStream,
String mimeType) |
static void |
cancelCheckOut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId) |
static void |
checkInFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease,
String changeLog,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
checkInFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String lockUuid,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
checkOutFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileEntry |
checkOutFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String owner,
long expirationTime,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.Folder |
copyFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long sourceFolderId,
long parentFolderId,
String name,
String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId) |
static void |
deleteFileEntryByTitle(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String title) |
static void |
deleteFileShortcut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileShortcutId) |
static void |
deleteFileVersion(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileVersionId) |
static void |
deleteFileVersion(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String version) |
static void |
deleteFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long folderId) |
static void |
deleteFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
String name) |
static void |
deleteTempFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String folderName,
String fileName) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int start,
int end) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long fileEntryTypeId) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long fileEntryTypeId,
int start,
int end) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long fileEntryTypeId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String[] mimeTypes) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String[] mimeTypes,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) |
static List<Object> |
getFileEntriesAndFileShortcuts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
int start,
int end) |
static int |
getFileEntriesAndFileShortcutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status) |
static int |
getFileEntriesAndFileShortcutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
String[] mimeTypes) |
static int |
getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId) |
static int |
getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
long fileEntryTypeId) |
static int |
getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String[] mimeTypes) |
static com.liferay.portal.kernel.repository.model.FileEntry |
getFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId) |
static com.liferay.portal.kernel.repository.model.FileEntry |
getFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String title) |
static com.liferay.portal.kernel.repository.model.FileEntry |
getFileEntryByExternalReferenceCode(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String externalReferenceCode) |
static com.liferay.portal.kernel.repository.model.FileEntry |
getFileEntryByFileName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String fileName) |
static com.liferay.portal.kernel.repository.model.FileEntry |
getFileEntryByUuidAndGroupId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String uuid,
long groupId) |
static com.liferay.portal.kernel.repository.model.FileShortcut |
getFileShortcut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileShortcutId) |
static com.liferay.portal.kernel.repository.model.FileVersion |
getFileVersion(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileVersionId) |
static com.liferay.portal.kernel.repository.model.Folder |
getFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long folderId) |
static com.liferay.portal.kernel.repository.model.Folder |
getFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
String name) |
static List<com.liferay.portal.kernel.repository.model.Folder> |
getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId) |
static List<com.liferay.portal.kernel.repository.model.Folder> |
getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
boolean includeMountFolders) |
static List<com.liferay.portal.kernel.repository.model.Folder> |
getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
boolean includeMountFolders,
int start,
int end) |
static List<com.liferay.portal.kernel.repository.model.Folder> |
getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
boolean includeMountFolders,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> orderByComparator) |
static List<com.liferay.portal.kernel.repository.model.Folder> |
getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int status,
boolean includeMountFolders,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> orderByComparator) |
static List<com.liferay.portal.kernel.repository.model.Folder> |
getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int start,
int end) |
static List<com.liferay.portal.kernel.repository.model.Folder> |
getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> orderByComparator) |
static List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end) |
static List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) |
static List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
boolean includeOwner,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) |
static List<Object> |
getFoldersAndFileEntriesAndFileShortcuts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) |
static int |
getFoldersAndFileEntriesAndFileShortcutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
boolean includeMountFolders) |
static int |
getFoldersAndFileEntriesAndFileShortcutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders) |
static int |
getFoldersAndFileEntriesAndFileShortcutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
boolean includeOwner) |
static int |
getFoldersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId) |
static int |
getFoldersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
boolean includeMountFolders) |
static int |
getFoldersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int status,
boolean includeMountFolders) |
static int |
getFoldersFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
List<Long> folderIds,
int status) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
int start,
int end) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
int start,
int end) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) |
static List<com.liferay.portal.kernel.repository.model.FileEntry> |
getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) |
static int |
getGroupFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId) |
static int |
getGroupFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId) |
static int |
getGroupFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status) |
static List<com.liferay.portal.kernel.repository.model.Folder> |
getMountFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId) |
static List<com.liferay.portal.kernel.repository.model.Folder> |
getMountFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int start,
int end) |
static List<com.liferay.portal.kernel.repository.model.Folder> |
getMountFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> orderByComparator) |
static int |
getMountFoldersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId) |
static void |
getSubfolderIds(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
List<Long> folderIds,
long folderId) |
static List<Long> |
getSubfolderIds(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId) |
static List<Long> |
getSubfolderIds(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
boolean recurse) |
static String[] |
getTempFileNames(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId,
String folderName) |
static com.liferay.portal.kernel.lock.Lock |
lockFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId) |
static com.liferay.portal.kernel.lock.Lock |
lockFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String owner,
boolean inheritable,
long expirationTime) |
static com.liferay.portal.kernel.repository.model.FileEntry |
moveFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
long newFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.Folder |
moveFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long folderId,
long parentFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.lock.Lock |
refreshFileEntryLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String lockUuid,
long companyId,
long expirationTime) |
static com.liferay.portal.kernel.lock.Lock |
refreshFolderLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String lockUuid,
long companyId,
long expirationTime) |
static void |
revertFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String version,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long creatorUserId,
int status,
int start,
int end) |
static com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long creatorUserId,
long folderId,
String[] mimeTypes,
int status,
int start,
int end) |
static com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
com.liferay.portal.kernel.search.SearchContext searchContext) |
static com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
com.liferay.portal.kernel.search.SearchContext searchContext,
com.liferay.portal.kernel.search.Query query) |
static void |
subscribeFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long fileEntryTypeId) |
static void |
subscribeFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId) |
static void |
unlockFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String lockUuid) |
static void |
unlockFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long parentFolderId,
String name,
String lockUuid) |
static void |
unsubscribeFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long fileEntryTypeId) |
static void |
unsubscribeFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long folderId) |
static com.liferay.portal.kernel.repository.model.FileEntry |
updateFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String urlTitle,
String description,
String changeLog,
com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease,
byte[] bytes,
Date expirationDate,
Date reviewDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileEntry |
updateFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String urlTitle,
String description,
String changeLog,
com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease,
File file,
Date expirationDate,
Date reviewDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileEntry |
updateFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String urlTitle,
String description,
String changeLog,
com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease,
InputStream inputStream,
long size,
Date expirationDate,
Date reviewDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileEntry |
updateFileEntryAndCheckIn(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String urlTitle,
String description,
String changeLog,
com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease,
File file,
Date expirationDate,
Date reviewDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileEntry |
updateFileEntryAndCheckIn(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String urlTitle,
String description,
String changeLog,
com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease,
InputStream inputStream,
long size,
Date expirationDate,
Date reviewDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileShortcut |
updateFileShortcut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long fileShortcutId,
long folderId,
long toFileEntryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.Folder |
updateFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long folderId,
String name,
String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static boolean |
verifyFileEntryCheckOut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long fileEntryId,
String lockUuid) |
static boolean |
verifyFileEntryLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long fileEntryId,
String lockUuid) |
static boolean |
verifyInheritableLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long repositoryId,
long folderId,
String lockUuid) |
public static com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, File file, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long repositoryId, long folderId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, byte[] bytes, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long repositoryId, long folderId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, File file, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long repositoryId, long folderId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, InputStream inputStream, long size, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileShortcut addFileShortcut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.Folder addFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry addTempFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, String folderName, String fileName, File file, String mimeType) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry addTempFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, String folderName, String fileName, InputStream inputStream, String mimeType) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void cancelCheckOut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void checkInFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, String changeLog, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void checkInFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String lockUuid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void checkOutFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry checkOutFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String owner, long expirationTime, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.Folder copyFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long sourceFolderId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFileEntryByTitle(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFileShortcut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileShortcutId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFileVersion(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFileVersion(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteTempFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, String folderName, String fileName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, long fileEntryTypeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, long fileEntryTypeId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, String[] mimeTypes) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, String[] mimeTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<Object> getFileEntriesAndFileShortcuts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFileEntriesAndFileShortcutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFileEntriesAndFileShortcutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, int status, String[] mimeTypes) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, long fileEntryTypeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, String[] mimeTypes) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry getFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry getFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry getFileEntryByExternalReferenceCode(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry getFileEntryByFileName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, String fileName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry getFileEntryByUuidAndGroupId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileShortcut getFileShortcut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileShortcutId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileVersion getFileVersion(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.Folder getFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.Folder getFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.Folder> getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.Folder> getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, boolean includeMountFolders) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.Folder> getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, boolean includeMountFolders, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.Folder> getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, boolean includeMountFolders, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.Folder> getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, int status, boolean includeMountFolders, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.Folder> getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.Folder> getFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<Object> getFoldersAndFileEntriesAndFileShortcuts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, int status, boolean includeMountFolders, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<Object> getFoldersAndFileEntriesAndFileShortcuts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, int status, boolean includeMountFolders, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<Object> getFoldersAndFileEntriesAndFileShortcuts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders, boolean includeOwner, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<Object> getFoldersAndFileEntriesAndFileShortcuts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFoldersAndFileEntriesAndFileShortcutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, int status, boolean includeMountFolders) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFoldersAndFileEntriesAndFileShortcutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFoldersAndFileEntriesAndFileShortcutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders, boolean includeOwner) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFoldersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFoldersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, boolean includeMountFolders) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFoldersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, int status, boolean includeMountFolders) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getFoldersFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, List<Long> folderIds, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, long rootFolderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, long rootFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getGroupFileEntries(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getGroupFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getGroupFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, long rootFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getGroupFileEntriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long userId, long rootFolderId, String[] mimeTypes, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.Folder> getMountFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.Folder> getMountFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.repository.model.Folder> getMountFolders(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getMountFoldersCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void getSubfolderIds(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, List<Long> folderIds, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<Long> getSubfolderIds(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<Long> getSubfolderIds(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, boolean recurse) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static String[] getTempFileNames(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId, String folderName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.lock.Lock lockFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.lock.Lock lockFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, String owner, boolean inheritable, long expirationTime) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry moveFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, long newFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.Folder moveFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.lock.Lock refreshFileEntryLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String lockUuid, long companyId, long expirationTime) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.lock.Lock refreshFolderLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String lockUuid, long companyId, long expirationTime) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void revertFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long creatorUserId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, com.liferay.portal.kernel.search.SearchContext searchContext) throws com.liferay.portal.kernel.search.SearchException
com.liferay.portal.kernel.search.SearchException
public static com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, com.liferay.portal.kernel.search.SearchContext searchContext, com.liferay.portal.kernel.search.Query query) throws com.liferay.portal.kernel.search.SearchException
com.liferay.portal.kernel.search.SearchException
public static void subscribeFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long fileEntryTypeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void subscribeFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unlockFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unlockFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long parentFolderId, String name, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unsubscribeFileEntryType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long fileEntryTypeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unsubscribeFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, byte[] bytes, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, File file, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, InputStream inputStream, long size, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry updateFileEntryAndCheckIn(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, File file, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry updateFileEntryAndCheckIn(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, InputStream inputStream, long size, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileShortcut updateFileShortcut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long fileShortcutId, long folderId, long toFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.Folder updateFolder(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long folderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean verifyFileEntryCheckOut(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long fileEntryId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean verifyFileEntryLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long fileEntryId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean verifyInheritableLock(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long repositoryId, long folderId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException