Class SequenceAdminServiceClient

java.lang.Object
org.wso2.am.admin.clients.sequences.SequenceAdminServiceClient

public class SequenceAdminServiceClient extends Object
  • Constructor Details

    • SequenceAdminServiceClient

      public SequenceAdminServiceClient(String backEndUrl, String sessionCookie) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • SequenceAdminServiceClient

      public SequenceAdminServiceClient(String backEndUrl, String userName, String password) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
  • Method Details

    • addSequence

      public void addSequence(DataHandler dh) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, IOException, XMLStreamException
      adding sequence
      Parameters:
      dh -
      Throws:
      org.wso2.carbon.sequences.stub.types.SequenceEditorException
      IOException
      XMLStreamException
    • addSequence

      public void addSequence(org.apache.axiom.om.OMElement sequence) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
      adding sequence
      Parameters:
      sequence -
      Throws:
      org.wso2.carbon.sequences.stub.types.SequenceEditorException
      RemoteException
    • updateSequence

      public void updateSequence(org.apache.axiom.om.OMElement sequence) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
      updating existing sequence
      Parameters:
      sequence -
      Throws:
      org.wso2.carbon.sequences.stub.types.SequenceEditorException
      RemoteException
    • addDynamicSequence

      public void addDynamicSequence(String key, org.apache.axiom.om.OMElement omElement) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
      adding dynamic sequence
      Parameters:
      key -
      omElement -
      Throws:
      org.wso2.carbon.sequences.stub.types.SequenceEditorException
      RemoteException
    • getSequence

      public org.apache.axiom.om.OMElement getSequence(String sequenceName) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
      getting sequence element
      Parameters:
      sequenceName -
      Returns:
      Throws:
      org.wso2.carbon.sequences.stub.types.SequenceEditorException
      RemoteException
    • deleteSequence

      public void deleteSequence(String sequenceName) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
      deleting existing sequence
      Parameters:
      sequenceName -
      Throws:
      org.wso2.carbon.sequences.stub.types.SequenceEditorException
      RemoteException
    • updateDynamicSequence

      public void updateDynamicSequence(String key, org.apache.axiom.om.OMElement OmSequence) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
      updating dynamic sequence
      Parameters:
      key -
      OmSequence -
      Throws:
      org.wso2.carbon.sequences.stub.types.SequenceEditorException
      RemoteException
    • getDynamicSequenceCount

      public int getDynamicSequenceCount() throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
      getting dynamic sequence count
      Returns:
      Throws:
      org.wso2.carbon.sequences.stub.types.SequenceEditorException
      RemoteException
    • deleteDynamicSequence

      public void deleteDynamicSequence(String key) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
      deleting dynamic sequence
      Parameters:
      key -
      Throws:
      org.wso2.carbon.sequences.stub.types.SequenceEditorException
      RemoteException
    • getSequences

      public org.wso2.carbon.sequences.stub.types.common.to.SequenceInfo[] getSequences(int pageNo, int sequencePerPage) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
      getting sequence list
      Parameters:
      pageNo -
      sequencePerPage -
      Returns:
      Throws:
      org.wso2.carbon.sequences.stub.types.SequenceEditorException
      RemoteException
    • getSequences

      public String[] getSequences() throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
      getting sequence list
      Returns:
      Throws:
      org.wso2.carbon.sequences.stub.types.SequenceEditorException
      RemoteException
    • getDynamicSequences

      public String[] getDynamicSequences() throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
      getting dynamic sequence list
      Returns:
      Throws:
      org.wso2.carbon.sequences.stub.types.SequenceEditorException
      RemoteException