Class LocalEntryAdminClient
- java.lang.Object
-
- org.wso2.carbon.localentry.ui.client.LocalEntryAdminClient
-
public class LocalEntryAdminClient extends Object
LocalEntryAdminClientclass, the place holder for localentry admin client
-
-
Field Summary
Fields Modifier and Type Field Description static intLOCAL_ENTRIES_PER_PAGE
-
Constructor Summary
Constructors Constructor Description LocalEntryAdminClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configCtx)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEntry(String entry)Adds 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[]getEntryData()Returns entrydata arrayintgetEntryDataCount()org.wso2.carbon.localentry.stub.types.EntryData[]getPaginatedEntryData(int pageNo)Returns pagnitedentrydata arraystatic org.apache.axiom.om.OMElementnonCoalescingStringToOm(String xmlStr)voidsaveEntry(String entry)Saves an entry
-
-
-
Field Detail
-
LOCAL_ENTRIES_PER_PAGE
public static final int LOCAL_ENTRIES_PER_PAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntryData
public org.wso2.carbon.localentry.stub.types.EntryData[] getEntryData() throws ExceptionReturns entrydata array- Returns:
- entry data array
- Throws:
Exception
-
getPaginatedEntryData
public org.wso2.carbon.localentry.stub.types.EntryData[] getPaginatedEntryData(int pageNo) throws ExceptionReturns 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
-
nonCoalescingStringToOm
public static org.apache.axiom.om.OMElement nonCoalescingStringToOm(String xmlStr) throws XMLStreamException
- Throws:
XMLStreamException
-
-