|
||||||||||
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.svc.agent.ticketing.ServiceTicketDispositionMonitor
public class ServiceTicketDispositionMonitor
Service ticket disposition monitor that decides if a ticket can be discarded or its owner can be changed. This is determined by a configured list of nondiscardable activities.
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 | |
---|---|
ServiceTicketDispositionMonitor()
|
Method Summary | |
---|---|
java.lang.String[] |
getNonDiscardableActivityTypes()
Default value is the list of defaultRecorderactivities and eventTypeToRecorderMap if not specified in property file. |
atg.ticketing.TicketingManager |
getTicketingManager()
|
boolean |
isOwnerChangeable(atg.repository.RepositoryItem pTicket,
java.lang.String pNewOwnerId)
Whether the ticket can have it owner property changed to a new owner. |
void |
setNonDiscardableActivityTypes(java.lang.String[] pNonDiscardableActivityTypes)
The types of activities whose presence on a ticket will result in the ticket not being discarded |
void |
setTicketingManager(atg.ticketing.TicketingManager pTicketingManager)
The TicketingManager component |
boolean |
shouldDiscard(atg.repository.RepositoryItem pTicket)
Returns false if the ticket contains any of the non-discardable activities. |
boolean |
shouldDiscardImmediately(atg.repository.RepositoryItem pTicket)
By default returns the result of shouldDiscard |
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, 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
Constructor Detail |
---|
public ServiceTicketDispositionMonitor()
Method Detail |
---|
public void setTicketingManager(atg.ticketing.TicketingManager pTicketingManager)
pTicketingManager
- public atg.ticketing.TicketingManager getTicketingManager()
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 boolean isOwnerChangeable(atg.repository.RepositoryItem pTicket, java.lang.String pNewOwnerId)
This monitor always returns the value of shouldDiscard.
isOwnerChangeable
in interface atg.ticketing.TicketDispositionMonitor
pTicket
- the ticket in question.pNewOwnerId
- the id of the potential new owner
public boolean shouldDiscard(atg.repository.RepositoryItem pTicket)
shouldDiscard
in interface atg.ticketing.TicketDispositionMonitor
public boolean shouldDiscardImmediately(atg.repository.RepositoryItem pTicket)
shouldDiscardImmediately
in interface atg.ticketing.TicketDispositionMonitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |