Class LocalEntryAdminClient
java.lang.Object
org.wso2.carbon.localentry.ui.client.LocalEntryAdminClient
LocalEntryAdminClient class, the place holder for localentry admin client-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLocalEntryAdminClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configCtx) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an entrystatic voidcheckForXXE(String xmlStr) Method which will check the given xml string for XXE attacks.voiddeleteEntry(String entry) Deletes an entryorg.wso2.carbon.localentry.stub.types.ConfigurationObject[]getDependents(String entry) org.wso2.carbon.localentry.stub.types.EntryData[]Returns entrydata arrayintorg.wso2.carbon.localentry.stub.types.EntryData[]getPaginatedEntryData(int pageNo) Returns pagnitedentrydata arraystatic org.apache.axiom.om.OMElementnonCoalescingStringToOm(String xmlStr) voidSaves an entry
-
Field Details
-
LOCAL_ENTRIES_PER_PAGE
public static final int LOCAL_ENTRIES_PER_PAGE- See Also:
-
-
Constructor Details
-
Method Details
-
getEntryData
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
- Throws:
Exception
-
saveEntry
Saves an entry- Parameters:
entry- name of the entry- Throws:
Exception
-
addEntry
Adds an entry- Parameters:
entry- name of the entry- Throws:
Exception
-
deleteEntry
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
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
-