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 void
addDynamicSequence(String key, org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence)
void
addSequence(org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence)
void
deleteAllSequenceGroups()
Delete all Sequences in the synapse configurationvoid
deleteDynamicSequence(String key)
void
deleteSelectedSequence(String[] SequenceNames)
Delete selected sequences from synapse configurationvoid
deleteSequence(String sequenceName)
String
disableStatistics(String sequenceName)
String
disableTracing(String sequenceName)
String
enableStatistics(String sequenceName)
String
enableTracing(String sequenceName)
org.wso2.carbon.sequences.common.to.ConfigurationObject[]
getDependents(String sequence)
org.apache.axiom.om.OMElement
getDynamicSequence(String key)
int
getDynamicSequenceCount()
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)
String
getEntryNamesString()
org.wso2.carbon.mediator.service.builtin.SequenceMediator
getSequenceMediator(String sequenceName)
org.wso2.carbon.sequences.common.to.SequenceInfo[]
getSequences(int pageNumber, int sequencePerPage)
int
getSequencesCount()
org.wso2.carbon.sequences.common.to.SequenceInfo[]
getSequencesSearch(int pageNumber, int sequencePerPage, String searchText)
void
saveDynamicSequence(String key, org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence)
void
saveSequence(org.wso2.carbon.mediator.service.builtin.SequenceMediator sequence)
void
updateDynamicSequence(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:
getSequences
in 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:
getSequencesCount
in 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:
saveSequence
in 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:
addSequence
in 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:
addDynamicSequence
in 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:
getDynamicSequence
in 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:
saveDynamicSequence
in interfaceEditorUIClient
- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
enableTracing
public String enableTracing(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException
- Specified by:
enableTracing
in interfaceEditorUIClient
- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
disableTracing
public String disableTracing(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException
- Specified by:
disableTracing
in interfaceEditorUIClient
- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
enableStatistics
public String enableStatistics(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException
- Specified by:
enableStatistics
in interfaceEditorUIClient
- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
disableStatistics
public String disableStatistics(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException
- Specified by:
disableStatistics
in interfaceEditorUIClient
- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
deleteSequence
public void deleteSequence(String sequenceName) throws org.wso2.carbon.sequences.common.SequenceEditorException
- Specified by:
deleteSequence
in interfaceEditorUIClient
- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
getEntryNamesString
public String getEntryNamesString() throws org.wso2.carbon.sequences.common.SequenceEditorException
- Specified by:
getEntryNamesString
in 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:
updateDynamicSequence
in interfaceEditorUIClient
- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
deleteDynamicSequence
public void deleteDynamicSequence(String key) throws org.wso2.carbon.sequences.common.SequenceEditorException
- Specified by:
deleteDynamicSequence
in 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:
getDynamicSequences
in 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:
getDynamicSequenceCount
in 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:
getDependents
in 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:
getSequenceMediator
in 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
-
-