public class AddOrgUnitAction extends InitializeContentWorkflowAction
| Modifier and Type | Field and Description | 
|---|---|
| private CurrentUserProvider | _currentUserProvider | 
| protected ObservationManager | _observationManagerObservation manager available to subclasses. | 
| protected AmetysObjectResolver | _resolverAmetys object resolver available to subclasses. | 
| private RootOrgUnitProvider | _rootOUProvider | 
| static String | CONTENT_PARENT_IDConstant for parent identifier | 
_workflowProvidermanagerEMPTY_MAP| Constructor and Description | 
|---|
| AddOrgUnitAction() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Map | _act(Redirector redirector,
    Map objectModel,
    String source,
    Parameters parameters,
    int actionId,
    Map inputs)Initialize or act on a workflow instance. | 
| protected void | applyChangesToParent(OrgUnit ou)Apply changes to parent  OrgUnit | 
| void | service(ServiceManager smanager) | 
_getInputs, _getParameters, _getWorkflowName, _processWorkflowException_getActionResult, _getExceptionContext_getActionId, _getFailConditions, _getWorkflowErrors, _getWorkflowWarns, _processInvalidActionException, act, initializeenableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic static final String CONTENT_PARENT_ID
protected AmetysObjectResolver _resolver
protected ObservationManager _observationManager
private RootOrgUnitProvider _rootOUProvider
private CurrentUserProvider _currentUserProvider
public AddOrgUnitAction()
public void service(ServiceManager smanager) throws ServiceException
service in interface Serviceableservice in class ServiceableActionServiceExceptionprotected Map _act(Redirector redirector, Map objectModel, String source, Parameters parameters, int actionId, Map inputs) throws com.opensymphony.workflow.InvalidInputException, com.opensymphony.workflow.WorkflowException
AbstractWorkflowAction_act in class InitializeContentWorkflowActionredirector - the redirector.objectModel - the current object model.source - the current source.parameters - the current parameters.actionId - the action id to use.inputs - the inputs to usecom.opensymphony.workflow.InvalidInputException - if the action id is not valid.com.opensymphony.workflow.WorkflowException - if the action failed.protected void applyChangesToParent(OrgUnit ou) throws com.opensymphony.workflow.WorkflowException
OrgUnitou - The parent orgunitcom.opensymphony.workflow.WorkflowException - if failed to apply changes to parent