Class SequenceAdminClient
java.lang.Object
org.wso2.carbon.sequences.ui.client.SequenceAdminClient
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionSequenceAdminClient(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDynamicSequence(String key, org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence) voidaddSequence(org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence) voidDelete all Sequences in the synapse configurationvoidvoiddeleteSelectedSequence(String[] SequenceNames) Delete selected sequences from synapse configurationvoiddeleteSequence(String sequenceName) disableStatistics(String sequenceName) disableTracing(String sequenceName) enableStatistics(String sequenceName) enableTracing(String sequenceName) org.wso2.carbon.sequences.common.to.ConfigurationObject[]getDependents(String sequence) org.apache.axiom.om.OMElementgetDynamicSequence(String key) intorg.wso2.carbon.sequences.common.to.SequenceInfo[]getDynamicSequences(int pageNumber, int sequencePerPage) org.wso2.carbon.sequences.common.to.SequenceInfo[]getDynamicSequencesSearch(int pageNumber, int sequencePerPage, String searchText) org.wso2.carbon.mediator.service.builtin.SequenceMediatorgetSequenceMediator(String sequenceName) org.wso2.carbon.sequences.common.to.SequenceInfo[]getSequences(int pageNumber, int sequencePerPage) intorg.wso2.carbon.sequences.common.to.SequenceInfo[]getSequencesSearch(int pageNumber, int sequencePerPage, String searchText) voidsaveDynamicSequence(String key, org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence) voidsaveSequence(org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence) voidupdateDynamicSequence(String key, org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence)
-
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:
getSequencesin interfaceEditorUIClient- 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:
getSequencesCountin interfaceEditorUIClient- 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:
saveSequencein interfaceEditorUIClient- 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:
addSequencein interfaceEditorUIClient- 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:
addDynamicSequencein interfaceEditorUIClient- 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:
getDynamicSequencein interfaceEditorUIClient- 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:
saveDynamicSequencein interfaceEditorUIClient- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
enableTracing
public String enableTracing(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException - Specified by:
enableTracingin interfaceEditorUIClient- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
disableTracing
public String disableTracing(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException - Specified by:
disableTracingin interfaceEditorUIClient- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
enableStatistics
public String enableStatistics(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException - Specified by:
enableStatisticsin interfaceEditorUIClient- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
disableStatistics
public String disableStatistics(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException - Specified by:
disableStatisticsin interfaceEditorUIClient- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
deleteSequence
public void deleteSequence(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException - Specified by:
deleteSequencein interfaceEditorUIClient- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
getEntryNamesString
- Specified by:
getEntryNamesStringin interfaceEditorUIClient- 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:
updateDynamicSequencein interfaceEditorUIClient- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
deleteDynamicSequence
public void deleteDynamicSequence(String key) throws org.wso2.carbon.sequences.common.SequenceEditorException - Specified by:
deleteDynamicSequencein interfaceEditorUIClient- 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:
getDynamicSequencesin interfaceEditorUIClient- 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:
getDynamicSequenceCountin interfaceEditorUIClient- 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:
getDependentsin interfaceEditorUIClient- 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:
getSequenceMediatorin interfaceEditorUIClient- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
deleteSelectedSequence
Delete selected sequences from synapse configuration- Parameters:
SequenceNames-- Throws:
Exception
-
deleteAllSequenceGroups
Delete all Sequences in the synapse configuration- Throws:
Exception
-