public class LocalRepositoryProxyBean extends RepositoryModelProxyBean implements LocalRepository
| Constructor and Description |
|---|
LocalRepositoryProxyBean(LocalRepository localRepository,
java.lang.ClassLoader classLoader) |
| 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) |
newFileEntryProxyBean, newFileVersionProxyBean, newFolderProxyBean, newLocalRepositoryProxyBean, newProxyBean, newProxyInstance, toFileEntryProxyBeans, toFileVersionProxyBeans, toFolderProxyBeans, toObjectProxyBeanspublic LocalRepositoryProxyBean(LocalRepository localRepository, java.lang.ClassLoader classLoader)
public 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
addFileEntry in interface LocalRepositoryPortalExceptionSystemExceptionpublic 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) throws PortalException, SystemException
addFileEntry in interface LocalRepositoryPortalExceptionSystemExceptionpublic Folder addFolder(long userId, long parentFolderId, java.lang.String title, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
addFolder in interface LocalRepositoryPortalExceptionSystemExceptionpublic void deleteAll()
throws PortalException,
SystemException
deleteAll in interface LocalRepositoryPortalExceptionSystemExceptionpublic void deleteFileEntry(long fileEntryId)
throws PortalException,
SystemException
deleteFileEntry in interface LocalRepositoryPortalExceptionSystemExceptionpublic void deleteFolder(long folderId)
throws PortalException,
SystemException
deleteFolder in interface LocalRepositoryPortalExceptionSystemExceptionpublic FileEntry getFileEntry(long fileEntryId) throws PortalException, SystemException
getFileEntry in interface LocalRepositoryPortalExceptionSystemExceptionpublic FileEntry getFileEntry(long folderId, java.lang.String title) throws PortalException, SystemException
getFileEntry in interface LocalRepositoryPortalExceptionSystemExceptionpublic FileEntry getFileEntryByUuid(java.lang.String uuid) throws PortalException, SystemException
getFileEntryByUuid in interface LocalRepositoryPortalExceptionSystemExceptionpublic FileVersion getFileVersion(long fileVersionId) throws PortalException, SystemException
getFileVersion in interface LocalRepositoryPortalExceptionSystemExceptionpublic Folder getFolder(long folderId) throws PortalException, SystemException
getFolder in interface LocalRepositoryPortalExceptionSystemExceptionpublic Folder getFolder(long parentFolderId, java.lang.String title) throws PortalException, SystemException
getFolder in interface LocalRepositoryPortalExceptionSystemExceptionpublic long getRepositoryId()
getRepositoryId in interface LocalRepositorypublic FileEntry moveFileEntry(long userId, long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
moveFileEntry in interface LocalRepositoryPortalExceptionSystemExceptionpublic Folder moveFolder(long userId, long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException, SystemException
moveFolder in interface LocalRepositoryPortalExceptionSystemExceptionpublic void updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
updateAsset in interface LocalRepositoryPortalExceptionSystemExceptionpublic 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) throws PortalException, SystemException
updateFileEntry in interface LocalRepositoryPortalExceptionSystemExceptionpublic 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) throws PortalException, SystemException
updateFileEntry in interface LocalRepositoryPortalExceptionSystemExceptionpublic Folder updateFolder(long folderId, long parentFolderId, java.lang.String title, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
updateFolder in interface LocalRepositoryPortalExceptionSystemException