|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.commerce.csr.approvals.GenericApprovalsHandler
public abstract class GenericApprovalsHandler
Base class for Approvals Handler
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
|
protected java.lang.String |
mApprovalAcceptedJMSType
|
protected java.lang.String |
mApprovalCreatedJMSType
|
protected java.lang.String |
mApprovalItemDescriptorName
|
protected java.lang.String |
mApprovalRejectedJMSType
|
protected CSRAgentMessagingTools |
mCSRAgentMessagingTools
|
| 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 | |
|---|---|
GenericApprovalsHandler()
|
|
| Method Summary | |
|---|---|
abstract void |
approve(Approval pApproval)
Called by ApprovalsManager.approve() Executes specific logic for approving an approval type |
abstract atg.commerce.csr.events.ApprovalEvent |
getApprovalAcceptedEvent(Approval pApproval)
Creates and populates an Event after an approval is approved |
java.lang.String |
getApprovalAcceptedJMSType()
Returns the Approval Accepted JMS Type as a String. |
abstract atg.commerce.csr.events.ApprovalEvent |
getApprovalCreatedEvent(Approval pApproval)
Creates and populates an Event after an approval is created |
java.lang.String |
getApprovalCreatedJMSType()
Returns the Approval Created JMS Type as a String. |
java.lang.String |
getApprovalItemDescriptorName()
Returns the approval item descriptor as a String. |
abstract atg.commerce.csr.events.ApprovalEvent |
getApprovalRejectedEvent(Approval pApproval)
Creates and populates an Event after an approval is rejected |
java.lang.String |
getApprovalRejectedJMSType()
Returns the Approval Rejected JMS Type as a String. |
CSRAgentMessagingTools |
getCSRAgentMessagingTools()
Returns the CSR Agent Messaging Tools. |
abstract boolean |
isApprovalRequired(Approval pApproval)
Called by ApprovalsManager.isApprovalRequired() This method contains logic to determine if an approval is required. |
abstract void |
loadApproval(Approval pApproval)
Called by ApprovalsManager.loadApproval() Loads the specific information for an approval type. |
abstract void |
reject(Approval pApproval)
Called by ApprovalsManager.reject() Executes specific logic for rejecting an approval type |
abstract void |
saveApproval(Approval pApproval,
atg.repository.MutableRepositoryItem pItem)
Called by ApprovalsManager.saveApproval() Saves the specific information for an approval type. |
void |
setApprovalAcceptedJMSType(java.lang.String pApprovalAcceptedJMSType)
Sets the Approval Accepted JMS Type as a String. |
void |
setApprovalCreatedJMSType(java.lang.String pApprovalCreatedJMSType)
Sets the Approval Created JMS Type as a String. |
void |
setApprovalItemDescriptorName(java.lang.String pApprovalItemDescriptor)
Sets the approval type as a String. |
void |
setApprovalRejectedJMSType(java.lang.String pApprovalRejectedJMSType)
Sets the Approval Rejected JMS Type as a String. |
void |
setCSRAgentMessagingTools(CSRAgentMessagingTools mCSRAgentMessagingTools)
Sets the CSR Agent Messageing Tools |
| Methods inherited from class atg.nucleus.GenericService |
|---|
addLogListener, createAdminServlet, doStartService, doStopService, 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 |
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
|---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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 |
|---|
public static final java.lang.String CLASS_VERSION
protected java.lang.String mApprovalItemDescriptorName
protected java.lang.String mApprovalCreatedJMSType
protected java.lang.String mApprovalAcceptedJMSType
protected java.lang.String mApprovalRejectedJMSType
protected CSRAgentMessagingTools mCSRAgentMessagingTools
| Constructor Detail |
|---|
public GenericApprovalsHandler()
| Method Detail |
|---|
public abstract boolean isApprovalRequired(Approval pApproval)
throws ApprovalsException
Approval - - an approval object upon which a decision will be made
ApprovalsException
public abstract void saveApproval(Approval pApproval,
atg.repository.MutableRepositoryItem pItem)
throws ApprovalsException
Approval - - the approval whose properties will be savedMutableRepositoryItem - - The approval repository item
ApprovalsException
public abstract void loadApproval(Approval pApproval)
throws ApprovalsException
Approval - - the approval whose properties will be loaded
ApprovalsException
public abstract void approve(Approval pApproval)
throws ApprovalsException
Approval - - the approval to be approved
ApprovalsException
public abstract void reject(Approval pApproval)
throws ApprovalsException
Approval - - the approval to be approved
ApprovalsExceptionpublic abstract atg.commerce.csr.events.ApprovalEvent getApprovalCreatedEvent(Approval pApproval)
Approval - - the approval to be approved
ApprovalsExceptionpublic abstract atg.commerce.csr.events.ApprovalEvent getApprovalAcceptedEvent(Approval pApproval)
Approval - - the approval to be approved
ApprovalsExceptionpublic abstract atg.commerce.csr.events.ApprovalEvent getApprovalRejectedEvent(Approval pApproval)
Approval - - the approval to be approved
ApprovalsExceptionpublic java.lang.String getApprovalItemDescriptorName()
public void setApprovalItemDescriptorName(java.lang.String pApprovalItemDescriptor)
pApprovalItemDescriptor - the ApprovalItemDescriptor to setpublic void setApprovalCreatedJMSType(java.lang.String pApprovalCreatedJMSType)
pApprovalCreatedJMSType - the ApprovalCreatedJMSType to setpublic java.lang.String getApprovalCreatedJMSType()
public void setApprovalAcceptedJMSType(java.lang.String pApprovalAcceptedJMSType)
pApprovalAcceptedJMSType - the ApprovalAcceptedJMSType to setpublic java.lang.String getApprovalAcceptedJMSType()
public void setApprovalRejectedJMSType(java.lang.String pApprovalRejectedJMSType)
pApprovalRejectedJMSType - the ApprovalRejectedJMSType to setpublic java.lang.String getApprovalRejectedJMSType()
public void setCSRAgentMessagingTools(CSRAgentMessagingTools mCSRAgentMessagingTools)
mCSRAgentMessagingTools - the mCSRAgentMessagingTools to setpublic CSRAgentMessagingTools getCSRAgentMessagingTools()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||