Class LocalEntriesAdminClient
- java.lang.Object
-
- org.wso2.am.admin.clients.localentry.LocalEntriesAdminClient
-
public class LocalEntriesAdminClient extends Object
-
-
Constructor Summary
Constructors Constructor Description LocalEntriesAdminClient(String backendUrl, String sessionCookie)creation of LocalEntriesAdminClient using sessionCokkieLocalEntriesAdminClient(String backendUrl, String userName, String password)Creation of LocalEntriesAdminClient using userName and password
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddLocalEntery(DataHandler dh)Add Local entry by DataHandlerbooleanaddLocalEntry(org.apache.axiom.om.OMElement localEntry)Add local entry by OMElementbooleandeleteLocalEntry(String localEntryKey)Delete local entryintgetEntryDataCount()String[]getEntryNames()StringgetEntryNamesString()
-
-
-
Method Detail
-
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, RemoteExceptionAdd 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
-
-