|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.repository.util.RepositoryWrapper
public class RepositoryWrapper
| Constructor Summary | |
|---|---|
RepositoryWrapper(Repository repository)
|
|
| Method Summary | ||
|---|---|---|
FileEntry |
addFileEntry(long userId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
File file,
ServiceContext serviceContext)
|
|
FileEntry |
addFileEntry(long userId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
InputStream is,
long size,
ServiceContext serviceContext)
|
|
FileEntry |
addFileEntry(long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
File file,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, see addFileEntry(long, long, String,
String, String, String, String, File, ServiceContext) |
|
FileEntry |
addFileEntry(long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
InputStream is,
long size,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, see addFileEntry(long, long, String,
String, String, String, String, InputStream, long,
ServiceContext) |
|
FileShortcut |
addFileShortcut(long userId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
|
|
Folder |
addFolder(long userId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
|
Folder |
addFolder(long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by addFolder(long, long,
String, String, ServiceContext) |
|
FileVersion |
cancelCheckOut(long fileEntryId)
Cancels the file entry check out. |
|
void |
checkInFileEntry(long fileEntryId,
boolean major,
String changeLog,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by checkInFileEntry(long, long,
boolean, String, ServiceContext) |
|
void |
checkInFileEntry(long userId,
long fileEntryId,
boolean major,
String changeLog,
ServiceContext serviceContext)
|
|
void |
checkInFileEntry(long userId,
long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
|
|
void |
checkInFileEntry(long fileEntryId,
String lockUuid)
Deprecated. |
|
void |
checkInFileEntry(long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by checkInFileEntry(long, long,
String, ServiceContext) |
|
FileEntry |
checkOutFileEntry(long fileEntryId,
ServiceContext serviceContext)
|
|
FileEntry |
checkOutFileEntry(long fileEntryId,
String owner,
long expirationTime,
ServiceContext serviceContext)
|
|
FileEntry |
copyFileEntry(long userId,
long groupId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext)
|
|
FileEntry |
copyFileEntry(long groupId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by copyFileEntry(long, long,
long, long, ServiceContext) |
|
void |
deleteAll()
|
|
void |
deleteFileEntry(long fileEntryId)
|
|
void |
deleteFileEntry(long folderId,
String title)
|
|
void |
deleteFileShortcut(long fileShortcutId)
|
|
void |
deleteFileShortcuts(long toFileEntryId)
|
|
void |
deleteFileVersion(long fileEntryId,
String version)
|
|
void |
deleteFolder(long folderId)
|
|
void |
deleteFolder(long parentFolderId,
String name)
|
|
|
getCapability(Class<T> capabilityClass)
|
|
List<FileEntry> |
getFileEntries(long folderId,
int status,
int start,
int end,
OrderByComparator<FileEntry> obc)
|
|
List<FileEntry> |
getFileEntries(long folderId,
int start,
int end,
OrderByComparator<FileEntry> obc)
|
|
List<FileEntry> |
getFileEntries(long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator<FileEntry> obc)
|
|
List<FileEntry> |
getFileEntries(long folderId,
String[] mimeTypes,
int start,
int end,
OrderByComparator<FileEntry> obc)
|
|
List<RepositoryEntry> |
getFileEntriesAndFileShortcuts(long folderId,
int status,
int start,
int end)
|
|
int |
getFileEntriesAndFileShortcutsCount(long folderId,
int status)
|
|
int |
getFileEntriesAndFileShortcutsCount(long folderId,
int status,
String[] mimeTypes)
|
|
int |
getFileEntriesCount(long folderId)
|
|
int |
getFileEntriesCount(long folderId,
int status)
|
|
int |
getFileEntriesCount(long folderId,
long fileEntryTypeId)
|
|
int |
getFileEntriesCount(long folderId,
String[] mimeTypes)
|
|
FileEntry |
getFileEntry(long fileEntryId)
|
|
FileEntry |
getFileEntry(long folderId,
String title)
|
|
FileEntry |
getFileEntryByUuid(String uuid)
|
|
FileShortcut |
getFileShortcut(long fileShortcutId)
|
|
FileVersion |
getFileVersion(long fileVersionId)
|
|
Folder |
getFolder(long folderId)
|
|
Folder |
getFolder(long parentFolderId,
String name)
|
|
List<Folder> |
getFolders(long parentFolderId,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<Folder> obc)
|
|
List<Folder> |
getFolders(long parentFolderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<Folder> obc)
|
|
List<RepositoryEntry> |
getFoldersAndFileEntriesAndFileShortcuts(long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> obc)
|
|
List<RepositoryEntry> |
getFoldersAndFileEntriesAndFileShortcuts(long folderId,
int status,
String[] mimetypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> obc)
|
|
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
int status,
boolean includeMountFolders)
|
|
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
int status,
String[] mimetypes,
boolean includeMountFolders)
|
|
int |
getFoldersCount(long parentFolderId,
boolean includeMountfolders)
|
|
int |
getFoldersCount(long parentFolderId,
int status,
boolean includeMountfolders)
|
|
int |
getFoldersFileEntriesCount(List<Long> folderIds,
int status)
|
|
List<Folder> |
getMountFolders(long parentFolderId,
int start,
int end,
OrderByComparator<Folder> obc)
|
|
int |
getMountFoldersCount(long parentFolderId)
|
|
List<FileEntry> |
getRepositoryFileEntries(long userId,
long rootFolderId,
int start,
int end,
OrderByComparator<FileEntry> obc)
|
|
List<FileEntry> |
getRepositoryFileEntries(long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<FileEntry> obc)
|
|
int |
getRepositoryFileEntriesCount(long userId,
long rootFolderId)
|
|
int |
getRepositoryFileEntriesCount(long userId,
long rootFolderId,
String[] mimeTypes,
int status)
|
|
long |
getRepositoryId()
|
|
void |
getSubfolderIds(List<Long> folderIds,
long folderId)
|
|
List<Long> |
getSubfolderIds(long folderId,
boolean recurse)
|
|
|
isCapabilityProvided(Class<T> capabilityClass)
|
|
Lock |
lockFolder(long folderId)
|
|
Lock |
lockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime)
|
|
FileEntry |
moveFileEntry(long userId,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
|
|
FileEntry |
moveFileEntry(long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by moveFileEntry(long, long,
long, ServiceContext) |
|
Folder |
moveFolder(long userId,
long folderId,
long parentFolderId,
ServiceContext serviceContext)
|
|
Folder |
moveFolder(long folderId,
long newParentFolderId,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by moveFolder(long, long, long,
ServiceContext) |
|
Lock |
refreshFileEntryLock(String lockUuid,
long companyId,
long expirationTime)
|
|
Lock |
refreshFolderLock(String lockUuid,
long companyId,
long expirationTime)
|
|
void |
revertFileEntry(long userId,
long fileEntryId,
String version,
ServiceContext serviceContext)
|
|
void |
revertFileEntry(long fileEntryId,
String version,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by revertFileEntry(long, long,
String, ServiceContext) |
|
Hits |
search(long creatorUserId,
int status,
int start,
int end)
|
|
Hits |
search(long creatorUserId,
long folderId,
String[] mimeTypes,
int status,
int start,
int end)
|
|
Hits |
search(SearchContext searchContext)
|
|
Hits |
search(SearchContext searchContext,
Query query)
|
|
void |
unlockFolder(long folderId,
String lockUuid)
|
|
void |
unlockFolder(long parentFolderId,
String name,
String lockUuid)
|
|
FileEntry |
updateFileEntry(long userId,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
File file,
ServiceContext serviceContext)
|
|
FileEntry |
updateFileEntry(long userId,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
InputStream is,
long size,
ServiceContext serviceContext)
|
|
FileEntry |
updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
File file,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by updateFileEntry(long, long,
String, String, String, String, String, boolean, File,
ServiceContext) |
|
FileEntry |
updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
InputStream is,
long size,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by updateFileEntry(long, long,
String, String, String, String, String, boolean, InputStream,
long, ServiceContext) |
|
FileShortcut |
updateFileShortcut(long userId,
long fileShortcutId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
|
|
void |
updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId)
|
|
Folder |
updateFolder(long folderId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
|
Folder |
updateFolder(long folderId,
String name,
String description,
ServiceContext serviceContext)
|
|
boolean |
verifyFileEntryCheckOut(long fileEntryId,
String lockUuid)
|
|
boolean |
verifyFileEntryLock(long fileEntryId,
String lockUuid)
|
|
boolean |
verifyInheritableLock(long folderId,
String lockUuid)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryWrapper(Repository repository)
| Method Detail |
|---|
public FileEntry addFileEntry(long userId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
File file,
ServiceContext serviceContext)
throws PortalException
addFileEntry in interface DocumentRepositoryPortalException
public FileEntry addFileEntry(long userId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException
addFileEntry in interface DocumentRepositoryPortalException
@Deprecated
public FileEntry addFileEntry(long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
File file,
ServiceContext serviceContext)
throws PortalException
addFileEntry(long, long, String,
String, String, String, String, File, ServiceContext)
addFileEntry in interface RepositoryPortalException
@Deprecated
public FileEntry addFileEntry(long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException
addFileEntry(long, long, String,
String, String, String, String, InputStream, long,
ServiceContext)
addFileEntry in interface RepositoryPortalException
public FileShortcut addFileShortcut(long userId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
throws PortalException
addFileShortcut in interface DocumentRepositoryPortalException
public Folder addFolder(long userId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
addFolder in interface DocumentRepositoryPortalException
@Deprecated
public Folder addFolder(long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
addFolder(long, long,
String, String, ServiceContext)
addFolder in interface RepositoryPortalException
public FileVersion cancelCheckOut(long fileEntryId)
throws PortalException
Repository
cancelCheckOut in interface RepositoryfileEntryId - the primary key of the file entry to cancel the check
out
null if the file entry was not checked out
PortalExceptionDocumentRepository.checkInFileEntry(long, long, boolean, String, ServiceContext),
Repository.checkOutFileEntry(long, ServiceContext)
@Deprecated
public void checkInFileEntry(long fileEntryId,
boolean major,
String changeLog,
ServiceContext serviceContext)
throws PortalException
checkInFileEntry(long, long,
boolean, String, ServiceContext)
checkInFileEntry in interface RepositoryPortalException
public void checkInFileEntry(long userId,
long fileEntryId,
boolean major,
String changeLog,
ServiceContext serviceContext)
throws PortalException
checkInFileEntry in interface DocumentRepositoryPortalException
public void checkInFileEntry(long userId,
long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
throws PortalException
checkInFileEntry in interface DocumentRepositoryPortalException
@Deprecated
public void checkInFileEntry(long fileEntryId,
String lockUuid)
throws PortalException
checkInFileEntry in interface RepositoryPortalException
@Deprecated
public void checkInFileEntry(long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
throws PortalException
checkInFileEntry(long, long,
String, ServiceContext)
checkInFileEntry in interface RepositoryPortalException
public FileEntry checkOutFileEntry(long fileEntryId,
ServiceContext serviceContext)
throws PortalException
checkOutFileEntry in interface RepositoryPortalException
public FileEntry checkOutFileEntry(long fileEntryId,
String owner,
long expirationTime,
ServiceContext serviceContext)
throws PortalException
checkOutFileEntry in interface RepositoryPortalException
public FileEntry copyFileEntry(long userId,
long groupId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext)
throws PortalException
copyFileEntry in interface DocumentRepositoryPortalException
@Deprecated
public FileEntry copyFileEntry(long groupId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext)
throws PortalException
copyFileEntry(long, long,
long, long, ServiceContext)
copyFileEntry in interface RepositoryPortalException
public void deleteAll()
throws PortalException
deleteAll in interface DocumentRepositoryPortalException
public void deleteFileEntry(long fileEntryId)
throws PortalException
deleteFileEntry in interface DocumentRepositoryPortalException
public void deleteFileEntry(long folderId,
String title)
throws PortalException
deleteFileEntry in interface RepositoryPortalException
public void deleteFileShortcut(long fileShortcutId)
throws PortalException
deleteFileShortcut in interface DocumentRepositoryPortalException
public void deleteFileShortcuts(long toFileEntryId)
throws PortalException
deleteFileShortcuts in interface DocumentRepositoryPortalException
public void deleteFileVersion(long fileEntryId,
String version)
throws PortalException
deleteFileVersion in interface RepositoryPortalException
public void deleteFolder(long folderId)
throws PortalException
deleteFolder in interface DocumentRepositoryPortalException
public void deleteFolder(long parentFolderId,
String name)
throws PortalException
deleteFolder in interface RepositoryPortalExceptionpublic <T extends Capability> T getCapability(Class<T> capabilityClass)
getCapability in interface CapabilityProvider
public List<FileEntry> getFileEntries(long folderId,
int status,
int start,
int end,
OrderByComparator<FileEntry> obc)
throws PortalException
getFileEntries in interface DocumentRepositoryPortalException
public List<FileEntry> getFileEntries(long folderId,
int start,
int end,
OrderByComparator<FileEntry> obc)
throws PortalException
getFileEntries in interface DocumentRepositoryPortalException
public List<FileEntry> getFileEntries(long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator<FileEntry> obc)
throws PortalException
getFileEntries in interface RepositoryPortalException
public List<FileEntry> getFileEntries(long folderId,
String[] mimeTypes,
int start,
int end,
OrderByComparator<FileEntry> obc)
throws PortalException
getFileEntries in interface RepositoryPortalException
public List<RepositoryEntry> getFileEntriesAndFileShortcuts(long folderId,
int status,
int start,
int end)
throws PortalException
getFileEntriesAndFileShortcuts in interface DocumentRepositoryPortalException
public int getFileEntriesAndFileShortcutsCount(long folderId,
int status)
throws PortalException
getFileEntriesAndFileShortcutsCount in interface DocumentRepositoryPortalException
public int getFileEntriesAndFileShortcutsCount(long folderId,
int status,
String[] mimeTypes)
throws PortalException
getFileEntriesAndFileShortcutsCount in interface RepositoryPortalException
public int getFileEntriesCount(long folderId)
throws PortalException
getFileEntriesCount in interface DocumentRepositoryPortalException
public int getFileEntriesCount(long folderId,
int status)
throws PortalException
getFileEntriesCount in interface DocumentRepositoryPortalException
public int getFileEntriesCount(long folderId,
long fileEntryTypeId)
throws PortalException
getFileEntriesCount in interface RepositoryPortalException
public int getFileEntriesCount(long folderId,
String[] mimeTypes)
throws PortalException
getFileEntriesCount in interface RepositoryPortalException
public FileEntry getFileEntry(long fileEntryId)
throws PortalException
getFileEntry in interface DocumentRepositoryPortalException
public FileEntry getFileEntry(long folderId,
String title)
throws PortalException
getFileEntry in interface DocumentRepositoryPortalException
public FileEntry getFileEntryByUuid(String uuid)
throws PortalException
getFileEntryByUuid in interface DocumentRepositoryPortalException
public FileShortcut getFileShortcut(long fileShortcutId)
throws PortalException
getFileShortcut in interface DocumentRepositoryPortalException
public FileVersion getFileVersion(long fileVersionId)
throws PortalException
getFileVersion in interface DocumentRepositoryPortalException
public Folder getFolder(long folderId)
throws PortalException
getFolder in interface DocumentRepositoryPortalException
public Folder getFolder(long parentFolderId,
String name)
throws PortalException
getFolder in interface DocumentRepositoryPortalException
public List<Folder> getFolders(long parentFolderId,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<Folder> obc)
throws PortalException
getFolders in interface DocumentRepositoryPortalException
public List<Folder> getFolders(long parentFolderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<Folder> obc)
throws PortalException
getFolders in interface DocumentRepositoryPortalException
public List<RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> obc)
throws PortalException
getFoldersAndFileEntriesAndFileShortcuts in interface DocumentRepositoryPortalException
public List<RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId,
int status,
String[] mimetypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> obc)
throws PortalException
getFoldersAndFileEntriesAndFileShortcuts in interface RepositoryPortalException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
int status,
boolean includeMountFolders)
throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount in interface RepositoryPortalException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
int status,
String[] mimetypes,
boolean includeMountFolders)
throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount in interface RepositoryPortalException
public int getFoldersCount(long parentFolderId,
boolean includeMountfolders)
throws PortalException
getFoldersCount in interface DocumentRepositoryPortalException
public int getFoldersCount(long parentFolderId,
int status,
boolean includeMountfolders)
throws PortalException
getFoldersCount in interface DocumentRepositoryPortalException
public int getFoldersFileEntriesCount(List<Long> folderIds,
int status)
throws PortalException
getFoldersFileEntriesCount in interface RepositoryPortalException
public List<Folder> getMountFolders(long parentFolderId,
int start,
int end,
OrderByComparator<Folder> obc)
throws PortalException
getMountFolders in interface RepositoryPortalException
public int getMountFoldersCount(long parentFolderId)
throws PortalException
getMountFoldersCount in interface RepositoryPortalException
public List<FileEntry> getRepositoryFileEntries(long userId,
long rootFolderId,
int start,
int end,
OrderByComparator<FileEntry> obc)
throws PortalException
getRepositoryFileEntries in interface DocumentRepositoryPortalException
public List<FileEntry> getRepositoryFileEntries(long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<FileEntry> obc)
throws PortalException
getRepositoryFileEntries in interface RepositoryPortalException
public int getRepositoryFileEntriesCount(long userId,
long rootFolderId)
throws PortalException
getRepositoryFileEntriesCount in interface RepositoryPortalException
public int getRepositoryFileEntriesCount(long userId,
long rootFolderId,
String[] mimeTypes,
int status)
throws PortalException
getRepositoryFileEntriesCount in interface RepositoryPortalExceptionpublic long getRepositoryId()
getRepositoryId in interface DocumentRepository
public void getSubfolderIds(List<Long> folderIds,
long folderId)
throws PortalException
getSubfolderIds in interface RepositoryPortalException
public List<Long> getSubfolderIds(long folderId,
boolean recurse)
throws PortalException
getSubfolderIds in interface RepositoryPortalExceptionpublic <T extends Capability> boolean isCapabilityProvided(Class<T> capabilityClass)
isCapabilityProvided in interface CapabilityProvider
public Lock lockFolder(long folderId)
throws PortalException
lockFolder in interface RepositoryPortalException
public Lock lockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime)
throws PortalException
lockFolder in interface RepositoryPortalException
public FileEntry moveFileEntry(long userId,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
throws PortalException
moveFileEntry in interface DocumentRepositoryPortalException
@Deprecated
public FileEntry moveFileEntry(long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
throws PortalException
moveFileEntry(long, long,
long, ServiceContext)
moveFileEntry in interface RepositoryPortalException
public Folder moveFolder(long userId,
long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException
moveFolder in interface DocumentRepositoryPortalException
@Deprecated
public Folder moveFolder(long folderId,
long newParentFolderId,
ServiceContext serviceContext)
throws PortalException
moveFolder(long, long, long,
ServiceContext)
moveFolder in interface RepositoryPortalException
public Lock refreshFileEntryLock(String lockUuid,
long companyId,
long expirationTime)
throws PortalException
refreshFileEntryLock in interface RepositoryPortalException
public Lock refreshFolderLock(String lockUuid,
long companyId,
long expirationTime)
throws PortalException
refreshFolderLock in interface RepositoryPortalException
public void revertFileEntry(long userId,
long fileEntryId,
String version,
ServiceContext serviceContext)
throws PortalException
revertFileEntry in interface DocumentRepositoryPortalException
@Deprecated
public void revertFileEntry(long fileEntryId,
String version,
ServiceContext serviceContext)
throws PortalException
revertFileEntry(long, long,
String, ServiceContext)
revertFileEntry in interface RepositoryPortalException
public Hits search(long creatorUserId,
int status,
int start,
int end)
throws PortalException
search in interface RepositoryPortalException
public Hits search(long creatorUserId,
long folderId,
String[] mimeTypes,
int status,
int start,
int end)
throws PortalException
search in interface RepositoryPortalException
public Hits search(SearchContext searchContext)
throws SearchException
search in interface RepositorySearchException
public Hits search(SearchContext searchContext,
Query query)
throws SearchException
search in interface RepositorySearchException
public void unlockFolder(long folderId,
String lockUuid)
throws PortalException
unlockFolder in interface RepositoryPortalException
public void unlockFolder(long parentFolderId,
String name,
String lockUuid)
throws PortalException
unlockFolder in interface RepositoryPortalException
public FileEntry updateFileEntry(long userId,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
File file,
ServiceContext serviceContext)
throws PortalException
updateFileEntry in interface DocumentRepositoryPortalException
public FileEntry updateFileEntry(long userId,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException
updateFileEntry in interface DocumentRepositoryPortalException
@Deprecated
public FileEntry updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
File file,
ServiceContext serviceContext)
throws PortalException
updateFileEntry(long, long,
String, String, String, String, String, boolean, File,
ServiceContext)
updateFileEntry in interface RepositoryPortalException
@Deprecated
public FileEntry updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException
updateFileEntry(long, long,
String, String, String, String, String, boolean, InputStream,
long, ServiceContext)
updateFileEntry in interface RepositoryPortalException
public FileShortcut updateFileShortcut(long userId,
long fileShortcutId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
throws PortalException
updateFileShortcut in interface DocumentRepositoryPortalException
public void updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId)
throws PortalException
updateFileShortcuts in interface DocumentRepositoryPortalException
public Folder updateFolder(long folderId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
updateFolder in interface DocumentRepositoryPortalException
public Folder updateFolder(long folderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
updateFolder in interface RepositoryPortalException
public boolean verifyFileEntryCheckOut(long fileEntryId,
String lockUuid)
throws PortalException
verifyFileEntryCheckOut in interface RepositoryPortalException
public boolean verifyFileEntryLock(long fileEntryId,
String lockUuid)
throws PortalException
verifyFileEntryLock in interface RepositoryPortalException
public boolean verifyInheritableLock(long folderId,
String lockUuid)
throws PortalException
verifyInheritableLock in interface RepositoryPortalException
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||