org.kuali.rice.kew.actions
Class SuperUserActionInvalidPostProcessor

java.lang.Object
  extended by org.kuali.rice.kew.actions.SuperUserActionInvalidPostProcessor
All Implemented Interfaces:
PostProcessor

public class SuperUserActionInvalidPostProcessor
extends Object
implements PostProcessor

This is a post processor class used for a Super User Test

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private static String USER_AUTH_ID
           
 
Constructor Summary
SuperUserActionInvalidPostProcessor()
           
 
Method Summary
 ProcessDocReport afterProcess(AfterProcessEvent afterProcessEvent)
          THIS METHOD WILL THROW AN EXCEPTION IF OLD ROUTE NODE IS 'WorkflowTemplate'
 ProcessDocReport beforeProcess(BeforeProcessEvent beforeProcessEvent)
          THIS METHOD WILL THROW AN EXCEPTION IF OLD ROUTE NODE IS 'WorkflowTemplate'
 ProcessDocReport doActionTaken(ActionTakenEvent event)
          THIS METHOD WILL THROW AN EXCEPTION IF OLD ROUTE NODE IS 'WorkflowTemplate'
 ProcessDocReport doDeleteRouteHeader(DeleteEvent event)
          THIS METHOD WILL THROW AN EXCEPTION IF OLD ROUTE NODE IS 'WorkflowTemplate'
 ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent)
          THIS METHOD WILL THROW AN EXCEPTION IF OLD ROUTE NODE IS 'WorkflowTemplate'
 ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent)
          THIS METHOD WILL THROW AN EXCEPTION IF OLD ROUTE NODE IS 'WorkflowTemplate'
 List<String> getDocumentIdsToLock(DocumentLockingEvent lockingEvent)
           
private  String getPrincipalId(String principalName)
           
private  boolean isDocumentPostProcessable(WorkflowDocument doc)
           
private  boolean isDocumentPostProcessable(WorkflowDocument doc, List<String> validNodeNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_AUTH_ID

private static final String USER_AUTH_ID
See Also:
Constant Field Values
Constructor Detail

SuperUserActionInvalidPostProcessor

public SuperUserActionInvalidPostProcessor()
Method Detail

doActionTaken

public ProcessDocReport doActionTaken(ActionTakenEvent event)
                               throws Exception
THIS METHOD WILL THROW AN EXCEPTION IF OLD ROUTE NODE IS 'WorkflowTemplate'

Specified by:
doActionTaken in interface PostProcessor
Throws:
Exception

doDeleteRouteHeader

public ProcessDocReport doDeleteRouteHeader(DeleteEvent event)
                                     throws Exception
THIS METHOD WILL THROW AN EXCEPTION IF OLD ROUTE NODE IS 'WorkflowTemplate'

Specified by:
doDeleteRouteHeader in interface PostProcessor
Throws:
Exception

doRouteLevelChange

public ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent)
                                    throws Exception
THIS METHOD WILL THROW AN EXCEPTION IF OLD ROUTE NODE IS 'WorkflowTemplate'

Specified by:
doRouteLevelChange in interface PostProcessor
Throws:
Exception

doRouteStatusChange

public ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent)
                                     throws Exception
THIS METHOD WILL THROW AN EXCEPTION IF OLD ROUTE NODE IS 'WorkflowTemplate'

Specified by:
doRouteStatusChange in interface PostProcessor
Throws:
Exception

beforeProcess

public ProcessDocReport beforeProcess(BeforeProcessEvent beforeProcessEvent)
                               throws Exception
THIS METHOD WILL THROW AN EXCEPTION IF OLD ROUTE NODE IS 'WorkflowTemplate'

Specified by:
beforeProcess in interface PostProcessor
Throws:
Exception

afterProcess

public ProcessDocReport afterProcess(AfterProcessEvent afterProcessEvent)
                              throws Exception
THIS METHOD WILL THROW AN EXCEPTION IF OLD ROUTE NODE IS 'WorkflowTemplate'

Specified by:
afterProcess in interface PostProcessor
Throws:
Exception

getDocumentIdsToLock

public List<String> getDocumentIdsToLock(DocumentLockingEvent lockingEvent)
                                  throws Exception
Specified by:
getDocumentIdsToLock in interface PostProcessor
Throws:
Exception
See Also:
PostProcessor.getDocumentIdsToLock(org.kuali.rice.kew.postprocessor.DocumentLockingEvent)

isDocumentPostProcessable

private boolean isDocumentPostProcessable(WorkflowDocument doc)
                                   throws WorkflowException
Throws:
WorkflowException

isDocumentPostProcessable

private boolean isDocumentPostProcessable(WorkflowDocument doc,
                                          List<String> validNodeNames)
                                   throws WorkflowException
Throws:
WorkflowException

getPrincipalId

private String getPrincipalId(String principalName)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.