Liferay 7.0-ce-b4

com.liferay.portal.repository.liferayrepository
Class LiferayProcessorLocalRepositoryWrapper

java.lang.Object
  extended by com.liferay.portal.repository.util.LocalRepositoryWrapper
      extended by com.liferay.portal.repository.liferayrepository.LiferayProcessorLocalRepositoryWrapper
All Implemented Interfaces:
CapabilityProvider, DocumentRepository, LocalRepository

public class LiferayProcessorLocalRepositoryWrapper
extends LocalRepositoryWrapper


Constructor Summary
LiferayProcessorLocalRepositoryWrapper(LocalRepository localRepository, ProcessorCapability processorCapability)
           
 
Method Summary
 FileEntry addFileEntry(long userId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, File file, ServiceContext serviceContext)
           
 FileEntry addFileEntry(long userId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, InputStream is, long size, ServiceContext serviceContext)
           
 void checkInFileEntry(long userId, long fileEntryId, boolean major, String changeLog, ServiceContext serviceContext)
           
 void checkInFileEntry(long userId, long fileEntryId, String lockUuid, ServiceContext serviceContext)
           
 void revertFileEntry(long userId, long fileEntryId, String version, ServiceContext serviceContext)
           
 FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, File file, ServiceContext serviceContext)
           
 FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, InputStream is, long size, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portal.repository.util.LocalRepositoryWrapper
addFileShortcut, addFolder, copyFileEntry, deleteAll, deleteFileEntry, deleteFileShortcut, deleteFileShortcuts, deleteFolder, getCapability, getFileEntries, getFileEntries, getFileEntriesAndFileShortcuts, getFileEntriesAndFileShortcutsCount, getFileEntriesCount, getFileEntriesCount, getFileEntry, getFileEntry, getFileEntryByUuid, getFileShortcut, getFileVersion, getFolder, getFolder, getFolders, getFolders, getFoldersAndFileEntriesAndFileShortcuts, getFoldersCount, getFoldersCount, getRepositoryFileEntries, getRepositoryId, isCapabilityProvided, moveFileEntry, moveFolder, updateAsset, updateFileShortcut, updateFileShortcuts, updateFolder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiferayProcessorLocalRepositoryWrapper

public LiferayProcessorLocalRepositoryWrapper(LocalRepository localRepository,
                                              ProcessorCapability processorCapability)
Method Detail

addFileEntry

public FileEntry addFileEntry(long userId,
                              long folderId,
                              String sourceFileName,
                              String mimeType,
                              String title,
                              String description,
                              String changeLog,
                              File file,
                              ServiceContext serviceContext)
                       throws PortalException
Specified by:
addFileEntry in interface DocumentRepository
Overrides:
addFileEntry in class LocalRepositoryWrapper
Throws:
PortalException

addFileEntry

public FileEntry addFileEntry(long userId,
                              long folderId,
                              String sourceFileName,
                              String mimeType,
                              String title,
                              String description,
                              String changeLog,
                              InputStream is,
                              long size,
                              ServiceContext serviceContext)
                       throws PortalException
Specified by:
addFileEntry in interface DocumentRepository
Overrides:
addFileEntry in class LocalRepositoryWrapper
Throws:
PortalException

checkInFileEntry

public void checkInFileEntry(long userId,
                             long fileEntryId,
                             boolean major,
                             String changeLog,
                             ServiceContext serviceContext)
                      throws PortalException
Specified by:
checkInFileEntry in interface DocumentRepository
Overrides:
checkInFileEntry in class LocalRepositoryWrapper
Throws:
PortalException

checkInFileEntry

public void checkInFileEntry(long userId,
                             long fileEntryId,
                             String lockUuid,
                             ServiceContext serviceContext)
                      throws PortalException
Specified by:
checkInFileEntry in interface DocumentRepository
Overrides:
checkInFileEntry in class LocalRepositoryWrapper
Throws:
PortalException

revertFileEntry

public void revertFileEntry(long userId,
                            long fileEntryId,
                            String version,
                            ServiceContext serviceContext)
                     throws PortalException
Specified by:
revertFileEntry in interface DocumentRepository
Overrides:
revertFileEntry in class LocalRepositoryWrapper
Throws:
PortalException

updateFileEntry

public FileEntry updateFileEntry(long userId,
                                 long fileEntryId,
                                 String sourceFileName,
                                 String mimeType,
                                 String title,
                                 String description,
                                 String changeLog,
                                 boolean majorVersion,
                                 File file,
                                 ServiceContext serviceContext)
                          throws PortalException
Specified by:
updateFileEntry in interface DocumentRepository
Overrides:
updateFileEntry in class LocalRepositoryWrapper
Throws:
PortalException

updateFileEntry

public FileEntry updateFileEntry(long userId,
                                 long fileEntryId,
                                 String sourceFileName,
                                 String mimeType,
                                 String title,
                                 String description,
                                 String changeLog,
                                 boolean majorVersion,
                                 InputStream is,
                                 long size,
                                 ServiceContext serviceContext)
                          throws PortalException
Specified by:
updateFileEntry in interface DocumentRepository
Overrides:
updateFileEntry in class LocalRepositoryWrapper
Throws:
PortalException

Liferay 7.0-ce-b4