com.liferay.portal.repository.proxy
Class LocalRepositoryProxyBean
java.lang.Object
com.liferay.portal.repository.proxy.RepositoryModelProxyBean
com.liferay.portal.repository.proxy.LocalRepositoryProxyBean
- All Implemented Interfaces:
- LocalRepository
public class LocalRepositoryProxyBean
- extends RepositoryModelProxyBean
- implements LocalRepository
- Author:
- Mika Koivisto
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalRepositoryProxyBean
public LocalRepositoryProxyBean(LocalRepository localRepository,
java.lang.ClassLoader classLoader)
addFileEntry
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
- Specified by:
addFileEntry in interface LocalRepository
- Throws:
PortalException
SystemException
addFileEntry
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.InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addFileEntry in interface LocalRepository
- Throws:
PortalException
SystemException
addFolder
public Folder addFolder(long userId,
long parentFolderId,
java.lang.String title,
java.lang.String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addFolder in interface LocalRepository
- Throws:
PortalException
SystemException
deleteAll
public void deleteAll()
throws PortalException,
SystemException
- Specified by:
deleteAll in interface LocalRepository
- Throws:
PortalException
SystemException
deleteFileEntry
public void deleteFileEntry(long fileEntryId)
throws PortalException,
SystemException
- Specified by:
deleteFileEntry in interface LocalRepository
- Throws:
PortalException
SystemException
deleteFolder
public void deleteFolder(long folderId)
throws PortalException,
SystemException
- Specified by:
deleteFolder in interface LocalRepository
- Throws:
PortalException
SystemException
getFileEntry
public FileEntry getFileEntry(long fileEntryId)
throws PortalException,
SystemException
- Specified by:
getFileEntry in interface LocalRepository
- Throws:
PortalException
SystemException
getFileEntry
public FileEntry getFileEntry(long folderId,
java.lang.String title)
throws PortalException,
SystemException
- Specified by:
getFileEntry in interface LocalRepository
- Throws:
PortalException
SystemException
getFileEntryByUuid
public FileEntry getFileEntryByUuid(java.lang.String uuid)
throws PortalException,
SystemException
- Specified by:
getFileEntryByUuid in interface LocalRepository
- Throws:
PortalException
SystemException
getFileVersion
public FileVersion getFileVersion(long fileVersionId)
throws PortalException,
SystemException
- Specified by:
getFileVersion in interface LocalRepository
- Throws:
PortalException
SystemException
getFolder
public Folder getFolder(long folderId)
throws PortalException,
SystemException
- Specified by:
getFolder in interface LocalRepository
- Throws:
PortalException
SystemException
getFolder
public Folder getFolder(long parentFolderId,
java.lang.String title)
throws PortalException,
SystemException
- Specified by:
getFolder in interface LocalRepository
- Throws:
PortalException
SystemException
getRepositoryId
public long getRepositoryId()
- Specified by:
getRepositoryId in interface LocalRepository
moveFileEntry
public FileEntry moveFileEntry(long userId,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
moveFileEntry in interface LocalRepository
- Throws:
PortalException
SystemException
moveFolder
public Folder moveFolder(long userId,
long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
moveFolder in interface LocalRepository
- Throws:
PortalException
SystemException
updateAsset
public void updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
- Specified by:
updateAsset in interface LocalRepository
- Throws:
PortalException
SystemException
updateFileEntry
public 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
- Specified by:
updateFileEntry in interface LocalRepository
- Throws:
PortalException
SystemException
updateFileEntry
public 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
- Specified by:
updateFileEntry in interface LocalRepository
- Throws:
PortalException
SystemException
updateFolder
public Folder updateFolder(long folderId,
long parentFolderId,
java.lang.String title,
java.lang.String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateFolder in interface LocalRepository
- Throws:
PortalException
SystemException