/**
* Returns the content repository root for the current user, or null upon
* error.
*/
private ContentCollection getUserRoot() {
ContentRepositoryRegistry reg = ContentRepositoryRegistry.getInstance();
ContentRepository repo = reg.getRepository(loginInfo);
try {
return repo.getUserRoot();
} catch (ContentRepositoryException excp) {
LOGGER.log(Level.WARNING, "Unable to find repository root", excp);
return null;