Examples of ValueFactoryImpl


Examples of org.apache.jackrabbit.core.value.ValueFactoryImpl

    /**
     * {@inheritDoc}
     */
    public ValueFactory getValueFactory() {
        if (valueFactory == null) {
            valueFactory = new ValueFactoryImpl(this, rep.getDataStore());
        }
        return valueFactory;
    }
View Full Code Here

Examples of org.apache.jackrabbit.oak.jcr.value.ValueFactoryImpl

    SessionImpl(GlobalContext globalContext, ContentSession contentSession)
            throws RepositoryException {
        this.globalContext = globalContext;
        this.contentSession = contentSession;
        this.valueFactory = new ValueFactoryImpl(contentSession.getCoreValueFactory(), namePathMapper);
        this.nsreg = new NamespaceRegistryImpl(contentSession);
        this.workspace = new WorkspaceImpl(sessionContext, this.nsreg);
        this.root = contentSession.getCurrentRoot();
    }
View Full Code Here

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

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

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

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

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

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

        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

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

        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

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

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

Examples of org.apache.jackrabbit.value.ValueFactoryImpl

                Value[] values = new Value[groupUsers.size()];
                for (ListIterator it = groupUsers.listIterator(); it.hasNext(); ) {
                    int index = it.nextIndex();
                    User groupUser = (User) it.next();
                    String currentUsername = groupUser.getUsername();
                    ValueFactory valueFactory = new ValueFactoryImpl();
                    values[index] = valueFactory.createValue(currentUsername);
                }
                groupNode.setProperty(NodesTypes.PREFIX + USERS_PROPERTY_NAME, values);
            }
           
           
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.value.ValueFactoryImpl

      FileCleanerHolder cleanerHolder =
         (FileCleanerHolder)container.getComponentInstanceOfType(FileCleanerHolder.class);

      this.locationFactory = new LocationFactory(this);
      this.valueFactory = new ValueFactoryImpl(locationFactory, wsConfig, cleanerHolder);

      this.namespaces = new LinkedHashMap<String, String>();
      this.prefixes = new LinkedHashMap<String, String>();

      // Observation manager per session
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.value.ValueFactoryImpl

      WorkspaceEntry wsConfig = (WorkspaceEntry)container.getComponentInstanceOfType(WorkspaceEntry.class);

      FileCleanerHolder cleanerHolder =
         (FileCleanerHolder)container.getComponentInstanceOfType(FileCleanerHolder.class);

      ValueFactoryImpl valueFactoryImpl = new ValueFactoryImpl(factory, wsConfig, cleanerHolder);

      try
      {
         BaseXmlExporter exporter =
            new ExportImportFactory().getExportVisitor(XmlMapping.DOCVIEW, contentHandler, skipBinary, noRecurse,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.