Class LocalEntryAdminClient


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

    • Constructor Detail

      • LocalEntryAdminClient

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

      • 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
      • 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
      • 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