public interface LocalRepository
| Modifier and Type | Method and Description |
|---|---|
FileEntry |
addFileEntry(long userId,
long folderId,
java.lang.String sourceFileName,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String changeLog,
java.io.File file,
ServiceContext serviceContext) |
FileEntry |
addFileEntry(long userId,
long folderId,
java.lang.String sourceFileName,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String changeLog,
java.io.InputStream is,
long size,
ServiceContext serviceContext) |
Folder |
addFolder(long userId,
long parentFolderId,
java.lang.String title,
java.lang.String description,
ServiceContext serviceContext) |
void |
deleteAll() |
void |
deleteFileEntry(long fileEntryId) |
void |
deleteFolder(long folderId) |
FileEntry |
getFileEntry(long fileEntryId) |
FileEntry |
getFileEntry(long folderId,
java.lang.String title) |
FileEntry |
getFileEntryByUuid(java.lang.String uuid) |
FileVersion |
getFileVersion(long fileVersionId) |
Folder |
getFolder(long folderId) |
Folder |
getFolder(long parentFolderId,
java.lang.String title) |
long |
getRepositoryId() |
FileEntry |
moveFileEntry(long userId,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext) |
Folder |
moveFolder(long userId,
long folderId,
long parentFolderId,
ServiceContext serviceContext) |
void |
updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds) |
FileEntry |
updateFileEntry(long userId,
long fileEntryId,
java.lang.String sourceFileName,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String changeLog,
boolean majorVersion,
java.io.File file,
ServiceContext serviceContext) |
FileEntry |
updateFileEntry(long userId,
long fileEntryId,
java.lang.String sourceFileName,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String changeLog,
boolean majorVersion,
java.io.InputStream is,
long size,
ServiceContext serviceContext) |
Folder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String title,
java.lang.String description,
ServiceContext serviceContext) |
FileEntry addFileEntry(long userId, long folderId, java.lang.String sourceFileName, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String changeLog, java.io.File file, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionFileEntry addFileEntry(long userId, long folderId, java.lang.String sourceFileName, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String changeLog, java.io.InputStream is, long size, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionFolder addFolder(long userId, long parentFolderId, java.lang.String title, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid deleteAll()
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid deleteFileEntry(long fileEntryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid deleteFolder(long folderId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionFileEntry getFileEntry(long fileEntryId) throws PortalException, SystemException
PortalExceptionSystemExceptionFileEntry getFileEntry(long folderId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionFileEntry getFileEntryByUuid(java.lang.String uuid) throws PortalException, SystemException
PortalExceptionSystemExceptionFileVersion getFileVersion(long fileVersionId) throws PortalException, SystemException
PortalExceptionSystemExceptionFolder getFolder(long folderId) throws PortalException, SystemException
PortalExceptionSystemExceptionFolder getFolder(long parentFolderId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionlong getRepositoryId()
FileEntry moveFileEntry(long userId, long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionFolder moveFolder(long userId, long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
PortalExceptionSystemExceptionFileEntry updateFileEntry(long userId, long fileEntryId, java.lang.String sourceFileName, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String changeLog, boolean majorVersion, java.io.File file, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionFileEntry updateFileEntry(long userId, long fileEntryId, java.lang.String sourceFileName, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String changeLog, boolean majorVersion, java.io.InputStream is, long size, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionFolder updateFolder(long folderId, long parentFolderId, java.lang.String title, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemException