atg.svc.workflow.process.action
Class CompleteAndCreateProjectForProcess

java.lang.Object
  extended by atg.process.action.ActionImpl
      extended by atg.epub.workflow.process.action.PublishingAction
          extended by atg.svc.workflow.process.action.CompleteAndCreateProjectForProcess
All Implemented Interfaces:
atg.process.action.Action, atg.process.action.ActionConstants

public class CompleteAndCreateProjectForProcess
extends atg.epub.workflow.process.action.PublishingAction


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
protected static java.lang.String sProjectNameParameterName
           
protected static java.lang.String sWorkflowParameterName
           
 
Fields inherited from class atg.epub.workflow.process.action.PublishingAction
sTargetParameterName
 
Fields inherited from interface atg.process.action.ActionConstants
ERROR_RESPONSE_CONTINUE, ERROR_RESPONSE_DEFAULT, ERROR_RESPONSE_DELETE, ERROR_RESPONSE_INSTANCE_DELETED, ERROR_RESPONSE_RETRY, EXECUTION_POLICY_COLLECTIVE, EXECUTION_POLICY_INDIVIDUAL
 
Constructor Summary
CompleteAndCreateProjectForProcess()
           
 
Method Summary
 void configure(java.lang.Object pConfiguration)
          Configures the action using the given configuration object.
protected  void executeAction(atg.process.ProcessExecutionContext pContext)
          Executes this action in the given single process execution context.
 java.lang.String getActionName()
          Returns the name of the action.
 void initialize(java.util.Map pParameters)
          Initializes the action parameters
 
Methods inherited from class atg.epub.workflow.process.action.PublishingAction
getActionConfiguration, getProcess, getProcessHome, getProject, getProjectHome, getResource, getResource, getTarget, getUser, setActionConfiguration
 
Methods inherited from class atg.process.action.ActionImpl
execute, execute, getParameterExpression, getParameterValue, storeOptionalParameter, storeRequiredMutableParameter, storeRequiredParameter, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


sWorkflowParameterName

protected static final java.lang.String sWorkflowParameterName
See Also:
Constant Field Values

sProjectNameParameterName

protected static final java.lang.String sProjectNameParameterName
See Also:
Constant Field Values
Constructor Detail

CompleteAndCreateProjectForProcess

public CompleteAndCreateProjectForProcess()
Method Detail

configure

public void configure(java.lang.Object pConfiguration)
               throws atg.process.ProcessException,
                      java.lang.UnsupportedOperationException
Configures the action using the given configuration object. The configuration object is typically a global Nucleus component which is configured with the information necessary for the action's operation.

This operation is optional. If the action does not need to be configured, it can simply throw an UnsupportedOperationException.

Specified by:
configure in interface atg.process.action.Action
Overrides:
configure in class atg.epub.workflow.process.action.PublishingAction
Throws:
atg.process.ProcessException - if the action could not be configured - for example, because some of the required properties are missing from the configuration
java.lang.UnsupportedOperationException - if this action is not configurable

initialize

public void initialize(java.util.Map pParameters)
                throws atg.process.ProcessException
Initializes the action parameters

Specified by:
initialize in interface atg.process.action.Action
Overrides:
initialize in class atg.process.action.ActionImpl
Throws:
atg.process.ProcessException

executeAction

protected void executeAction(atg.process.ProcessExecutionContext pContext)
                      throws atg.process.ProcessException
Executes this action in the given single process execution context. Called by both of the execute methods.

Specified by:
executeAction in class atg.process.action.ActionImpl
Throws:
atg.process.ProcessException - if the action can not be executed

getActionName

public java.lang.String getActionName()
Returns the name of the action.

Overrides:
getActionName in class atg.process.action.ActionImpl