Package org.apache.jackrabbit.oak.plugins.value

Examples of org.apache.jackrabbit.oak.plugins.value.ValueFactoryImpl$ErrorValue


                return namespaces.getSessionLocalMappings();
            }
        };
        this.namePathMapper = new NamePathMapperImpl(
                nameMapper, delegate.getIdManager());
        this.valueFactory = new ValueFactoryImpl(
                delegate.getRoot(), namePathMapper);
    }
View Full Code Here


            protected Root getWriteRoot() {
                return root;
            }
        };

        this.vf = new ValueFactoryImpl(root, new NamePathMapperImpl(
                new GlobalNameMapper(root.getTree("/"))));
    }
View Full Code Here

        this.userManager = userManager;
        this.root = root;
        this.mode = mode;
        this.options = (options == null) ? ConfigurationParameters.EMPTY : options;

        valueFactory = new ValueFactoryImpl(root, NamePathMapper.DEFAULT);
        initialized = true;
        return true;
    }
View Full Code Here

        registerNamespace(TestNameMapper.TEST_PREFIX, TestNameMapper.TEST_URI);
        nameMapper = new TestNameMapper(Namespaces.getNamespaceMap(root.getTree("/")));
        npMapper = new NamePathMapperImpl(nameMapper);

        acMgr = getAccessControlManager(npMapper);
        valueFactory = new ValueFactoryImpl(root, npMapper);

        NodeUtil rootNode = new NodeUtil(root.getTree("/"), npMapper);
        rootNode.addChild(testName, JcrConstants.NT_UNSTRUCTURED);
        root.commit();
View Full Code Here

                return namespaces.getSessionLocalMappings();
            }
        };
        this.namePathMapper = new NamePathMapperImpl(
                nameMapper, delegate.getIdManager());
        this.valueFactory = new ValueFactoryImpl(
                delegate.getRoot(), namePathMapper);
    }
View Full Code Here

                return namespaces.getSessionLocalMappings();
            }
        };
        this.namePathMapper = new NamePathMapperImpl(
                nameMapper, delegate.getIdManager());
        this.valueFactory = new ValueFactoryImpl(
                delegate.getRoot().getBlobFactory(), namePathMapper);
    }
View Full Code Here

    @Before
    @Override
    public void before() throws Exception {
        super.before();

        valueFactory = new ValueFactoryImpl(root.getBlobFactory(), namePathMapper);
        globValue = valueFactory.createValue("*");
        nameValue = valueFactory.createValue("nt:file", PropertyType.NAME);
        nameValues = new Value[] {
                valueFactory.createValue("nt:folder", PropertyType.NAME),
                valueFactory.createValue("nt:file", PropertyType.NAME)
View Full Code Here

        testPrincipal = new Principal() {
            public String getName() {
                return "TestPrincipal";
            }
        };
        ValueFactory valueFactory = new ValueFactoryImpl(root.getBlobFactory(), namePathMapper);
        globValue = valueFactory.createValue("*");
        nameValue = valueFactory.createValue("nt:file", PropertyType.NAME);
        nameValues = new Value[] {
                valueFactory.createValue("nt:folder", PropertyType.NAME),
                valueFactory.createValue("nt:file", PropertyType.NAME)
        };
    }
View Full Code Here

        }
        return privMgr;
    }

    protected ValueFactory getValueFactory() {
        return new ValueFactoryImpl(root.getBlobFactory(), getNamePathMapper());
    }
View Full Code Here

        registerNamespace(TestNameMapper.TEST_PREFIX, TestNameMapper.TEST_URI);
        nameMapper = new TestNameMapper(Namespaces.getNamespaceMap(root.getTree("/")));
        npMapper = new NamePathMapperImpl(nameMapper);

        acMgr = getAccessControlManager(npMapper);
        valueFactory = new ValueFactoryImpl(root.getBlobFactory(), npMapper);

        NodeUtil rootNode = new NodeUtil(root.getTree("/"), npMapper);
        rootNode.addChild(testName, JcrConstants.NT_UNSTRUCTURED);
        root.commit();
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.plugins.value.ValueFactoryImpl$ErrorValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.