public class CSRTicketDispositionMonitor
extends atg.nucleus.logging.ApplicationLoggingImpl
implements atg.ticketing.TicketDispositionMonitor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
CSRTicketDispositionMonitor() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
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