Class LocalEntryAdminClient

java.lang.Object
org.wso2.carbon.localentry.ui.client.LocalEntryAdminClient

public class LocalEntryAdminClient extends Object
LocalEntryAdminClient class, the place holder for localentry admin client
  • Field Details

    • LOCAL_ENTRIES_PER_PAGE

      public static final int LOCAL_ENTRIES_PER_PAGE
      See Also:
  • Constructor Details

    • LocalEntryAdminClient

      public LocalEntryAdminClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configCtx) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
  • Method Details

    • getEntryData

      public org.wso2.carbon.localentry.stub.types.EntryData[] getEntryData() throws Exception
      Returns entrydata array
      Returns:
      entry data array
      Throws:
      Exception
    • getPaginatedEntryData

      public org.wso2.carbon.localentry.stub.types.EntryData[] getPaginatedEntryData(int pageNo) throws Exception
      Returns pagnitedentrydata array
      Returns:
      entry data array
      Throws:
      Exception
    • getEntryDataCount

      public int getEntryDataCount() throws Exception
      Throws:
      Exception
    • saveEntry

      public void saveEntry(String entry) throws Exception
      Saves an entry
      Parameters:
      entry - name of the entry
      Throws:
      Exception
    • addEntry

      public void addEntry(String entry) throws Exception
      Adds an entry
      Parameters:
      entry - name of the entry
      Throws:
      Exception
    • deleteEntry

      public void deleteEntry(String entry) throws Exception
      Deletes an entry
      Parameters:
      entry - name of the entry
      Throws:
      Exception
    • getDependents

      public org.wso2.carbon.localentry.stub.types.ConfigurationObject[] getDependents(String entry) throws Exception
      Throws:
      Exception
    • nonCoalescingStringToOm

      public static org.apache.axiom.om.OMElement nonCoalescingStringToOm(String xmlStr) throws XMLStreamException
      Throws:
      XMLStreamException
    • checkForXXE

      public static void checkForXXE(String xmlStr) throws Exception
      Method which will check the given xml string for XXE attacks. This will throw SAXException if there is a possibility of XXE attack.
      Parameters:
      xmlStr -
      Throws:
      Exception