com.liferay.portal.portletfilerepository
Interface PortletFileRepository
public interface PortletFileRepository
Method Summary |
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,
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)
|
Repository |
addPortletRepository(long groupId,
String portletId,
ServiceContext serviceContext)
|
void |
deleteFolder(long folderId)
|
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 |
deletePortletRepository(long groupId,
String portletId)
|
Repository |
fetchPortletRepository(long groupId,
String portletId)
|
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 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)
|
FileEntry |
movePortletFileEntryToTrash(long userId,
long fileEntryId)
|
FileEntry |
movePortletFileEntryToTrash(long groupId,
long userId,
long folderId,
String fileName)
|
void |
restorePortletFileEntryFromTrash(long userId,
long fileEntryId)
|
void |
restorePortletFileEntryFromTrash(long groupId,
long userId,
long folderId,
String fileName)
|
addPortletFileEntries
void addPortletFileEntries(long groupId,
long userId,
String className,
long classPK,
String portletId,
long folderId,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPortletFileEntry
FileEntry addPortletFileEntry(long groupId,
long userId,
String className,
long classPK,
String portletId,
long folderId,
File file,
String fileName,
String mimeType,
boolean indexingEnabled)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPortletFileEntry
FileEntry addPortletFileEntry(long groupId,
long userId,
String className,
long classPK,
String portletId,
long folderId,
InputStream inputStream,
String fileName,
String mimeType,
boolean indexingEnabled)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPortletFolder
Folder addPortletFolder(long userId,
long repositoryId,
long parentFolderId,
String folderName,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPortletRepository
Repository addPortletRepository(long groupId,
String portletId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
void deleteFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePortletFileEntries
void deletePortletFileEntries(long groupId,
long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePortletFileEntries
void deletePortletFileEntries(long groupId,
long folderId,
int status)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePortletFileEntry
void deletePortletFileEntry(long fileEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePortletFileEntry
void deletePortletFileEntry(long groupId,
long folderId,
String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePortletRepository
void deletePortletRepository(long groupId,
String portletId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
fetchPortletRepository
Repository fetchPortletRepository(long groupId,
String portletId)
throws SystemException
- Throws:
SystemException
getPortletFileEntries
List<FileEntry> getPortletFileEntries(long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
getPortletFileEntries
List<FileEntry> getPortletFileEntries(long groupId,
long folderId,
int status)
throws SystemException
- Throws:
SystemException
getPortletFileEntries
List<FileEntry> getPortletFileEntries(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getPortletFileEntriesCount
int getPortletFileEntriesCount(long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
getPortletFileEntriesCount
int getPortletFileEntriesCount(long groupId,
long folderId,
int status)
throws SystemException
- Throws:
SystemException
getPortletFileEntry
FileEntry getPortletFileEntry(long fileEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPortletFileEntry
FileEntry getPortletFileEntry(long groupId,
long folderId,
String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPortletFileEntry
FileEntry getPortletFileEntry(String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPortletFileEntryURL
String getPortletFileEntryURL(ThemeDisplay themeDisplay,
FileEntry fileEntry,
String queryString)
getPortletFileEntryURL
String getPortletFileEntryURL(ThemeDisplay themeDisplay,
FileEntry fileEntry,
String queryString,
boolean absoluteURL)
getPortletFolder
Folder getPortletFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPortletFolder
Folder getPortletFolder(long repositoryId,
long parentFolderId,
String folderName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPortletRepository
Repository getPortletRepository(long groupId,
String portletId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
movePortletFileEntryToTrash
FileEntry movePortletFileEntryToTrash(long userId,
long fileEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
movePortletFileEntryToTrash
FileEntry movePortletFileEntryToTrash(long groupId,
long userId,
long folderId,
String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
restorePortletFileEntryFromTrash
void restorePortletFileEntryFromTrash(long userId,
long fileEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
restorePortletFileEntryFromTrash
void restorePortletFileEntryFromTrash(long groupId,
long userId,
long folderId,
String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException