public class TicketService extends AppService implements TicketServiceRemote
currentState, dbManager, INIT, liveObjCount, load, LOAD, mxServer, name, RUN, running, stateCmdList, stateList, STOP, urlAPPLOGGER, 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 |
applyOwner(MboRemote ticket,
java.lang.String owner)
Applies the selected owner to the current ticket.
|
void |
applyOwnerGroup(MboRemote ticket,
java.lang.String ownergroup)
Applies the selected ownergroup to the current ticket.
|
void |
changeStatus(TicketRemote ticket,
java.lang.String status,
java.util.Date date,
java.lang.String memo)
Service Method used to change status.
|
void |
createIssueToSR(java.lang.String parent,
java.lang.String description,
java.lang.Integer order)
create a new TKTEMPLATE in active status to SR
|
void |
createNewWorkorder(TicketRemote ticket)
Service method to create a workorder from the sr and set the SR to In Progress
|
MboRemote |
createTicket(java.lang.String ticketClass,
java.lang.String templateID,
UserInfo userInfo) |
void |
createWorkorder(TicketRemote ticket,
java.lang.String siteid)
Service method to create a workorder from the sr.
|
void |
destroy()
Unregister event listeners.
|
MboSetRemote |
getWorkLog(MboRemote ticket,
java.lang.Boolean viewSR)
Gets the work log entries for the current ticket.
|
void |
init()
Initialization
|
void |
managerDomainGuestUser(java.lang.String addDomainList,
java.lang.String removeDomainList,
java.lang.String updateDomainList)
add /remove/update domain to guest user configuration
|
void |
managerEmailGuestUser(java.lang.String addEmailList,
java.lang.String removeEmailList,
java.lang.String updateEmailList)
add /remove/ update email to guest user configuration
|
void |
managerSpecifications(MboRemote tktemplate,
java.lang.String addAttributeList,
java.lang.String removeAttributeList,
java.lang.String updateAttributeList,
java.lang.String instructions)
add /remove attributes to ticket template
|
void |
reprocessTkTemplateSortOrder()
set default sort order
|
void |
updateTicketTemplate(MboRemote tktemplate,
java.lang.String description,
java.lang.Integer sortOrder)
update a TKTEMPLATE
|
checkSecurity, configure, freeDBConnection, freeMboSet, getCriteria, getCriteriaList, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setName, setProxy, setRunning, setURL, verifyUser, verifyUserclone, equals, finalize, 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, RemoteExceptionpublic void createNewWorkorder(TicketRemote ticket) throws MXException, java.rmi.RemoteException
ticket - Ticket Mbo. Incidents and SRs are Tickets.MXExceptionjava.rmi.RemoteExceptionpublic void createWorkorder(TicketRemote ticket, java.lang.String siteid) throws MXException, java.rmi.RemoteException
createWorkorder in interface TicketServiceRemoteticket - Ticket Mbo. Incidents and SRs are Tickets.MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getWorkLog(MboRemote ticket, java.lang.Boolean viewSR) throws MXException, java.rmi.RemoteException
getWorkLog in interface TicketServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic void createIssueToSR(java.lang.String parent,
java.lang.String description,
java.lang.Integer order)
throws MXException,
java.rmi.RemoteException
description - - Ticket Template descriptionparent - - Ticket Template parentorder - - Ticket Template sort orderMXExceptionjava.rmi.RemoteExceptionpublic void updateTicketTemplate(MboRemote tktemplate, java.lang.String description, java.lang.Integer sortOrder) throws MXException, java.rmi.RemoteException
description - - Ticket Template descriptionorder - - Ticket Template sort orderMXExceptionjava.rmi.RemoteExceptionpublic void managerSpecifications(MboRemote tktemplate, java.lang.String addAttributeList, java.lang.String removeAttributeList, java.lang.String updateAttributeList, java.lang.String instructions) throws MXException, java.rmi.RemoteException
tkTemplateSpecMap - must be like this add:assetattrid,remove:tktemplatespecidMXExceptionjava.rmi.RemoteExceptionpublic void applyOwner(MboRemote ticket, java.lang.String owner) throws MXException, java.rmi.RemoteException
wo - owner - MXExceptionjava.rmi.RemoteExceptionpublic void applyOwnerGroup(MboRemote ticket, java.lang.String ownergroup) throws MXException, java.rmi.RemoteException
wo - ownergroup - MXExceptionjava.rmi.RemoteExceptionpublic void reprocessTkTemplateSortOrder()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void managerDomainGuestUser(java.lang.String addDomainList,
java.lang.String removeDomainList,
java.lang.String updateDomainList)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void managerEmailGuestUser(java.lang.String addEmailList,
java.lang.String removeEmailList,
java.lang.String updateEmailList)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote createTicket(java.lang.String ticketClass, java.lang.String templateID, UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException