Hi all !!
I’m working in a plugin to export some users information and I would like to know if its possible to retrive all the key from PrivateStorage.
Let say we have:
bookmarks under: “storage” key
Foods likes and dislikes under: “foodProfile” key
Movies profile under: “moviesProfile” key
With this code:
Element element = userElement.addElement(“storage”, “storage:bookmarks”);
Element result = privateStorage.get(userName, element); <- this statement will retrive all the bookmarks stored under the key “storage” but what if I don’t know all the keys ?
I was trying to retrive from an higher level:
Element element = userElement.addElement(“query”, “jabber:iq:private”)
Element result = privateStorage.get(userName, element);
But I got an empty elemnt.
There is a way to achive that ?
Exist any method like:
KeySet key = privateStorage.getkey(userName);