|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.process.action.ActionImpl
atg.epub.workflow.process.action.PublishingAction
atg.svc.workflow.process.action.ServiceWorkflowAction
atg.svc.workflow.process.action.MarkSolutionStatusAsDeployed
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
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 |
---|
public static java.lang.String CLASS_VERSION
public static final java.lang.String PARAM_ASSETNAME_STRING
public static final java.lang.String PROCESSNAME_PROPERTY_STRING
public static final java.lang.String CONTEXTITEMS_PROPERTY_STRING
Constructor Detail |
---|
public MarkSolutionStatusAsDeployed()
Method Detail |
---|
public java.lang.String getSolutionRepositoryName()
public void setSolutionRepositoryName(java.lang.String pSolutionRepositoryName)
pSolutionRepositoryName
- The solutionRepositoryName to set.public java.lang.String getSolutionRepositoryItemType()
public void setSolutionRepositoryItemType(java.lang.String pSolutionRepositoryItemType)
pSolutionRepositoryItemType
- The solutionRepositoryItemType to set.public atg.repository.RepositoryItem getAsset(atg.process.ProcessExecutionContext pContext) throws atg.process.ProcessException
atg.process.ProcessException
public void configure(java.lang.Object pConfiguration) throws atg.process.ProcessException, java.lang.UnsupportedOperationException
This operation is optional. If the action does not need to be configured, it can simply throw an UnsupportedOperationException.
configure
in interface atg.process.action.Action
configure
in class ServiceWorkflowAction
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
configurablepublic void initialize(java.util.Map pParameters) throws atg.process.ProcessException
initialize
in interface atg.process.action.Action
initialize
in class atg.process.action.ActionImpl
atg.process.ProcessException
- if the action could not be properly
initialized - for example, if not all of the required parameters
are present in the Mapprotected void executeAction(atg.process.ProcessExecutionContext pContext) throws atg.process.ProcessException
execute
methods.
executeAction
in class atg.process.action.ActionImpl
atg.process.ProcessException
- if the action can not be executedpublic java.lang.String getActionName()
getActionName
in class atg.process.action.ActionImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |