|
||||||||||
| 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
public abstract class ServiceWorkflowAction
| 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 | |
|---|---|
ServiceWorkflowAction()
|
|
| Method Summary | |
|---|---|
protected void |
approveProject(atg.epub.project.Project pProject,
atg.process.ProcessExecutionContext pContext)
Approve the given project |
protected void |
approveProject(atg.epub.project.Project pProject,
java.lang.String pTargetId,
atg.process.ProcessExecutionContext pContext)
Approve the given project for the specified target |
protected void |
approveProjectForAllTargets(atg.epub.project.Project pProject,
atg.process.ProcessExecutionContext pContext)
Approve the given project for all targets |
protected void |
checkInProject(atg.epub.project.Project pProject,
atg.process.ProcessExecutionContext pContext)
Checks in the given project |
void |
configure(java.lang.Object pConfiguration)
Configures the action using the given configuration object. |
protected void |
deployProject(atg.epub.project.Project pProject,
atg.process.ProcessExecutionContext pContext)
Deploys the given project |
protected void |
deployProject(atg.epub.project.Project pProject,
java.lang.String pTargetId,
atg.process.ProcessExecutionContext pContext)
Deploys the given project |
protected void |
deployProjectToAllTargets(atg.epub.project.Project pProject,
atg.process.ProcessExecutionContext pContext,
boolean pIgnoreNoTargets)
Deploys the given project |
atg.repository.RepositoryItem |
getNonNullProcessData(atg.epub.project.Process pProcess)
Gets the process data item tied to pProcess |
ServiceWorkflowActionConfiguration |
getServiceActionConfiguration()
Gets the configuration for this action |
int |
getVersionForRepItem(atg.repository.RepositoryItem pRepItem)
get the versioned URI for the repository item |
void |
setServiceActionConfiguration(ServiceWorkflowActionConfiguration pConfiguration)
Sets the configuration for this action |
| 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, executeAction, getActionName, 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 |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public ServiceWorkflowAction()
| Method Detail |
|---|
public ServiceWorkflowActionConfiguration getServiceActionConfiguration()
public void setServiceActionConfiguration(ServiceWorkflowActionConfiguration pConfiguration)
pConfiguration - the configuration for this action
public void configure(java.lang.Object pConfiguration)
throws atg.process.ProcessException
configure in interface atg.process.action.Actionconfigure in class atg.epub.workflow.process.action.PublishingActionatg.process.ProcessException - if the action could not be configured
- for example, because some of the required properties are
missing from the configuration
public atg.repository.RepositoryItem getNonNullProcessData(atg.epub.project.Process pProcess)
throws atg.process.ProcessException
pProcess
pProcess - the process to get the process data item from
atg.process.ProcessException - if there is no process data item, or
an exception occurs
protected void checkInProject(atg.epub.project.Project pProject,
atg.process.ProcessExecutionContext pContext)
throws atg.process.ProcessException
pProject - the project to checkinpContext - the execution context used to find the
current user
atg.process.ProcessException - if an error occurs checking in
the project
protected void approveProject(atg.epub.project.Project pProject,
atg.process.ProcessExecutionContext pContext)
throws atg.process.ProcessException
pProject - the project to deploypContext - the execution context
atg.process.ProcessException - if an error occurs approving the project
protected void approveProject(atg.epub.project.Project pProject,
java.lang.String pTargetId,
atg.process.ProcessExecutionContext pContext)
throws atg.process.ProcessException
pProject - the project to deploypTargetId - the specific id of the target to the project should be deployedpContext - the execution context
atg.process.ProcessException - if an error occurs approving the project
protected void approveProjectForAllTargets(atg.epub.project.Project pProject,
atg.process.ProcessExecutionContext pContext)
throws atg.process.ProcessException
pProject - the project to deploypContext - the execution context
atg.process.ProcessException - if an error occurs approving the project
protected void deployProject(atg.epub.project.Project pProject,
atg.process.ProcessExecutionContext pContext)
throws atg.process.ProcessException
pProject - the project to deploypContext - the execution context
atg.process.ProcessException - if an error occurs deploying the
project
protected void deployProject(atg.epub.project.Project pProject,
java.lang.String pTargetId,
atg.process.ProcessExecutionContext pContext)
throws atg.process.ProcessException
pProject - the project to deploypTargetId - the specific id of the target to the project should be deployedpContext - the execution context
atg.process.ProcessException - if an error occurs deploying the
project
protected void deployProjectToAllTargets(atg.epub.project.Project pProject,
atg.process.ProcessExecutionContext pContext,
boolean pIgnoreNoTargets)
throws atg.process.ProcessException
pProject - the project to deploypContext - the execution contextpIgnoreNoTargets - Dont deploy if targets have not been defined
atg.process.ProcessException - if an error occurs deploying the
project
public int getVersionForRepItem(atg.repository.RepositoryItem pRepItem)
throws atg.repository.RepositoryException
the - repository item who's URI we want to get
atg.repository.RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||