|
|||||||||
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 |
getAllPendingInQueue()
Retrieves a queue of unapproved content for everything in the CMS. |
java.util.Set |
getManagers()
Returns role names of Roles that are designated to be Managers in this workflow. |
java.util.Collection |
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 WorkflowException
content
-
WorkflowException
void processManagerResponse(long processId, java.lang.String manager, boolean approved) throws WorkflowException
processId
- manager
- userId of the managerapproved
- true if approved, false if rejected
WorkflowException
void processManagerResponse(long processId, java.lang.String manager, java.lang.String modifiedContent) throws WorkflowException
processId
- manager
- userId of the managerapproved
- true if approved, false if rejected
WorkflowException
java.util.Collection getPendingQueue(java.lang.String filePath) throws WorkflowException
filePath
-
WorkflowException
java.util.Collection getAllPendingInQueue() throws WorkflowException
WorkflowException
java.util.Set getManagers()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |