|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.workflow.cms.ApprovePublishImpl
public class ApprovePublishImpl
Created on : Dec 19, 2006
| Constructor Summary | |
|---|---|
ApprovePublishImpl()
|
|
| Method Summary | |
|---|---|
java.util.Collection |
getAllPendingInQueue()
Retrieves a queue of unapproved content for everything in the CMS. |
java.lang.String |
getBody()
|
java.lang.String |
getFrom()
|
IdentityServiceController |
getIdentityServiceController()
|
java.lang.String |
getJNDIName()
|
java.lang.String |
getManagerRoles()
|
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 |
java.lang.String |
getProcess()
|
java.lang.String |
getSubject()
|
WorkflowService |
getWorkflowService()
|
boolean |
isOverwrite()
|
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 |
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 |
void |
setBody(java.lang.String body)
|
void |
setFrom(java.lang.String from)
|
void |
setIdentityServiceController(IdentityServiceController identityServiceController)
|
void |
setJNDIName(java.lang.String jndiName)
|
void |
setManagerRoles(java.lang.String managerRoles)
|
void |
setOverwrite(boolean overwrite)
|
void |
setProcess(java.lang.String process)
|
void |
setSubject(java.lang.String subject)
|
void |
setWorkflowService(WorkflowService workflowService)
|
void |
startService()
|
void |
stopService()
|
| Methods inherited from class org.jboss.portal.jems.as.system.AbstractJBossService |
|---|
create, destroy, getState, getStateString, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApprovePublishImpl()
| Method Detail |
|---|
public void startService()
throws java.lang.Exception
java.lang.Exception
public void stopService()
throws java.lang.Exception
java.lang.Exceptionpublic WorkflowService getWorkflowService()
public void setWorkflowService(WorkflowService workflowService)
workflowService - public java.lang.String getProcess()
public void setProcess(java.lang.String process)
process - public java.lang.String getManagerRoles()
public void setManagerRoles(java.lang.String managerRoles)
managerRoles - the manager managerRoles to setpublic boolean isOverwrite()
public void setOverwrite(boolean overwrite)
overwrite - the overwrite to setpublic java.lang.String getJNDIName()
public void setJNDIName(java.lang.String jndiName)
jndiName - public IdentityServiceController getIdentityServiceController()
public void setIdentityServiceController(IdentityServiceController identityServiceController)
identityServiceController - public java.lang.String getBody()
public void setBody(java.lang.String body)
body - the body to setpublic java.lang.String getFrom()
public void setFrom(java.lang.String from)
from - the from to setpublic java.lang.String getSubject()
public void setSubject(java.lang.String subject)
subject - the subject to set
public long requestApproval(Content content)
throws WorkflowException
requestApproval in interface ApprovePublishcontent -
WorkflowException
public void processManagerResponse(long processId,
java.lang.String manager,
boolean approved)
throws WorkflowException
processManagerResponse in interface ApprovePublishprocessId - manager - userId of the managerapproved - true if approved, false if rejected
WorkflowException
public java.util.Collection getPendingQueue(java.lang.String filePath)
throws WorkflowException
getPendingQueue in interface ApprovePublishfilePath -
WorkflowException
public java.util.Collection getAllPendingInQueue()
throws WorkflowException
getAllPendingInQueue in interface ApprovePublishWorkflowExceptionpublic java.util.Set getManagers()
ApprovePublish
getManagers in interface ApprovePublish
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||