Examples of newChild()


Examples of ch.inftec.ju.util.persistable.GenericMementoUtils.GenericMementoBuilder.newChild()

        GenericMementoBuilder groupBuilder = setBuilder.newChild()
          .add("groupName", group.getDescriptor().getName())
          .add("groupDescription", group.getDescriptor().getDescription());
         
        for (DbAction action : group.actions) {
          groupBuilder.newChild()
            .add("@type", DbChangeUtils.TYPE_HANDLER.getTypeName(action))
            .add(action.createMemento())
          .childDone();         
        }
       
View Full Code Here

Examples of org.apache.isis.core.tck.dom.refs.BidirWithListParentEntity.newChild()

        iswf.bounceSystem();
       
        iswf.beginTran();
        BidirWithListParentEntity retrievedEntity = repo.list().get(0);
        retrievedEntity.newChild("Child 1 of Parent 1");
        retrievedEntity.newChild("Child 2 of Parent 1");
        retrievedEntity.newChild("Child 3 of Parent 1");
        iswf.commitTran();

        iswf.bounceSystem();
View Full Code Here

Examples of org.apache.isis.core.tck.dom.refs.BidirWithSetParentEntity.newChild()

        iswf.bounceSystem();
       
        iswf.beginTran();
        BidirWithSetParentEntity retrievedEntity = repo.list().get(0);
        retrievedEntity.newChild("Child 1 of Parent 1");
        retrievedEntity.newChild("Child 2 of Parent 1");
        retrievedEntity.newChild("Child 3 of Parent 1");
        iswf.commitTran();

        iswf.bounceSystem();
View Full Code Here

Examples of org.apache.isis.core.tck.dom.refs.ParentEntity.newChild()

        createEntity("parent 5");
    }

    private ParentEntity createEntity(final String name) {
        final ParentEntity parent = parentEntityRepository.newEntity(name);
        parent.newChild("child 1");
        parent.newChild("child 2");
        return parent;
    }

    private ParentEntityRepository parentEntityRepository;
View Full Code Here

Examples of org.apache.isis.core.tck.dom.refs.UnidirFkParentEntity.newChild()

        iswf.bounceSystem();
       
        iswf.beginTran();
        UnidirFkParentEntity retrievedEntity = repo.list().get(0);
        retrievedEntity.newChild("Child 1 of Parent 1");
        retrievedEntity.newChild("Child 2 of Parent 1");
        retrievedEntity.newChild("Child 3 of Parent 1");
        iswf.commitTran();

        iswf.bounceSystem();
View Full Code Here

Examples of org.apache.isis.core.tck.dom.refs.UnidirJoinParentEntity.newChild()

        iswf.bounceSystem();
       
        iswf.beginTran();
        UnidirJoinParentEntity retrievedEntity = repo.list().get(0);
        retrievedEntity.newChild("Child 1 of Parent 1");
        retrievedEntity.newChild("Child 2 of Parent 1");
        retrievedEntity.newChild("Child 3 of Parent 1");
        iswf.commitTran();

        iswf.bounceSystem();
View Full Code Here

Examples of org.apache.isis.tck.dom.assocs.ParentEntity.newChild()

        createEntity("parent 5");
    }

    private ParentEntity createEntity(final String name) {
        final ParentEntity parent = parentEntityRepository.newEntity(name);
        parent.newChild("child 1");
        parent.newChild("child 2");
        return parent;
    }

    private ParentEntityRepository parentEntityRepository;
View Full Code Here

Examples of org.eclipse.aether.RequestTrace.newChild()

                modelRequest.setProcessPlugins( false );
                modelRequest.setTwoPhaseBuilding( false );
                modelRequest.setSystemProperties( toProperties( session.getUserProperties(),
                                                                session.getSystemProperties() ) );
                modelRequest.setModelCache( DefaultModelCache.newInstance( session ) );
                modelRequest.setModelResolver( new DefaultModelResolver( session, trace.newChild( modelRequest ),
                                                                         request.getRequestContext(), artifactResolver,
                                                                         remoteRepositoryManager,
                                                                         request.getRepositories() ) );
                if ( resolveResult.getRepository() instanceof WorkspaceRepository )
                {
View Full Code Here

Examples of org.eclipse.core.runtime.SubMonitor.newChild()

    SubMonitor subMonitor = null;
    try {
      if (workspaceVersion != getCurrentFormatVersion()) {
        progressMonitor.beginLongOperation();
        subMonitor = SubMonitor.convert(progressMonitor, "Please wait while RSSOwl migrates data to the new version", 100);
        reindexRequired = migrate(workspaceVersion, getCurrentFormatVersion(), subMonitor.newChild(10));
      }

      fObjectContainer = createObjectContainer(config);

      fireDatabaseEvent(new DatabaseEvent(fObjectContainer, fLock), true);
View Full Code Here

Examples of org.eclipse.core.runtime.SubMonitor.newChild()

       * but we have the check anyway to
       */
      if (subMonitor != null && reindexRequired) {
        IModelSearch modelSearch = InternalOwl.getDefault().getPersistenceService().getModelSearch();
        modelSearch.startup();
        modelSearch.reindexAll(subMonitor.newChild(90));
      }
    } finally {
      /*
       * If we perform the migration, the subMonitor is not null. Otherwise we
       * don't show progress.
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.