Liferay 7.0-ce-b4

com.liferay.portal.repository.liferayrepository
Class LiferayWorkflowLocalRepositoryWrapper

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

public class LiferayWorkflowLocalRepositoryWrapper
extends LocalRepositoryWrapper


Constructor Summary
LiferayWorkflowLocalRepositoryWrapper(LocalRepository localRepository, WorkflowSupport workflowSupport)
           
 
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)
           
 FileEntry copyFileEntry(long userId, long groupId, long fileEntryId, long destFolderId, 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, 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

LiferayWorkflowLocalRepositoryWrapper

public LiferayWorkflowLocalRepositoryWrapper(LocalRepository localRepository,
                                             WorkflowSupport workflowSupport)
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

copyFileEntry

public FileEntry copyFileEntry(long userId,
                               long groupId,
                               long fileEntryId,
                               long destFolderId,
                               ServiceContext serviceContext)
                        throws PortalException
Specified by:
copyFileEntry in interface DocumentRepository
Overrides:
copyFileEntry 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