@ProviderType
public interface PortletFileRepository
| Modifier and Type | Method and Description |
|---|---|
void |
addPortletFileEntries(long groupId,
long userId,
String className,
long classPK,
String portletId,
long folderId,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs) |
FileEntry |
addPortletFileEntry(long groupId,
long userId,
String className,
long classPK,
String portletId,
long folderId,
byte[] bytes,
String fileName,
String mimeType,
boolean indexingEnabled) |
FileEntry |
addPortletFileEntry(long groupId,
long userId,
String className,
long classPK,
String portletId,
long folderId,
File file,
String fileName,
String mimeType,
boolean indexingEnabled) |
FileEntry |
addPortletFileEntry(long groupId,
long userId,
String className,
long classPK,
String portletId,
long folderId,
InputStream inputStream,
String fileName,
String mimeType,
boolean indexingEnabled) |
Folder |
addPortletFolder(long userId,
long repositoryId,
long parentFolderId,
String folderName,
ServiceContext serviceContext) |
Folder |
addPortletFolder(long groupId,
long userId,
String portletId,
long parentFolderId,
String folderName,
ServiceContext serviceContext) |
Repository |
addPortletRepository(long groupId,
String portletId,
ServiceContext serviceContext) |
void |
deleteFolder(long folderId)
Deprecated.
As of 7.0.0, replaced by
deletePortletFolder(long) |
void |
deletePortletFileEntries(long groupId,
long folderId) |
void |
deletePortletFileEntries(long groupId,
long folderId,
int status) |
void |
deletePortletFileEntry(long fileEntryId) |
void |
deletePortletFileEntry(long groupId,
long folderId,
String fileName) |
void |
deletePortletFolder(long folderId) |
void |
deletePortletRepository(long groupId,
String portletId) |
Repository |
fetchPortletRepository(long groupId,
String portletId) |
String |
getDownloadPortletFileEntryURL(ThemeDisplay themeDisplay,
FileEntry fileEntry,
String queryString) |
String |
getDownloadPortletFileEntryURL(ThemeDisplay themeDisplay,
FileEntry fileEntry,
String queryString,
boolean absoluteURL) |
List<FileEntry> |
getPortletFileEntries(long groupId,
long folderId) |
List<FileEntry> |
getPortletFileEntries(long groupId,
long folderId,
int status) |
List<FileEntry> |
getPortletFileEntries(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator<FileEntry> obc) |
List<FileEntry> |
getPortletFileEntries(long groupId,
long folderId,
OrderByComparator<FileEntry> obc) |
int |
getPortletFileEntriesCount(long groupId,
long folderId) |
int |
getPortletFileEntriesCount(long groupId,
long folderId,
int status) |
FileEntry |
getPortletFileEntry(long fileEntryId) |
FileEntry |
getPortletFileEntry(long groupId,
long folderId,
String fileName) |
FileEntry |
getPortletFileEntry(String uuid,
long groupId) |
String |
getPortletFileEntryURL(ThemeDisplay themeDisplay,
FileEntry fileEntry,
String queryString) |
String |
getPortletFileEntryURL(ThemeDisplay themeDisplay,
FileEntry fileEntry,
String queryString,
boolean absoluteURL) |
Folder |
getPortletFolder(long folderId) |
Folder |
getPortletFolder(long repositoryId,
long parentFolderId,
String folderName) |
Repository |
getPortletRepository(long groupId,
String portletId) |
String |
getUniqueFileName(long groupId,
long folderId,
String fileName) |
FileEntry |
movePortletFileEntryToTrash(long userId,
long fileEntryId) |
FileEntry |
movePortletFileEntryToTrash(long groupId,
long userId,
long folderId,
String fileName) |
Folder |
movePortletFolder(long groupId,
long userId,
long folderId,
long parentFolderId,
ServiceContext serviceContext) |
void |
restorePortletFileEntryFromTrash(long userId,
long fileEntryId) |
void |
restorePortletFileEntryFromTrash(long groupId,
long userId,
long folderId,
String fileName) |
Hits |
searchPortletFileEntries(long repositoryId,
SearchContext searchContext) |
void addPortletFileEntries(long groupId,
long userId,
String className,
long classPK,
String portletId,
long folderId,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs)
throws PortalException
PortalExceptionFileEntry addPortletFileEntry(long groupId, long userId, String className, long classPK, String portletId, long folderId, byte[] bytes, String fileName, String mimeType, boolean indexingEnabled) throws PortalException
PortalExceptionFileEntry addPortletFileEntry(long groupId, long userId, String className, long classPK, String portletId, long folderId, File file, String fileName, String mimeType, boolean indexingEnabled) throws PortalException
PortalExceptionFileEntry addPortletFileEntry(long groupId, long userId, String className, long classPK, String portletId, long folderId, InputStream inputStream, String fileName, String mimeType, boolean indexingEnabled) throws PortalException
PortalExceptionFolder addPortletFolder(long userId, long repositoryId, long parentFolderId, String folderName, ServiceContext serviceContext) throws PortalException
PortalExceptionFolder addPortletFolder(long groupId, long userId, String portletId, long parentFolderId, String folderName, ServiceContext serviceContext) throws PortalException
PortalExceptionRepository addPortletRepository(long groupId, String portletId, ServiceContext serviceContext) throws PortalException
PortalException@Deprecated void deleteFolder(long folderId) throws PortalException
deletePortletFolder(long)PortalExceptionvoid deletePortletFileEntries(long groupId,
long folderId)
throws PortalException
PortalExceptionvoid deletePortletFileEntries(long groupId,
long folderId,
int status)
throws PortalException
PortalExceptionvoid deletePortletFileEntry(long fileEntryId)
throws PortalException
PortalExceptionvoid deletePortletFileEntry(long groupId,
long folderId,
String fileName)
throws PortalException
PortalExceptionvoid deletePortletFolder(long folderId)
throws PortalException
PortalExceptionvoid deletePortletRepository(long groupId,
String portletId)
throws PortalException
PortalExceptionRepository fetchPortletRepository(long groupId, String portletId)
String getDownloadPortletFileEntryURL(ThemeDisplay themeDisplay, FileEntry fileEntry, String queryString)
String getDownloadPortletFileEntryURL(ThemeDisplay themeDisplay, FileEntry fileEntry, String queryString, boolean absoluteURL)
List<FileEntry> getPortletFileEntries(long groupId, long folderId) throws PortalException
PortalExceptionList<FileEntry> getPortletFileEntries(long groupId, long folderId, int status) throws PortalException
PortalExceptionList<FileEntry> getPortletFileEntries(long groupId, long folderId, int status, int start, int end, OrderByComparator<FileEntry> obc) throws PortalException
PortalExceptionList<FileEntry> getPortletFileEntries(long groupId, long folderId, OrderByComparator<FileEntry> obc) throws PortalException
PortalExceptionint getPortletFileEntriesCount(long groupId,
long folderId)
throws PortalException
PortalExceptionint getPortletFileEntriesCount(long groupId,
long folderId,
int status)
throws PortalException
PortalExceptionFileEntry getPortletFileEntry(long fileEntryId) throws PortalException
PortalExceptionFileEntry getPortletFileEntry(long groupId, long folderId, String fileName) throws PortalException
PortalExceptionFileEntry getPortletFileEntry(String uuid, long groupId) throws PortalException
PortalExceptionString getPortletFileEntryURL(ThemeDisplay themeDisplay, FileEntry fileEntry, String queryString)
String getPortletFileEntryURL(ThemeDisplay themeDisplay, FileEntry fileEntry, String queryString, boolean absoluteURL)
Folder getPortletFolder(long folderId) throws PortalException
PortalExceptionFolder getPortletFolder(long repositoryId, long parentFolderId, String folderName) throws PortalException
PortalExceptionRepository getPortletRepository(long groupId, String portletId) throws PortalException
PortalExceptionFileEntry movePortletFileEntryToTrash(long userId, long fileEntryId) throws PortalException
PortalExceptionFileEntry movePortletFileEntryToTrash(long groupId, long userId, long folderId, String fileName) throws PortalException
PortalExceptionFolder movePortletFolder(long groupId, long userId, long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException
PortalExceptionvoid restorePortletFileEntryFromTrash(long userId,
long fileEntryId)
throws PortalException
PortalExceptionvoid restorePortletFileEntryFromTrash(long groupId,
long userId,
long folderId,
String fileName)
throws PortalException
PortalExceptionHits searchPortletFileEntries(long repositoryId, SearchContext searchContext) throws PortalException
PortalException