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 Summary
Fields Modifier and Type Field Description static int
LOCAL_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 void
addEntry(String entry)
Adds an entrystatic void
checkForXXE(String xmlStr)
Method which will check the given xml string for XXE attacks.void
deleteEntry(String entry)
Deletes an entryorg.wso2.carbon.localentry.stub.types.ConfigurationObject[]
getDependents(String entry)
org.wso2.carbon.localentry.stub.types.EntryData[]
getEntryData()
Returns entrydata arrayint
getEntryDataCount()
org.wso2.carbon.localentry.stub.types.EntryData[]
getPaginatedEntryData(int pageNo)
Returns pagnitedentrydata arraystatic org.apache.axiom.om.OMElement
nonCoalescingStringToOm(String xmlStr)
void
saveEntry(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 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
-
nonCoalescingStringToOm
public static org.apache.axiom.om.OMElement nonCoalescingStringToOm(String xmlStr) throws XMLStreamException
- Throws:
XMLStreamException
-
-