public class PublishingWorkflowAutomator extends GenericService implements atg.epub.PublishingWorkflowSession
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
PublishingWorkflowAutomator() |
Modifier and Type | Method and Description |
---|---|
void |
abandonWorkflowSession(atg.epub.PublishingSession pSession)
abandonWorkflowSession
This method is called in order to abandon the publishing workflow session (i.e.
|
void |
bindThreadToWorkflowSession(atg.epub.PublishingSession pSession)
bindThreadToWorkflowSession
This method is called when some repository work is carried out in a thread, which
is separate from the main thread (i.e.
|
void |
doStartService()
doStartService
This is called after a Service has been created, placed into the naming
hierarchy, and initialized with its configured property values.
|
void |
doStopService()
doStopService
This is called when a Service is required to shut down.
|
void |
endWorkflowSession(atg.epub.PublishingSession pSession)
endWorkflowSession
This method is called after the completion of the repository work, in order to
complete the CA project.
|
java.lang.String |
getActivityId()
Gets the optional activity id to set on the project.
|
java.lang.String |
getPersonaPrefix()
Get the PersonaPrefix which is supplied for login.
|
protected java.lang.String |
getProjectName(java.lang.String pSessionId)
Method to build a project name to use.
|
java.lang.String |
getProjectNameStub()
Get the projectNameStub.
|
java.lang.String |
getTaskOutcomeId()
Get the taskOutcomeId.
|
javax.transaction.TransactionManager |
getTransactionManager()
Set the transaction manager.
|
UserDirectoryUserAuthority |
getUserAuthority()
Set the UserAuthority
|
java.lang.String |
getUserName()
Get the UserName which is supplied upon
check-in and for logging in.
|
VersionManager |
getVersionManager()
Get the versionManager.
|
WorkflowManager |
getWorkflowManager()
Set the workflowManager.
|
java.lang.String |
getWorkflowName()
Get the workflowName property
|
void |
setActivityId(java.lang.String pActivityId)
Sets the optional activity id to set on the project.
|
void |
setPersonaPrefix(java.lang.String pPersonaPrefix)
Set the PersonaPrefix
|
void |
setProjectNameStub(java.lang.String pProjectNameStub)
Set the projectNameStub.
|
void |
setTaskOutcomeId(java.lang.String pTaskOutcomeId)
Set the taskOutcomeId.
|
void |
setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
Get the transaction manager.
|
void |
setUserAuthority(UserDirectoryUserAuthority pUserAuthority)
Get the UserAuthority
|
void |
setUserName(java.lang.String pUserName)
Set the UserName
|
void |
setVersionManager(VersionManager pVersionManager)
Set the versionManager.
|
void |
setWorkflowManager(WorkflowManager pWorkflowManager)
Get the workflowManager.
|
void |
setWorkflowName(java.lang.String string)
Set the workflowName property
|
atg.epub.PublishingSession |
startWorkflowSession(java.lang.String pSessionId)
startWorkflowSession
This method is called to set up a publishing workflow session and to set up a
CA project context for the current thread.
|
addLogListener, createAdminServlet, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public javax.transaction.TransactionManager getTransactionManager()
public void setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
public VersionManager getVersionManager()
public void setVersionManager(VersionManager pVersionManager)
public WorkflowManager getWorkflowManager()
public void setWorkflowManager(WorkflowManager pWorkflowManager)
public UserDirectoryUserAuthority getUserAuthority()
public void setUserAuthority(UserDirectoryUserAuthority pUserAuthority)
public java.lang.String getPersonaPrefix()
public void setPersonaPrefix(java.lang.String pPersonaPrefix)
public java.lang.String getUserName()
public void setUserName(java.lang.String pUserName)
public java.lang.String getWorkflowName()
public void setWorkflowName(java.lang.String string)
public java.lang.String getTaskOutcomeId()
public void setTaskOutcomeId(java.lang.String pTaskOutcomeId)
public java.lang.String getProjectNameStub()
public void setProjectNameStub(java.lang.String pProjectNameStub)
public java.lang.String getActivityId()
public void setActivityId(java.lang.String pActivityId)
pActivityId
- The activity id.public atg.epub.PublishingSession startWorkflowSession(java.lang.String pSessionId) throws atg.epub.PublishingWorkflowException
startWorkflowSession
in interface atg.epub.PublishingWorkflowSession
pSessionId
- - a unique session id, which is used to create the CA project name.atg.epub.PublishingWorkflowException
protected java.lang.String getProjectName(java.lang.String pSessionId)
public void bindThreadToWorkflowSession(atg.epub.PublishingSession pSession) throws atg.epub.PublishingWorkflowException
bindThreadToWorkflowSession
in interface atg.epub.PublishingWorkflowSession
pSession
- - the publishing workflow session.atg.epub.PublishingWorkflowException
public void abandonWorkflowSession(atg.epub.PublishingSession pSession) throws atg.epub.PublishingWorkflowException
abandonWorkflowSession
in interface atg.epub.PublishingWorkflowSession
pSession
- - the publishing workflow session.atg.epub.PublishingWorkflowException
public void endWorkflowSession(atg.epub.PublishingSession pSession) throws atg.epub.PublishingWorkflowException
endWorkflowSession
in interface atg.epub.PublishingWorkflowSession
pSession
- - the publishing workflow session.atg.epub.PublishingWorkflowException
public void doStartService()
doStartService
in class GenericService
public void doStopService()
doStopService
in class GenericService