|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.logging.ApplicationLoggingImpl
atg.commerce.csr.ticketing.CSRTicketDispositionMonitor
public class CSRTicketDispositionMonitor
The CSR implementation of the TicketDispositionMonitor interface. This monitor checks the ticket for any Commerce activities. If any exist, shouldDiscard returns "false". Created: July 28 2005
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
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 | |
---|---|
CSRTicketDispositionMonitor()
|
Method Summary | |
---|---|
java.lang.String |
getActivitiesPropertyName()
|
java.lang.String[] |
getNonDiscardableActivityTypes()
Default value is the list of defaultRecorderactivities and eventTypeToRecorderMap if not specified in property file. |
TicketingEventListener |
getTicketingEventListener()
|
boolean |
isOwnerChangeable(atg.repository.RepositoryItem pTicket,
java.lang.String pNewOwnerId)
Whether the ticket can have it owner property changed to a new owner. |
void |
setActivitiesPropertyName(java.lang.String pActivitiesPropertyName)
The name of the activities property of the ticket item descriptor |
void |
setNonDiscardableActivityTypes(java.lang.String[] pNonDiscardableActivityTypes)
The types of activities whose presence on a ticket will result in the ticket not being discarded |
void |
setTicketingEventListener(TicketingEventListener pTicketingEventListener)
The TicketingEventListener component which will provide the CSR activity types by default |
boolean |
shouldDiscard(atg.repository.RepositoryItem pTicket)
Whether we should discard the ticket in question. |
boolean |
shouldDiscardImmediately(atg.repository.RepositoryItem pTicket)
Whether we should dispose a ticket immediately. |
Methods inherited from class atg.nucleus.logging.ApplicationLoggingImpl |
---|
addGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLoggingIdentifier, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingIdentifier, setLoggingInfo, setLoggingTrace, setLoggingWarning |
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 java.lang.String CLASS_VERSION
Constructor Detail |
---|
public CSRTicketDispositionMonitor()
Method Detail |
---|
public void setActivitiesPropertyName(java.lang.String pActivitiesPropertyName)
pActivitiesPropertyName
- the name of the activities property of the ticket item descriptorpublic java.lang.String getActivitiesPropertyName()
public void setNonDiscardableActivityTypes(java.lang.String[] pNonDiscardableActivityTypes)
pNonDiscardableActivityTypes
- the types of activities whose presence on a ticket
will result in the ticket not being discardedpublic java.lang.String[] getNonDiscardableActivityTypes()
public void setTicketingEventListener(TicketingEventListener pTicketingEventListener)
pTicketingEventListener
- the TicketingEventListener component which will provide
the CSR activity types by defaultpublic TicketingEventListener getTicketingEventListener()
public boolean shouldDiscard(atg.repository.RepositoryItem pTicket)
shouldDiscard
in interface atg.ticketing.TicketDispositionMonitor
pTicket
- the ticket in question.
public boolean shouldDiscardImmediately(atg.repository.RepositoryItem pTicket)
shouldDiscardImmediately
in interface atg.ticketing.TicketDispositionMonitor
pTicket
- the ticket in question.
public boolean isOwnerChangeable(atg.repository.RepositoryItem pTicket, java.lang.String pNewOwnerId)
This monitor always returns the value of shouldDiscard.
If there are any commerce activities on the ticket, the owner cannot change.
isOwnerChangeable
in interface atg.ticketing.TicketDispositionMonitor
pTicket
- the ticket in question.pNewOwnerId
- the id of the potential new owner
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |