com.liferay.portal.repository.capabilities
Class LiferayWorkflowCapability
java.lang.Object
com.liferay.portal.repository.capabilities.LiferayWorkflowCapability
- All Implemented Interfaces:
- Capability, WorkflowCapability, WorkflowSupport, RepositoryWrapperAware
public class LiferayWorkflowCapability
- extends Object
- implements RepositoryWrapperAware, WorkflowCapability, WorkflowSupport
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiferayWorkflowCapability
public LiferayWorkflowCapability(DLFileEntryServiceAdapter dlFileEntryServiceAdapter,
DLFileVersionServiceAdapter dlFileVersionServiceAdapter)
addFileEntry
public void addFileEntry(long userId,
FileEntry fileEntry,
ServiceContext serviceContext)
throws PortalException
- Specified by:
addFileEntry in interface WorkflowSupport
- Throws:
PortalException
checkInFileEntry
public void checkInFileEntry(long userId,
FileEntry fileEntry,
ServiceContext serviceContext)
throws PortalException
- Specified by:
checkInFileEntry in interface WorkflowSupport
- Throws:
PortalException
getStatus
public int getStatus(FileEntry fileEntry)
- Specified by:
getStatus in interface WorkflowCapability
revertFileEntry
public void revertFileEntry(long userId,
FileEntry fileEntry,
ServiceContext serviceContext)
throws PortalException
- Specified by:
revertFileEntry in interface WorkflowSupport
- Throws:
PortalException
updateFileEntry
public void updateFileEntry(long userId,
FileEntry fileEntry,
ServiceContext serviceContext)
throws PortalException
- Specified by:
updateFileEntry in interface WorkflowSupport
- Throws:
PortalException
wrapLocalRepository
public LocalRepository wrapLocalRepository(LocalRepository localRepository)
- Specified by:
wrapLocalRepository in interface RepositoryWrapperAware
wrapRepository
public Repository wrapRepository(Repository repository)
- Specified by:
wrapRepository in interface RepositoryWrapperAware