public static RepositoryManager getRepository(Principal currentUser, boolean stateful) { return getRepo(currentUser, stateful);
public static RepositoryManager getRepository() { return getRepo(null, false);
    public static RepositoryManager getRepository(Principal currentUser, boolean stateful) {        return getRepo(currentUser, stateful);    }