public class TicketService extends AppService implements TicketServiceRemote
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, 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, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService, restart
public TicketService() throws java.rmi.RemoteException
java.rmi.RemoteException
public TicketService(MXServer mxServer) throws java.rmi.RemoteException
mxServer
- the "Server Environment" this Service is being created in.java.rmi.RemoteException
public void init()
init
in interface Service
init
in class AppService
PostCommitUpdateWorkView
public void destroy()
destroy
in interface Service
destroy
in class AppService
AppService.destroy()
,
PostCommitUpdateWorkView
public void changeStatus(TicketRemote ticket, java.lang.String status, java.util.Date date, java.lang.String memo) throws MXException, java.rmi.RemoteException
changeStatus
in interface TicketServiceRemote
ticket
- 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.MXException
java.rmi.RemoteException
throws MXException, RemoteException