psdi.app.inspection

Class InspectionService

    • Field Detail

      • integrationLogger

        protected static final MXLogger integrationLogger
    • Constructor Detail

      • InspectionService

        public InspectionService()
                          throws java.rmi.RemoteException
        constructor for WOService.
        Throws:
        java.rmi.RemoteException
      • InspectionService

        public InspectionService(MXServer mxServer)
                          throws java.rmi.RemoteException
        constructor for WOService.
        Parameters:
        mxServer - the "Server Environment" this Service is being created in.
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • changeFormStatus

        public void changeFormStatus(InspectionFormRemote inspForm,
                                     java.lang.String status)
                              throws MXException,
                                     java.rmi.RemoteException
        Service Method used to change status.
        Specified by:
        changeFormStatus in interface InspectionServiceRemote
        Parameters:
        inspForm - Inspection Form Mbo
        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("access", - "samestatus"); MXException("access", "UnrecogStatus") MXException("workorder", "unappr") MXException("workorder", "wappr") MXException("workorder", "wappr") MXException("workorder", "inprg") MXException("workorder", "comp"") MXException("workorder", "close") MXException("workorder","can") MXException("workorder","wsch") MXException("access", "notauthorized") MXException("workorder", "notcloselabtrans") MXException("workorder", "actuals") MXException("workorder", "CannotCancel") MXException("workorder", "ReqApprContractToApprWO") MXException("workorder", "processflowsuspended"); MXException("workorder", "cantcompletebeforestart") MXException("workorder", "predecessorsnotcomp") MXException("workorder", "parentnotstarted") MXException("workorder", "invalidstatus") MXException("workorder", "childrenmustbecompleted")
        MXException
        java.rmi.RemoteException
        See Also:
        throws MXException, RemoteException
      • updateAssetLocMeter

        public void updateAssetLocMeter(InspectionResultRemote inspResult,
                                        java.lang.String referenceobject,
                                        java.lang.String referenceobjectid,
                                        java.lang.String asset,
                                        java.lang.String location,
                                        java.lang.String siteid,
                                        java.lang.String orgid,
                                        java.lang.String inspformnum,
                                        java.lang.String resultnum)
                                 throws MXException,
                                        java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • prepareServiceMeta

        public java.util.Map prepareServiceMeta(java.lang.String endPointName,
                                                InspectionService.VoiceEndpoints voiceEndpoint)
                                         throws java.rmi.RemoteException,
                                                MXException
        Prepare metadata used to invoke voice endpoint
        Parameters:
        endPointName -
        voiceEndpoint -
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException
      • voiceServiceStatus

        public java.util.Map voiceServiceStatus()
                                         throws MXException,
                                                java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException