Class SequenceAdminClient

java.lang.Object
org.wso2.carbon.sequences.ui.client.SequenceAdminClient
All Implemented Interfaces:
EditorUIClient

public class SequenceAdminClient extends Object implements EditorUIClient
Client class which is being called by the sequence-editor component user interface JSPs. This represents client invocation methods for the sequence editor admin service
  • Constructor Details

    • SequenceAdminClient

      public SequenceAdminClient(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
  • Method Details

    • getSequences

      public org.wso2.carbon.sequences.common.to.SequenceInfo[] getSequences(int pageNumber, int sequencePerPage) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      getSequences in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • getSequencesSearch

      public org.wso2.carbon.sequences.common.to.SequenceInfo[] getSequencesSearch(int pageNumber, int sequencePerPage, String searchText) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • getSequencesCount

      public int getSequencesCount() throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      getSequencesCount in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • saveSequence

      public void saveSequence(org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      saveSequence in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • addSequence

      public void addSequence(org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      addSequence in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • addDynamicSequence

      public void addDynamicSequence(String key, org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      addDynamicSequence in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • getDynamicSequence

      public org.apache.axiom.om.OMElement getDynamicSequence(String key) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      getDynamicSequence in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • saveDynamicSequence

      public void saveDynamicSequence(String key, org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      saveDynamicSequence in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • enableTracing

      public String enableTracing(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      enableTracing in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • disableTracing

      public String disableTracing(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      disableTracing in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • enableStatistics

      public String enableStatistics(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      enableStatistics in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • disableStatistics

      public String disableStatistics(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      disableStatistics in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • deleteSequence

      public void deleteSequence(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      deleteSequence in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • getEntryNamesString

      public String getEntryNamesString() throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      getEntryNamesString in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • updateDynamicSequence

      public void updateDynamicSequence(String key, org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      updateDynamicSequence in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • deleteDynamicSequence

      public void deleteDynamicSequence(String key) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      deleteDynamicSequence in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • getDynamicSequences

      public org.wso2.carbon.sequences.common.to.SequenceInfo[] getDynamicSequences(int pageNumber, int sequencePerPage) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      getDynamicSequences in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • getDynamicSequencesSearch

      public org.wso2.carbon.sequences.common.to.SequenceInfo[] getDynamicSequencesSearch(int pageNumber, int sequencePerPage, String searchText) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • getDynamicSequenceCount

      public int getDynamicSequenceCount() throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      getDynamicSequenceCount in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • getDependents

      public org.wso2.carbon.sequences.common.to.ConfigurationObject[] getDependents(String sequence) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      getDependents in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • getSequenceMediator

      public org.wso2.carbon.mediator.service.builtin.SequenceMediator getSequenceMediator(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException
      Specified by:
      getSequenceMediator in interface EditorUIClient
      Throws:
      org.wso2.carbon.sequences.common.SequenceEditorException
    • deleteSelectedSequence

      public void deleteSelectedSequence(String[] SequenceNames) throws Exception
      Delete selected sequences from synapse configuration
      Parameters:
      SequenceNames -
      Throws:
      Exception
    • deleteAllSequenceGroups

      public void deleteAllSequenceGroups() throws Exception
      Delete all Sequences in the synapse configuration
      Throws:
      Exception