atg.svc.workflow.process.action
Class MarkSolutionStatusAsDeployed

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.MarkSolutionStatusAsDeployed
All Implemented Interfaces:
atg.process.action.Action, atg.process.action.ActionConstants

Deprecated. This action is deprecated. It has been replaced by SolutionNextStepAction. Existing 2007.1 workflows still reference this action so the action cannot be deleted. However, the action is now a no-op. For 2007.1 workflows, the solution is marked as deployed in atg.svc.publishing.service.SvcPublishingServiceImpl#changeExternallyVisibleStatus() just before the outcome is fired. Its fired there instead of here because the status must be changed before the solution asset is checked in. The MarkSolutionStatusAsDeployed in 2007.1 was called after the solution asset was checked in. However, in 2008.1, the status is a property of the Solution item. The Solution item (i.e. solution asset) cannot be edited after the check-in so the ChangeSolutionStaus is a no-op and the status is changed before the outcome is actually fired.

public class MarkSolutionStatusAsDeployed
extends ServiceWorkflowAction

This workflow action changes the status of all the solution assets in the current workflow process.


Field Summary
static java.lang.String CLASS_VERSION
          Deprecated. Class version string
static java.lang.String CONTEXTITEMS_PROPERTY_STRING
          Deprecated. property name: processInstance.contextItemReferences
static java.lang.String PARAM_ASSETNAME_STRING
          Deprecated. parameter: assetName
static java.lang.String PROCESSNAME_PROPERTY_STRING
          Deprecated. property name: project/process.processName
 
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
MarkSolutionStatusAsDeployed()
          Deprecated.  
 
Method Summary
 void configure(java.lang.Object pConfiguration)
          Deprecated. Configures the action using the given configuration object.
protected  void executeAction(atg.process.ProcessExecutionContext pContext)
          Deprecated. Executes this action in the given single process execution context.
 java.lang.String getActionName()
          Deprecated. Returns the name of the action.
 atg.repository.RepositoryItem getAsset(atg.process.ProcessExecutionContext pContext)
          Deprecated.  
 java.lang.String getSolutionRepositoryItemType()
          Deprecated.  
 java.lang.String getSolutionRepositoryName()
          Deprecated.  
 void initialize(java.util.Map pParameters)
          Deprecated. Initializes the action with the given parameters.
 void setSolutionRepositoryItemType(java.lang.String pSolutionRepositoryItemType)
          Deprecated.  
 void setSolutionRepositoryName(java.lang.String pSolutionRepositoryName)
          Deprecated.  
 
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, 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
Deprecated. 
Class version string


PARAM_ASSETNAME_STRING

public static final java.lang.String PARAM_ASSETNAME_STRING
Deprecated. 
parameter: assetName

See Also:
Constant Field Values

PROCESSNAME_PROPERTY_STRING

public static final java.lang.String PROCESSNAME_PROPERTY_STRING
Deprecated. 
property name: project/process.processName

See Also:
Constant Field Values

CONTEXTITEMS_PROPERTY_STRING

public static final java.lang.String CONTEXTITEMS_PROPERTY_STRING
Deprecated. 
property name: processInstance.contextItemReferences

See Also:
Constant Field Values
Constructor Detail

MarkSolutionStatusAsDeployed

public MarkSolutionStatusAsDeployed()
Deprecated. 
Method Detail

getSolutionRepositoryName

public java.lang.String getSolutionRepositoryName()
Deprecated. 
Returns:
Returns the solutionRepositoryName.

setSolutionRepositoryName

public void setSolutionRepositoryName(java.lang.String pSolutionRepositoryName)
Deprecated. 
Parameters:
pSolutionRepositoryName - The solutionRepositoryName to set.

getSolutionRepositoryItemType

public java.lang.String getSolutionRepositoryItemType()
Deprecated. 
Returns:
Returns the solutionRepositoryItemType.

setSolutionRepositoryItemType

public void setSolutionRepositoryItemType(java.lang.String pSolutionRepositoryItemType)
Deprecated. 
Parameters:
pSolutionRepositoryItemType - The solutionRepositoryItemType to set.

getAsset

public atg.repository.RepositoryItem getAsset(atg.process.ProcessExecutionContext pContext)
                                       throws atg.process.ProcessException
Deprecated. 
Returns:
Returns the assetName
Throws:
atg.process.ProcessException

configure

public void configure(java.lang.Object pConfiguration)
               throws atg.process.ProcessException,
                      java.lang.UnsupportedOperationException
Deprecated. 
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

initialize

public void initialize(java.util.Map pParameters)
                throws atg.process.ProcessException
Deprecated. 
Initializes the action with the given parameters. The keys in the parameter Map are the String parameter names; the values are the Expression objects representing parameter values.

Specified by:
initialize in interface atg.process.action.Action
Overrides:
initialize in class atg.process.action.ActionImpl
Throws:
atg.process.ProcessException - if the action could not be properly initialized - for example, if not all of the required parameters are present in the Map

executeAction

protected void executeAction(atg.process.ProcessExecutionContext pContext)
                      throws atg.process.ProcessException
Deprecated. 
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()
Deprecated. 
Returns the name of the action.

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