Class LocalEntriesAdminClient

java.lang.Object
org.wso2.am.admin.clients.localentry.LocalEntriesAdminClient

public class LocalEntriesAdminClient extends Object
  • 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:
      IOException
      org.wso2.carbon.localentry.stub.types.LocalEntryAdminException
      XMLStreamException
    • 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.LocalEntryAdminException
      RemoteException
    • 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.LocalEntryAdminException
      RemoteException
    • getEntryNamesString

      public String getEntryNamesString() throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, RemoteException
      Returns:
      Throws:
      org.wso2.carbon.localentry.stub.types.LocalEntryAdminException
      RemoteException
    • getEntryDataCount

      public int getEntryDataCount() throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, RemoteException
      Returns:
      Throws:
      org.wso2.carbon.localentry.stub.types.LocalEntryAdminException
      RemoteException
    • getEntryNames

      public String[] getEntryNames() throws org.wso2.carbon.localentry.stub.types.LocalEntryAdminException, RemoteException
      Returns:
      Throws:
      org.wso2.carbon.localentry.stub.types.LocalEntryAdminException
      RemoteException