public final void move(String sessionId, XObject[] xObjects,
XStaticFolder toXFolder) throws DbOperationFailedException,
SessionExpiredException {
try {
ExplorerTreeNode root = FolderModel.getInstance().load(getLoggedInUser(sessionId));
FolderService folderService = ServiceProvider
.getFolderService(getLoggedInUser(sessionId));
ExplorerTreeNode folder = find(root, toXFolder.getId());
for (XObject xObject: xObjects) {
ExplorerTreeNode folderElement = find(root, xObject.getId());
folderElement.setParent(folder);
}
saveRoot(sessionId, root);
} catch (PaloIOException ope) {
ope.printStackTrace();