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 Summary
Constructors Constructor Description SequenceAdminClient(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDynamicSequence(String key, org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence)voidaddSequence(org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence)voiddeleteAllSequenceGroups()Delete all Sequences in the synapse configurationvoiddeleteDynamicSequence(String key)voiddeleteSelectedSequence(String[] SequenceNames)Delete selected sequences from synapse configurationvoiddeleteSequence(String sequenceName)StringdisableStatistics(String sequenceName)StringdisableTracing(String sequenceName)StringenableStatistics(String sequenceName)StringenableTracing(String sequenceName)org.wso2.carbon.sequences.common.to.ConfigurationObject[]getDependents(String sequence)org.apache.axiom.om.OMElementgetDynamicSequence(String key)intgetDynamicSequenceCount()org.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)StringgetEntryNamesString()org.wso2.carbon.mediator.service.builtin.SequenceMediatorgetSequenceMediator(String sequenceName)org.wso2.carbon.sequences.common.to.SequenceInfo[]getSequences(int pageNumber, int sequencePerPage)intgetSequencesCount()org.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)
-
-
-
Method Detail
-
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
public String getEntryNamesString() throws org.wso2.carbon.sequences.common.SequenceEditorException
- 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
public void deleteSelectedSequence(String[] SequenceNames) throws Exception
Delete selected sequences from synapse configuration- Parameters:
SequenceNames-- Throws:
Exception
-
-