com.ibm.tivoli.maximo.fdmbo

Class CloudantMbo

    • Constructor Detail

      • CloudantMbo

        public CloudantMbo(MboSet ms)
                    throws java.rmi.RemoteException
        Constructor
        Parameters:
        ms - The Cloudant MboSet.
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception
    • Method Detail

      • createDocument

        public void createDocument()
                            throws MXException,
                                   java.rmi.RemoteException
        Method to create document in Cloudant.
        Overrides:
        createDocument in class JSONMbo
        Throws:
        MXException
        java.rmi.RemoteException
      • updateDocument

        public void updateDocument()
                            throws MXException,
                                   java.rmi.RemoteException
        Method to update document in Cloudant.
        Overrides:
        updateDocument in class JSONMbo
        Throws:
        MXException
        java.rmi.RemoteException
      • deleteDocument

        public void deleteDocument()
                            throws MXException,
                                   java.rmi.RemoteException
        Method to delete document in Cloudant.
        Overrides:
        deleteDocument in class JSONMbo
        Throws:
        MXException
        java.rmi.RemoteException
      • getDocumentIDValue

        public java.lang.String getDocumentIDValue()
        Returns document id.
        Returns:
        document id
      • getDocumentRevValue

        public java.lang.String getDocumentRevValue()
        Returns document revision.
        Returns:
        document revision
      • getURI

        public java.lang.String getURI()
        Returns URL.
        Returns:
        URL
      • toJSON

        public com.ibm.json.java.JSONObject toJSON()
                                            throws java.rmi.RemoteException,
                                                   MXException
        Serialize JSON object.
        Overrides:
        toJSON in class JSONMbo
        Returns:
        JSONObject
        Throws:
        java.rmi.RemoteException - Remote Exception
        MXException - Maximo Exception