psdi.app.ticket

Class TicketService

    • Constructor Detail

      • TicketService

        public TicketService()
                      throws java.rmi.RemoteException
        Constructor
        Throws:
        java.rmi.RemoteException
      • TicketService

        public TicketService(MXServer mxServer)
                      throws java.rmi.RemoteException
        Constructor with a MXServer
        Parameters:
        mxServer - the "Server Environment" this Service is being created in.
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • changeStatus

        public void changeStatus(TicketRemote ticket,
                                 java.lang.String status,
                                 java.util.Date date,
                                 java.lang.String memo)
                          throws MXException,
                                 java.rmi.RemoteException
        Service Method used to change status.
        Specified by:
        changeStatus in interface TicketServiceRemote
        Parameters:
        ticket - Ticket Mbo. Incidents and SRs are Tickets.
        status - The new status
        date - The date of the status change. Defaults to the current date/time if null.
        memo - The status change memo.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException
      • createNewWorkorder

        public void createNewWorkorder(TicketRemote ticket)
                                throws MXException,
                                       java.rmi.RemoteException
        Service method to create a workorder from the sr and set the SR to In Progress
        Parameters:
        ticket - Ticket Mbo. Incidents and SRs are Tickets.
        Throws:
        MXException
        java.rmi.RemoteException
      • createWorkorder

        public void createWorkorder(TicketRemote ticket,
                                    java.lang.String siteid)
                             throws MXException,
                                    java.rmi.RemoteException
        Service method to create a workorder from the sr.
        Specified by:
        createWorkorder in interface TicketServiceRemote
        Parameters:
        ticket - Ticket Mbo. Incidents and SRs are Tickets.
        Throws:
        MXException
        java.rmi.RemoteException
      • createIssueToSR

        public void createIssueToSR(java.lang.String parent,
                                    java.lang.String description,
                                    java.lang.Integer order)
                             throws MXException,
                                    java.rmi.RemoteException
        create a new TKTEMPLATE in active status to SR
        Parameters:
        description - - Ticket Template description
        parent - - Ticket Template parent
        order - - Ticket Template sort order
        Throws:
        MXException
        java.rmi.RemoteException
      • updateTicketTemplate

        public void updateTicketTemplate(MboRemote tktemplate,
                                         java.lang.String description,
                                         java.lang.Integer sortOrder)
                                  throws MXException,
                                         java.rmi.RemoteException
        update a TKTEMPLATE
        Parameters:
        description - - Ticket Template description
        order - - Ticket Template sort order
        Throws:
        MXException
        java.rmi.RemoteException
      • managerSpecifications

        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
        add /remove attributes to ticket template
        Parameters:
        tkTemplateSpecMap - must be like this add:assetattrid,remove:tktemplatespecid
        Throws:
        MXException
        java.rmi.RemoteException
      • applyOwner

        public void applyOwner(MboRemote ticket,
                               java.lang.String owner)
                        throws MXException,
                               java.rmi.RemoteException
        Applies the selected owner to the current ticket.
        Parameters:
        wo -
        owner -
        Throws:
        MXException
        java.rmi.RemoteException
      • applyOwnerGroup

        public void applyOwnerGroup(MboRemote ticket,
                                    java.lang.String ownergroup)
                             throws MXException,
                                    java.rmi.RemoteException
        Applies the selected ownergroup to the current ticket.
        Parameters:
        wo -
        ownergroup -
        Throws:
        MXException
        java.rmi.RemoteException
      • reprocessTkTemplateSortOrder

        public void reprocessTkTemplateSortOrder()
                                          throws MXException,
                                                 java.rmi.RemoteException
        set default sort order
        Throws:
        MXException
        java.rmi.RemoteException
      • managerDomainGuestUser

        public void managerDomainGuestUser(java.lang.String addDomainList,
                                           java.lang.String removeDomainList,
                                           java.lang.String updateDomainList)
                                    throws MXException,
                                           java.rmi.RemoteException
        add /remove/update domain to guest user configuration
        Throws:
        MXException
        java.rmi.RemoteException
      • managerEmailGuestUser

        public void managerEmailGuestUser(java.lang.String addEmailList,
                                          java.lang.String removeEmailList,
                                          java.lang.String updateEmailList)
                                   throws MXException,
                                          java.rmi.RemoteException
        add /remove/ update email to guest user configuration
        Throws:
        MXException
        java.rmi.RemoteException
      • createTicket

        public MboRemote createTicket(java.lang.String ticketClass,
                                      java.lang.String templateID,
                                      UserInfo userInfo)
                               throws MXException,
                                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException