Package org.exoplatform.services.jcr.impl.core

Examples of org.exoplatform.services.jcr.impl.core.LocationFactory


            return false;
         }
      }

      NodeTypeDataManager ntManager = userSession.getWorkspace().getNodeTypesHolder();
      LocationFactory locationFactory = userSession.getLocationFactory();
      for (int i = 0; i < criteria.getNodeTypeName().length; i++)
      {
         InternalQName name = locationFactory.parseJCRName(criteria.getNodeTypeName()[i]).getInternalName();
         NodeTypeData criteriaNT = ntManager.findNodeType(name);
         InternalQName[] testQNames;
         if (criteriaNT.isMixin())
         {
            testQNames = node.getMixinTypeNames();
View Full Code Here


      DocumentReaderService extractor)
   {
      this.node = node;
      this.stateProvider = stateProvider;
      this.mappings = mappings;
      this.resolver = new LocationFactory(mappings);
      this.extractor = extractor;
      this.vFactory = new ValueFactoryImpl(this.resolver);
   }
View Full Code Here

      try
      {

         // final LocationFactory locationFactory = new
         // LocationFactory(this);
         final ValueFactoryImpl valueFactory = new ValueFactoryImpl(new LocationFactory(nsReg));
         BooleanQuery.setMaxClauseCount(Integer.MAX_VALUE);
         BooleanQuery query = new BooleanQuery();

         final String prefix = nsReg.getNamespacePrefixByURI(uri);
         query.add(new WildcardQuery(new Term(FieldNames.LABEL, prefix + ":*")), Occur.SHOULD);
View Full Code Here

      this.nodeTypeDataManager = nodeTypeDataManager;
      this.analyzer = analyzer;
      this.propRegistry = propReg;
      this.synonymProvider = synonymProvider;
      this.indexFormatVersion = indexFormatVersion;
      this.resolver = new LocationFactory(nsMappings);
   }
View Full Code Here

    */
   public void init(Element config, QueryHandlerContext context, NamespaceMappings nsMappings)
            throws RepositoryException, IllegalNameException
   {
      ism = context.getItemStateManager();
      resolver = new LocationFactory(context.getNamespaceRegistry());

      NodeTypeDataManager ntReg = context.getNodeTypeDataManager();

      List<AggregateRuleImpl> idxAggregates = new ArrayList<AggregateRuleImpl>();
      NodeList indexingConfigs = config.getChildNodes();
View Full Code Here

               // otherwise use repository wide stable index prefix from
               // namespace registry
               nsMappings = new NSRegistryBasedNamespaceMappings(context.getNamespaceRegistry());
            }
         }
         npResolver = new LocationFactory(nsMappings);

         indexingConfig = queryHandlerConfig.createIndexingConfiguration(nsMappings, context, cfm);

         queryHandlerConfig.getAnalyzer().setIndexingConfig(indexingConfig);
View Full Code Here

    */
   public FileBasedNamespaceMappings(File file) throws IOException
   {
      storage = file;
      load();
      nameResolver = new LocationFactory(this);
   }
View Full Code Here

    *          the namespace registry of the repository.
    */
   NSRegistryBasedNamespaceMappings(NamespaceRegistryImpl nsReg)
   {
      this.nsReg = nsReg;
      this.nameResolver = new LocationFactory(nsReg);
   }
View Full Code Here

            DocumentReaderService extractor)
   {
      this.node = node;
      this.stateProvider = stateProvider;
      this.mappings = mappings;
      this.resolver = new LocationFactory(mappings);
      this.extractor = extractor;
      this.vFactory = new ValueFactoryImpl(this.resolver);
   }
View Full Code Here

   public void setUp() throws Exception
   {
      if (factory == null)
      {
         namespaceRegistry = new NamespaceRegistryImpl();
         factory = new LocationFactory(namespaceRegistry);
      }
   }
View Full Code Here

TOP

Related Classes of org.exoplatform.services.jcr.impl.core.LocationFactory

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.