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 |
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
|
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 |
updateTicketTemplate(MboRemote tktemplate,
java.lang.String description,
java.lang.Integer sortOrder)
update a TKTEMPLATE
|
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
public void createNewWorkorder(TicketRemote ticket) throws MXException, java.rmi.RemoteException
ticket
- Ticket Mbo. Incidents and SRs are Tickets.MXException
java.rmi.RemoteException
public void createWorkorder(TicketRemote ticket, java.lang.String siteid) throws MXException, java.rmi.RemoteException
createWorkorder
in interface TicketServiceRemote
ticket
- Ticket Mbo. Incidents and SRs are Tickets.MXException
java.rmi.RemoteException
public MboSetRemote getWorkLog(MboRemote ticket, java.lang.Boolean viewSR) throws MXException, java.rmi.RemoteException
getWorkLog
in interface TicketServiceRemote
MXException
java.rmi.RemoteException
public 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 orderMXException
java.rmi.RemoteException
public void updateTicketTemplate(MboRemote tktemplate, java.lang.String description, java.lang.Integer sortOrder) throws MXException, java.rmi.RemoteException
description
- - Ticket Template descriptionorder
- - Ticket Template sort orderMXException
java.rmi.RemoteException
public 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:tktemplatespecidMXException
java.rmi.RemoteException
public void applyOwner(MboRemote ticket, java.lang.String owner) throws MXException, java.rmi.RemoteException
wo
- owner
- MXException
java.rmi.RemoteException
public void applyOwnerGroup(MboRemote ticket, java.lang.String ownergroup) throws MXException, java.rmi.RemoteException
wo
- ownergroup
- MXException
java.rmi.RemoteException
public void managerDomainGuestUser(java.lang.String addDomainList, java.lang.String removeDomainList, java.lang.String updateDomainList) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void managerEmailGuestUser(java.lang.String addEmailList, java.lang.String removeEmailList, java.lang.String updateEmailList) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException