atg.svc.workflow.process.action
Class ClaimSolutionTask

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

public class ClaimSolutionTask
extends ServiceWorkflowAction

This action when executed tries to assign the current task to user executing the workflow.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
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
ClaimSolutionTask()
           
 
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.
 java.lang.String getPublishingServiceComponentName()
           
 void setPublishingServiceComponentName(java.lang.String pPublishingServiceComponentName)
           
 
Methods inherited from class atg.svc.workflow.process.action.ServiceWorkflowAction
approveProject, approveProject, approveProjectForAllTargets, checkInProject, deployProject, deployProject, deployProjectToAllTargets, getNonNullProcessData, getServiceActionConfiguration, getVersionForRepItem, setServiceActionConfiguration
 
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, initialize, 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

Constructor Detail

ClaimSolutionTask

public ClaimSolutionTask()
Method Detail

getPublishingServiceComponentName

public java.lang.String getPublishingServiceComponentName()
Returns:
Returns the publishingService.

setPublishingServiceComponentName

public void setPublishingServiceComponentName(java.lang.String pPublishingServiceComponentName)
Parameters:
pPublishingService - The publishingService to set.

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 ServiceWorkflowAction
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

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