|
||||||||||
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.SolutionNextStepAction
public class SolutionNextStepAction
This action combines all of the actions that need to be performed when advancing the solution in a solution publishing workflow. This action can be used to advance to a non-final state, advance to a final state (complete the workflow) or to go back to a previous state. This includes the following:
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
CONTEXTITEMS_PROPERTY_STRING
property name: processInstance.contextItemReferences |
static java.lang.String |
PARAM_ASSETNAME_STRING
parameter: assetName |
static java.lang.String |
PARAM_EXTERNALLYVISIBLE_STRING
parameter: externallyVisible |
static java.lang.String |
PARAM_FINALSTEP_STRING
parameter: finalStep |
static java.lang.String |
PARAM_SHOULDCHECKIN_STRING
parameter: shouldCheckin |
static java.lang.String |
PARAM_SOLUTIONSTATUS_STRING
parameter: solutionStatus |
static java.lang.String |
PROCESSNAME_PROPERTY_STRING
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 | |
---|---|
SolutionNextStepAction()
|
Method Summary | |
---|---|
protected void |
changeSolutionStatus(atg.process.ProcessExecutionContext pContext)
Calls #markSolutionExternalVisibility(String, int, boolean) for each solution in the current process context |
protected void |
completeAndCreateProjectForProcess(atg.process.ProcessExecutionContext pContext)
|
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. |
protected atg.nucleus.logging.ApplicationLogging |
getLogger()
|
atg.repository.RepositoryItem |
getNamedAsset(atg.process.ProcessExecutionContext pContext)
|
atg.svc.publishing.service.PublishingService |
getPublishingService()
|
SolutionNextStepActionConfiguration |
getSolutionActionConfiguration()
Gets the configuration for this action |
java.lang.String |
getSolutionRepositoryItemType()
|
java.lang.String |
getSolutionRepositoryName()
|
SolutionStatus |
getSolutionStatus(atg.process.ProcessExecutionContext pContext)
|
int |
getVersionForRepItem(atg.repository.RepositoryItem pRepItem)
get the versioned URI for the repository item |
void |
initialize(java.util.Map pParameters)
Initializes the action with the given parameters. |
protected boolean |
isExternallyVisible(atg.process.ProcessExecutionContext pContext)
|
protected boolean |
isFinalStep(atg.process.ProcessExecutionContext pContext)
|
protected void |
markSolutionExternalVisibility(atg.process.ProcessExecutionContext pContext)
Calls #markSolutionExternalVisibility(String, int, boolean) for each solution in the current process context |
void |
setServiceActionConfiguration(SolutionNextStepActionConfiguration pConfiguration)
Sets the configuration for this action |
void |
setSolutionRepositoryItemType(java.lang.String pSolutionRepositoryItemType)
|
void |
setSolutionRepositoryName(java.lang.String pSolutionRepositoryName)
|
protected boolean |
shouldCheckin(atg.process.ProcessExecutionContext pContext)
|
Methods inherited from class atg.svc.workflow.process.action.ServiceWorkflowAction |
---|
approveProject, approveProject, approveProjectForAllTargets, checkInProject, deployProject, deployProject, deployProjectToAllTargets, getNonNullProcessData, getServiceActionConfiguration, 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_SOLUTIONSTATUS_STRING
public static final java.lang.String PARAM_ASSETNAME_STRING
public static final java.lang.String PARAM_EXTERNALLYVISIBLE_STRING
public static final java.lang.String PARAM_SHOULDCHECKIN_STRING
public static final java.lang.String PARAM_FINALSTEP_STRING
public static final java.lang.String PROCESSNAME_PROPERTY_STRING
public static final java.lang.String CONTEXTITEMS_PROPERTY_STRING
Constructor Detail |
---|
public SolutionNextStepAction()
Method Detail |
---|
public java.lang.String getSolutionRepositoryName()
public void setSolutionRepositoryName(java.lang.String pSolutionRepositoryName)
public java.lang.String getSolutionRepositoryItemType()
public void setSolutionRepositoryItemType(java.lang.String pSolutionRepositoryItemType)
public atg.svc.publishing.service.PublishingService getPublishingService() throws javax.naming.NamingException
javax.naming.NamingException
protected atg.nucleus.logging.ApplicationLogging getLogger()
public SolutionNextStepActionConfiguration getSolutionActionConfiguration()
public void setServiceActionConfiguration(SolutionNextStepActionConfiguration pConfiguration)
pConfiguration
- the configuration for this actionpublic atg.repository.RepositoryItem getNamedAsset(atg.process.ProcessExecutionContext pContext) throws atg.process.ProcessException
atg.process.ProcessException
protected boolean isExternallyVisible(atg.process.ProcessExecutionContext pContext) throws atg.process.ProcessException
atg.process.ProcessException
protected boolean shouldCheckin(atg.process.ProcessExecutionContext pContext) throws atg.process.ProcessException
atg.process.ProcessException
protected boolean isFinalStep(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
public int getVersionForRepItem(atg.repository.RepositoryItem pRepItem) throws atg.repository.RepositoryException
getVersionForRepItem
in class ServiceWorkflowAction
the
- repository item who's URI we want to get
atg.repository.RepositoryException
protected void markSolutionExternalVisibility(atg.process.ProcessExecutionContext pContext) throws atg.process.ProcessException
#markSolutionExternalVisibility(String, int, boolean)
for each solution in the current process context
atg.process.ProcessException
protected void changeSolutionStatus(atg.process.ProcessExecutionContext pContext) throws atg.process.ProcessException
#markSolutionExternalVisibility(String, int, boolean)
for each solution in the current process context
atg.process.ProcessException
public SolutionStatus getSolutionStatus(atg.process.ProcessExecutionContext pContext) throws atg.process.ProcessException
atg.process.ProcessException
protected void completeAndCreateProjectForProcess(atg.process.ProcessExecutionContext pContext) throws atg.process.ProcessException
atg.process.ProcessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |