|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.platform.workflow.document.api.security.policy.AbstractWorkflowDocumentSecurityPolicy
org.nuxeo.ecm.platform.publishing.workflow.security.policy.PublishingSecurityPolicy
public class PublishingSecurityPolicy
Publishing workflow security policy.
| Field Summary |
|---|
| Fields inherited from class org.nuxeo.ecm.platform.workflow.document.api.security.policy.AbstractWorkflowDocumentSecurityPolicy |
|---|
name |
| Constructor Summary | |
|---|---|
PublishingSecurityPolicy()
|
|
| Method Summary | |
|---|---|
boolean |
canEndWorkItem(Principal participant,
WMWorkItemInstance wi)
Checks if a given participant can end a given work item. |
boolean |
canManageWorkflow(String pid,
Principal principal)
Can the user manage workflow ? |
boolean |
canMoveDown(Principal participant,
WMWorkItemInstance wi)
Checks if a given participant can move down a given work item. |
boolean |
canMoveUp(Principal participant,
WMWorkItemInstance wi)
Checks if a given participant can move up a given work item. |
boolean |
canRejectWorkItem(Principal participant,
WMWorkItemInstance wi)
Checks if a given participant can reject a given work item. |
boolean |
canRemoveWorkItem(Principal participant,
WMWorkItemInstance wi)
Checks if a given participant can remove a given work item. |
List<UserEntry> |
getDefaultRules(String pid,
Map<String,Serializable> infos)
Computes default rules |
List<UserEntry> |
getRules(String pid,
Map<String,Serializable> infos)
Computes rules based on default and participant list. |
boolean |
hasParticipantImmediateAction(String pid,
Principal principal)
Dashboard uses this to display the task. |
| Methods inherited from class org.nuxeo.ecm.platform.workflow.document.api.security.policy.AbstractWorkflowDocumentSecurityPolicy |
|---|
getCreatorName, getCurrentReviewLevel, getFilteredTasksFor, getModificationPolicy, getName, getTasksFor, getWAPI, getWorkflowVariable, getWorkflowVariables, isCreator, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PublishingSecurityPolicy()
| Method Detail |
|---|
public boolean canEndWorkItem(Principal participant,
WMWorkItemInstance wi)
throws WMWorkflowException
WorkflowDocumentSecurityPolicy
participant - the current workflow participant.wi - the work item instance.
WMWorkflowException - TODO
public boolean canManageWorkflow(String pid,
Principal principal)
throws WMWorkflowException
WorkflowDocumentSecurityPolicy
pid - the process identifierprincipal - the principal.
WMWorkflowException
public boolean canMoveDown(Principal participant,
WMWorkItemInstance wi)
throws WMWorkflowException
WorkflowDocumentSecurityPolicyHere, it will change the order attribute of the work item if possible.
This is specific to ordered reviews.
wi - the work item instance.
WMWorkflowException - TODO
public boolean canMoveUp(Principal participant,
WMWorkItemInstance wi)
throws WMWorkflowException
WorkflowDocumentSecurityPolicyHere, it will change the order attribute of the work item if possible.
This is specific to ordered reviews.
wi - the work item instance.
WMWorkflowException - TODO
public boolean canRejectWorkItem(Principal participant,
WMWorkItemInstance wi)
throws WMWorkflowException
WorkflowDocumentSecurityPolicy
wi - the work item instance.
WMWorkflowException - TODO
public boolean canRemoveWorkItem(Principal participant,
WMWorkItemInstance wi)
throws WMWorkflowException
WorkflowDocumentSecurityPolicy
participant - the current workflow participant.wi - the work item instance
WMWorkflowException - TODO
public List<UserEntry> getRules(String pid,
Map<String,Serializable> infos)
throws WMWorkflowException
WorkflowDocumentSecurityPolicy
pid - the process id.infos - a process info map.
WMWorkflowException
public List<UserEntry> getDefaultRules(String pid,
Map<String,Serializable> infos)
throws WMWorkflowException
WorkflowDocumentSecurityPolicyAimed at being used when the process starts up.
getDefaultRules in interface WorkflowDocumentSecurityPolicygetDefaultRules in class AbstractWorkflowDocumentSecurityPolicypid - the process id.infos - a process info map.
WMWorkflowException
public boolean hasParticipantImmediateAction(String pid,
Principal principal)
throws WMWorkflowException
pid - the process idprincipal - the principal
WMWorkflowException
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||