class SessionFacade implements Session {

    @Override
    public final void refresh(boolean keepChanges) throws RepositoryException {
        if (notProtected) {
            delegate.refresh(keepChanges);
        }
    }

    public  SessionFacade(final @NotNull S delegate, final boolean notProtected);

}