|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApprovePublish
Created on : Dec 19, 2006
| Method Summary | |
|---|---|
java.util.Collection<Content> |
getAllPendingInQueue()
Retrieves a queue of unapproved content for everything in the CMS. |
java.util.Set<java.lang.String> |
getManagers()
Returns role names of Roles that are designated to be Managers in this workflow. |
java.util.Collection<Content> |
getPendingQueue(java.lang.String filePath)
Retrieves a queue of unapproved content associated with the specified file in the CMS |
void |
processManagerResponse(long processId,
java.lang.String manager,
boolean approved)
Called when a manager either approves or rejects the publishing of a specific content to go live |
void |
processManagerResponse(long processId,
java.lang.String manager,
java.lang.String modifiedContent)
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 |
long |
requestApproval(Content content)
Called when content is added to the CMS, and needs to be approved by the managers before it can be published to go live |
| Method Detail |
|---|
long requestApproval(Content content)
throws org.jboss.portal.workflow.WorkflowException
content - the content to be approved
org.jboss.portal.workflow.WorkflowException - if an error occured during the approval process
void processManagerResponse(long processId,
java.lang.String manager,
boolean approved)
throws org.jboss.portal.workflow.WorkflowException
processId - the id of the approval process we are interested inmanager - userId of the managerapproved - true if approved, false if rejected
org.jboss.portal.workflow.WorkflowException
void processManagerResponse(long processId,
java.lang.String manager,
java.lang.String modifiedContent)
throws org.jboss.portal.workflow.WorkflowException
processId - the process id of the workflow we're interesting inmanager - userId of the managermodifiedContent - modified content
org.jboss.portal.workflow.WorkflowException
java.util.Collection<Content> getPendingQueue(java.lang.String filePath)
throws org.jboss.portal.workflow.WorkflowException
filePath -
org.jboss.portal.workflow.WorkflowException
java.util.Collection<Content> getAllPendingInQueue()
throws org.jboss.portal.workflow.WorkflowException
org.jboss.portal.workflow.WorkflowExceptionjava.util.Set<java.lang.String> getManagers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||