Class SequenceAdminServiceClient
java.lang.Object
org.wso2.am.admin.clients.sequences.SequenceAdminServiceClient
-
Constructor Summary
ConstructorsConstructorDescriptionSequenceAdminServiceClient(String backEndUrl, String sessionCookie) SequenceAdminServiceClient(String backEndUrl, String userName, String password) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDynamicSequence(String key, org.apache.axiom.om.OMElement omElement) adding dynamic sequencevoidadding sequencevoidaddSequence(org.apache.axiom.om.OMElement sequence) adding sequencevoiddeleting dynamic sequencevoiddeleteSequence(String sequenceName) deleting existing sequenceintgetting dynamic sequence countString[]getting dynamic sequence listorg.apache.axiom.om.OMElementgetSequence(String sequenceName) getting sequence elementString[]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
-
Constructor Details
-
SequenceAdminServiceClient
public SequenceAdminServiceClient(String backEndUrl, String sessionCookie) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
SequenceAdminServiceClient
public SequenceAdminServiceClient(String backEndUrl, String userName, String password) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
-
Method Details
-
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, RemoteException adding 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, RemoteException updating 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, RemoteException getting 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, RemoteExceptiongetting sequence list- Returns:
- Throws:
org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteException
-
getDynamicSequences
public String[] getDynamicSequences() throws org.wso2.carbon.sequences.stub.types.SequenceEditorException, RemoteExceptiongetting dynamic sequence list- Returns:
- Throws:
org.wso2.carbon.sequences.stub.types.SequenceEditorExceptionRemoteException
-