| org.jboss.portal.cms.workflow.ApprovePublish
All known Subclasses: org.jboss.portal.cms.workflow.ApprovePublishImpl,
ApprovePublish | public interface ApprovePublish (Code) | | Created on : Dec 19, 2006
author: Sohil Shah - sohil.shah@jboss.com |
getManagers | public Set getManagers()(Code) | | Returns role names of Roles that are designated to be Managers in this workflow. Managers approve/deny all content
publish requests before the content goes live in the CMS
a Set of role names |
processManagerResponse | public void processManagerResponse(long processId, String manager, boolean approved) throws WorkflowException(Code) | | Called when a manager either approves or rejects the publishing of a specific content to go live
Parameters: processId - Parameters: manager - userId of the manager Parameters: approved - true if approved, false if rejected |
processManagerResponse | public void processManagerResponse(long processId, String manager, String modifiedContent) throws WorkflowException(Code) | | Called when a manager either approves the publishing of a specific content to go live, but at the same time
adds his/her own modifications to the original content
Parameters: processId - Parameters: manager - userId of the manager Parameters: approved - true if approved, false if rejected |
requestApproval | public long requestApproval(Content content) throws WorkflowException(Code) | | Called when content is added to the CMS, and needs to be approved by the managers before it can be published to go
live
Parameters: content - returns the process id of the workflow process set in motion |
|
|