Examples of createEntity()


Examples of org.jitterbit.integration.client.ui.interchange.entity.InterchangeEntityFactory.createEntity()

    @Override
    protected void performActionOn(WebServiceCall wsCall) {
        UiEntityFactory factory = new InterchangeEntityFactory(getView());
        UiEntityFactory.Callback callback = new TransformationDecorator(wsCall);
        factory.createEntity(EntityType.Transformation, true, callback);
    }


    private static class TransformationDecorator extends AbstractTransformationDecorator {
View Full Code Here

Examples of org.jitterbit.integration.data.entity.factory.FolderFactory.createEntity()

    }

    private void createFolder() {
        ParentFolderLocator locator = new ParentFolderLocator(view);
        IntegrationEntityFactory factory = new FolderFactory();
        factory.createEntity(locator.getParent(EntityType.Folder), new FactoryCallback());
    }

    private void setEnabled() {
        setEnabled(parent != null && itemType != null);
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.factory.IntegrationEntityFactory.createEntity()

    @Override
    public void createEntity(EntityType type, Folder parent, boolean openEditor, Callback callback) {
        checkArgument(type != EntityType.Folder, "Folders cannot be created through this factory");
        IntegrationEntityFactoryCallback factoryCallback = createFactoryCallback(type, callback, openEditor);
        IntegrationEntityFactory factory = getEntityFactory(type);
        factory.createEntity(parent, factoryCallback);
    }

    private IntegrationEntityFactory getEntityFactory(EntityType type) {
        EntityConfig config = view.getEntityConfig(type);
        return config.getFactory();
View Full Code Here

Examples of org.openbp.server.persistence.PersistenceContext.createEntity()

   * The new workflow task
   */
  public WorkflowTask createWorkflowTask(final TokenContext context)
  {
    PersistenceContext pc = getPersistenceContextProvider().obtainPersistenceContext();
    WorkflowTask workflowTask = (WorkflowTask) pc.createEntity(WorkflowTask.class);

    // Link workflow task and context
    workflowTask.setTokenContext(context);

    return workflowTask;
View Full Code Here

Examples of org.spout.api.entity.EntityPrefab.createEntity()

    //TODO ServerEntityPrefab!
    //How about some client support?
    final Entity entity;
    if (getEngine() instanceof Client) {
      final EntityPrefab prefab = getEngine().getFileSystem().getResource("entity://Vanilla/entities/" + clazz.getSimpleName().toLowerCase() + "/" + clazz.getSimpleName().toLowerCase() + ".sep");
      entity = prefab.createEntity(player.getPhysics().getPosition());
    } else {
      entity = player.getWorld().createEntity(player.getPhysics().getPosition(), clazz);
    }
    //Optional param was provided (ie the block material for a falling block).
    if (args.length() == 2) {
View Full Code Here

Examples of org.spout.api.geo.World.createEntity()

        list.add(paintingType);
      }
    }
    PaintingType paintingType = list.get(GenericMath.getRandom().nextInt(list.size() - 1));

    Entity e = world.createEntity(paintingType.getCenter(against, block.getPosition()), Painting.class);
    Painting painting = e.add(Painting.class);
    painting.setType(paintingType);
    painting.setFace(against);
    world.spawnEntity(e);
  }
View Full Code Here

Examples of rakama.worldtools.data.entity.EntityFactory.createEntity()

        Tag tagEntities = level.get("Entities");  
        if(tagEntities != null)
        {
            ListTag<CompoundTag> list = (ListTag<CompoundTag>)tagEntities;           
            for(int i=0; i<list.size(); i++)
                chunk.entities.add(factory.createEntity(list.get(i)));
        }
       
        Tag tagTileEntities = level.get("TileEntities");
        if(tagEntities != null)
        {
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.