|
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.forum.workflow.security.policy.PostModerationWorkflowSecurityPolicy
public class PostModerationWorkflowSecurityPolicy
Post moderation security policy.
| Field Summary |
|---|
| Fields inherited from class org.nuxeo.ecm.platform.workflow.document.api.security.policy.AbstractWorkflowDocumentSecurityPolicy |
|---|
name |
| Constructor Summary | |
|---|---|
PostModerationWorkflowSecurityPolicy()
|
|
| 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> |
getRules(String pid,
Map<String,Serializable> infos)
Computes rules based on default and participant list. |
boolean |
hasParticipantImmediateAction(String pid,
Principal principal)
Used by the dashboard actions bean to know if whether or not it should display the work item in its list for the current user. |
| Methods inherited from class org.nuxeo.ecm.platform.workflow.document.api.security.policy.AbstractWorkflowDocumentSecurityPolicy |
|---|
getCreatorName, getCurrentReviewLevel, getDefaultRules, 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 PostModerationWorkflowSecurityPolicy()
| 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 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 boolean hasParticipantImmediateAction(String pid,
Principal principal)
throws WMWorkflowException
pid - the process idprincipal - 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
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||