public class TicketService extends AppService implements TicketServiceRemote
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
TicketService()
Constructor
|
TicketService(MXServer mxServer)
Constructor with a MXServer
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeStatus(TicketRemote ticket,
java.lang.String status,
java.util.Date date,
java.lang.String memo)
Service Method used to change status.
|
void |
destroy()
Unregister event listeners.
|
void |
init()
Initialization
|
checkSecurity, configure, freeDBConnection, freeMboSet, getCriteria, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setProxy, setRunning, setURL, verifyUser, verifyUserequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic TicketService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic TicketService(MXServer mxServer) throws java.rmi.RemoteException
mxServer - the "Server Environment" this Service is being created in.java.rmi.RemoteExceptionpublic void init()
init in interface Serviceinit in class AppServicePostCommitUpdateWorkViewpublic void destroy()
destroy in interface Servicedestroy in class AppServiceAppService.destroy(),
PostCommitUpdateWorkViewpublic void changeStatus(TicketRemote ticket, java.lang.String status, java.util.Date date, java.lang.String memo) throws MXException, java.rmi.RemoteException
changeStatus in interface TicketServiceRemoteticket - Ticket Mbo. Incidents and SRs are Tickets.status - The new statusdate - The date of the status change. Defaults to the current date/time if null.memo - The status change memo.MXExceptionjava.rmi.RemoteExceptionthrows MXException, RemoteException