atg.epub.servlet
Class PublishingPortletFormHandler

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.epub.servlet.PortletFormHandler
              extended by atg.epub.servlet.PublishingPortletFormHandler
All Implemented Interfaces:
atg.droplet.ObjectFormHandler, NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, java.util.EventListener
Direct Known Subclasses:
AddNoteFormHandler, FireWorkflowOutcomeFormHandler, ProjectFormHandler, TaskActionFormHandler

public abstract class PublishingPortletFormHandler
extends PortletFormHandler

Base form handler class for creating Publishing form handlers within the Portals framework. This implementation adds convenience methods that are specific to Publishing.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
protected  Process mProcess
           
protected  Project mProject
           
protected static PublishingConfiguration sConfiguration
           
protected static ProcessHome sProcessHome
           
protected static ProcessTaskInfoHome sProcessTaskInfoHome
           
protected static ProjectHome sProjectHome
           
 
Fields inherited from class atg.epub.servlet.PortletFormHandler
mFormExceptions, PARAM_USE_FORWARDS, sTransactionManager
 
Fields inherited from class atg.nucleus.GenericService
SERVICE_INFO_KEY
 
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging
DEFAULT_LOG_TRACE_STATUS
 
Fields inherited from interface atg.nucleus.logging.ApplicationLogging
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
 
Constructor Summary
protected PublishingPortletFormHandler()
           
 
Method Summary
 PublishingConfiguration getConfiguration()
           
protected  DynamoHttpServletRequest getCurrentDynamoRequest(javax.portlet.PortletRequest pRequest)
           
protected  DynamoHttpServletResponse getCurrentDynamoResponse(DynamoHttpServletRequest pRequest)
           
 Process getProcess()
          Returns the project whose id is specified in the projectId property
 ProcessHome getProcessHome()
          Returns the persistent ProcessHome object
 java.lang.String getProcessId()
           
 ProcessTaskInfoHome getProcessTaskInfoHome()
          Returns the persistent ProcessTaskInfoHome object
 Project getProject()
          Returns the project whose id is specified in the projectId property
 ProjectHome getProjectHome()
          Returns the persistent ProjectHome object
 java.lang.String getProjectId()
           
protected  java.lang.String getResource(java.lang.String pName)
          Returns the specified resource string
protected  java.lang.String getResource(java.lang.String pName, java.lang.Object[] pArgs)
          Returns the specified resource string with the substituted args
 WorkflowView getWorkflowView()
           
 void setProcessId(java.lang.String pProcessId)
           
 void setProjectId(java.lang.String pProjectId)
           
 void setWorkflowView(WorkflowView pWorkflowView)
           
 
Methods inherited from class atg.epub.servlet.PortletFormHandler
addFormException, afterGet, afterGet, afterGet, afterSet, afterSet, afterSet, beforeGet, beforeGet, beforeGet, beforeSet, beforeSet, beforeSet, checkFormRedirect, getCheckForValidSession, getFormExceptions, getPropertyExceptions, getTransactionDemarcation, handleFormException, handleUncheckedFormException, hasFormExceptions, isEnsureTransaction, isRestorableForm, isRollbackTransaction, isUseForwards, isValidSession, redirectOrForward, resetFormExceptions, setCheckForValidSession, setEnsureTransaction, setRestorableForm, setRollbackTransaction, setTransactionDemarcation, setUseForwards
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
 
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


sProcessHome

protected static ProcessHome sProcessHome

sProjectHome

protected static ProjectHome sProjectHome

sProcessTaskInfoHome

protected static ProcessTaskInfoHome sProcessTaskInfoHome

sConfiguration

protected static final PublishingConfiguration sConfiguration

mProcess

protected Process mProcess

mProject

protected Project mProject
Constructor Detail

PublishingPortletFormHandler

protected PublishingPortletFormHandler()
Method Detail

getConfiguration

public PublishingConfiguration getConfiguration()

getWorkflowView

public WorkflowView getWorkflowView()

setWorkflowView

public void setWorkflowView(WorkflowView pWorkflowView)

setProcessId

public void setProcessId(java.lang.String pProcessId)

getProcessId

public java.lang.String getProcessId()

setProjectId

public void setProjectId(java.lang.String pProjectId)

getProjectId

public java.lang.String getProjectId()

getProcess

public Process getProcess()
                   throws javax.ejb.FinderException
Returns the project whose id is specified in the projectId property

Throws:
javax.ejb.FinderException

getProject

public Project getProject()
                   throws javax.ejb.FinderException
Returns the project whose id is specified in the projectId property

Throws:
javax.ejb.FinderException

getProcessHome

public ProcessHome getProcessHome()
Returns the persistent ProcessHome object


getProjectHome

public ProjectHome getProjectHome()
Returns the persistent ProjectHome object


getProcessTaskInfoHome

public ProcessTaskInfoHome getProcessTaskInfoHome()
Returns the persistent ProcessTaskInfoHome object


getCurrentDynamoRequest

protected DynamoHttpServletRequest getCurrentDynamoRequest(javax.portlet.PortletRequest pRequest)
Overrides:
getCurrentDynamoRequest in class PortletFormHandler

getCurrentDynamoResponse

protected DynamoHttpServletResponse getCurrentDynamoResponse(DynamoHttpServletRequest pRequest)
Overrides:
getCurrentDynamoResponse in class PortletFormHandler

getResource

protected java.lang.String getResource(java.lang.String pName)
Returns the specified resource string


getResource

protected java.lang.String getResource(java.lang.String pName,
                                       java.lang.Object[] pArgs)
Returns the specified resource string with the substituted args