Class LocalEntriesAdminClient
java.lang.Object
org.wso2.am.admin.clients.localentry.LocalEntriesAdminClient
-
Constructor Summary
ConstructorsConstructorDescriptionLocalEntriesAdminClient(String backendUrl, String sessionCookie) creation of LocalEntriesAdminClient using sessionCokkieLocalEntriesAdminClient(String backendUrl, String userName, String password) Creation of LocalEntriesAdminClient using userName and password -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd Local entry by DataHandlerbooleanaddLocalEntry(org.apache.axiom.om.OMElement localEntry) Add local entry by OMElementbooleandeleteLocalEntry(String localEntryKey) Delete local entryintString[]
-
Constructor Details
-
LocalEntriesAdminClient
public LocalEntriesAdminClient(String backendUrl, String sessionCookie) throws org.apache.axis2.AxisFault creation of LocalEntriesAdminClient using sessionCokkie- Parameters:
backendUrl-sessionCookie-- Throws:
org.apache.axis2.AxisFault
-
LocalEntriesAdminClient
public LocalEntriesAdminClient(String backendUrl, String userName, String password) throws org.apache.axis2.AxisFault Creation of LocalEntriesAdminClient using userName and password- Parameters:
backendUrl-userName-password-- Throws:
org.apache.axis2.AxisFault
-
-
Method Details
-
addLocalEntery
public boolean addLocalEntery(DataHandler dh) throws IOException, org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, XMLStreamException Add Local entry by DataHandler- Parameters:
dh-- Returns:
- Throws:
IOExceptionorg.wso2.carbon.localentry.stub.types.LocalEntryAdminExceptionXMLStreamException
-
addLocalEntry
public boolean addLocalEntry(org.apache.axiom.om.OMElement localEntry) throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, RemoteException Add local entry by OMElement- Parameters:
localEntry-- Returns:
- Throws:
org.wso2.carbon.localentry.stub.types.LocalEntryAdminExceptionRemoteException
-
deleteLocalEntry
public boolean deleteLocalEntry(String localEntryKey) throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, RemoteException Delete local entry- Parameters:
localEntryKey-- Returns:
- Throws:
org.wso2.carbon.localentry.stub.types.LocalEntryAdminExceptionRemoteException
-
getEntryNamesString
public String getEntryNamesString() throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, RemoteException- Returns:
- Throws:
org.wso2.carbon.localentry.stub.types.LocalEntryAdminExceptionRemoteException
-
getEntryDataCount
public int getEntryDataCount() throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, RemoteException- Returns:
- Throws:
org.wso2.carbon.localentry.stub.types.LocalEntryAdminExceptionRemoteException
-
getEntryNames
public String[] getEntryNames() throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, RemoteException- Returns:
- Throws:
org.wso2.carbon.localentry.stub.types.LocalEntryAdminExceptionRemoteException
-