Class SequenceAdminServiceClient
- java.lang.Object
-
- org.wso2.am.admin.clients.sequences.SequenceAdminServiceClient
-
public class SequenceAdminServiceClient extends Object
-
-
Constructor Summary
Constructors Constructor Description SequenceAdminServiceClient(String backEndUrl, String sessionCookie)SequenceAdminServiceClient(String backEndUrl, String userName, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDynamicSequence(String key, org.apache.axiom.om.OMElement omElement)adding dynamic sequencevoidaddSequence(DataHandler dh)adding sequencevoidaddSequence(org.apache.axiom.om.OMElement sequence)adding sequencevoiddeleteDynamicSequence(String key)deleting dynamic sequencevoiddeleteSequence(String sequenceName)deleting existing sequenceintgetDynamicSequenceCount()getting dynamic sequence countString[]getDynamicSequences()getting dynamic sequence listorg.apache.axiom.om.OMElementgetSequence(String sequenceName)getting sequence elementString[]getSequences()getting sequence listorg.wso2.carbon.sequences.stub.types.common.to.SequenceInfo[]getSequences(int pageNo, int sequencePerPage)getting sequence listvoidupdateDynamicSequence(String key, org.apache.axiom.om.OMElement OmSequence)updating dynamic sequencevoidupdateSequence(org.apache.axiom.om.OMElement sequence)updating existing sequence
-
-
-
Method Detail
-
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.SequenceEditorExceptionIOExceptionXMLStreamException
-
addSequence
public void addSequence(org.apache.axiom.om.OMElement sequence) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteExceptionadding sequence- Parameters:
sequence-- Throws:
org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteException
-
updateSequence
public void updateSequence(org.apache.axiom.om.OMElement sequence) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteExceptionupdating existing sequence- Parameters:
sequence-- Throws:
org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteException
-
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.SequenceEditorExceptionRemoteException
-
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.SequenceEditorExceptionRemoteException
-
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.SequenceEditorExceptionRemoteException
-
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.SequenceEditorExceptionRemoteException
-
getDynamicSequenceCount
public int getDynamicSequenceCount() throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteExceptiongetting dynamic sequence count- Returns:
- Throws:
org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteException
-
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.SequenceEditorExceptionRemoteException
-
getSequences
public org.wso2.carbon.sequences.stub.types.common.to.SequenceInfo[] getSequences(int pageNo, int sequencePerPage) throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteExceptiongetting sequence list- Parameters:
pageNo-sequencePerPage-- Returns:
- Throws:
org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteException
-
getSequences
public String[] getSequences() throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteException
getting sequence list- Returns:
- Throws:
org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteException
-
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.SequenceEditorExceptionRemoteException
-
-