Examples of create()


Examples of com.centraview.view.ViewHome.create()

          selectedColumn.add(ddSelectedColumn);
        }
      }
      viewVO.setViewColumnVO(columnInfo);
      ViewHome viewHome = (ViewHome)CVUtility.getHomeObject("com.centraview.view.ViewHome", "View");
      View remote = viewHome.create();
      remote.setDataSource(dataSource);
      if (request.getParameter("TYPEOFOPERATION").equals("ADD"))
      {
        viewId = remote.addView(userId, viewVO);
        viewForm.setViewId(viewId + "");

Examples of com.ceph.rbd.Rbd.create()

                r.connect();
                s_logger.debug("Succesfully connected to Ceph cluster at " + r.confGet("mon_host"));

                IoCTX io = r.ioCtxCreate(pool.getSourceDir());
                Rbd rbd = new Rbd(io);
                rbd.create(name, size, this.rbdFeatures, this.rbdOrder);

                r.ioCtxDestroy(io);
            } catch (RadosException e) {
                throw new CloudRuntimeException(e.toString());
            } catch (RbdException e) {

Examples of com.changestuffs.shared.factory.MyAutoBeanFactory.create()

    MyAutoBeanFactory beanFactory = AutoBeanFactorySource.create(MyAutoBeanFactory.class);
    MessageResponse response = new MessageResponse();
    response.setFrom(from);
    response.setMessage(body);
    response.setMessageType(type);
    AutoBean<IMessageResponse> bean = beanFactory.create(IMessageResponse.class, response);
    String json = AutoBeanCodex.encode(bean).getPayload();
    return json;
  }
 
}

Examples of com.cicadalane.androlate.AndrolateWizardDialog.create()

    AndrolateWizard wizard = new AndrolateWizard(project);

    // Create the wizard dialog
    AndrolateWizardDialog dialog = new AndrolateWizardDialog(shell, wizard);

    dialog.create();
    dialog.open();
  }

  /**
   * @see IActionDelegate#selectionChanged(IAction, ISelection)

Examples of com.clarkparsia.empire.ds.DataSourceFactory.create()

   */
  public DataSource createDataSource(final String theUnitName, final Map theMap) throws DataSourceException {
    DataSourceFactory aFactory = selectFactory(theUnitName, theMap);

    if (aFactory != null) {
      return aFactory.create(createUnitConfig(theUnitName, theMap));
    }
    else {
      return null;
    }
  }

Examples of com.cloud.domain.dao.DomainDao.create()

  public void testDomain() {
    getRandomMilliseconds(1, 100);   
    DomainDao domainDao = new DomainDaoImpl();
   
    DomainVO domain1 = new DomainVO("d1", 2L, 1L, null);
    domainDao.create(domain1);
   
    DomainVO domain2 = new DomainVO("d2", 2L, 1L, null);
    domainDao.create(domain2);
   
    DomainVO domain3 = new DomainVO("d3", 2L, 1L, null);

Examples of com.cloud.domain.dao.DomainDaoImpl.create()

  public void testDomain() {
    getRandomMilliseconds(1, 100);   
    DomainDao domainDao = new DomainDaoImpl();
   
    DomainVO domain1 = new DomainVO("d1", 2L, 1L, null);
    domainDao.create(domain1);
   
    DomainVO domain2 = new DomainVO("d2", 2L, 1L, null);
    domainDao.create(domain2);
   
    DomainVO domain3 = new DomainVO("d3", 2L, 1L, null);

Examples of com.cloud.event.ActionEvent.create()

        @Override
        public void interceptComplete(Method method, Object target, Object event) {
            ActionEvent actionEvent = method.getAnnotation(ActionEvent.class);
            if (actionEvent != null) {
                CallContext ctx = CallContext.current();
                if (!actionEvent.create()) {
                    publishOnMessageBus(EventCategory.ACTION_EVENT.getName(), actionEvent.eventType(), ctx.getEventDetails(), com.cloud.event.Event.State.Completed);
                }
            }
        }

Examples of com.cloud.storage.template.TemplateLocation.create()

            qcow2Processor.configure("QCOW2 Processor", params);
            FormatInfo info = qcow2Processor.process(templatePath, null,
                    tmplName);

            TemplateLocation loc = new TemplateLocation(_storage, templatePath);
            loc.create(1, true, tmplName);
            loc.addFormat(info);
            loc.save();

            return new CreatePrivateTemplateAnswer(cmd, true, "", tmplPath,
                    info.virtualSize, info.size, tmplName, info.format);

Examples of com.cloud.template.TemplateAdapter.create()

            ans = _agentMgr.send(hostId, boot);
            if (!ans.getResult()) {
                throw new Exception("Boot/Reboot host " + hostId + " failed");
            }

            VMTemplateVO tmpl = adapter.create(tmplProfile);
            s_logger.debug("Create baremetal template for host " + hostId + " successfully, template id:" + tmpl.getId());
            return tmpl;
        } catch (Exception e) {
            s_logger.debug("Create baremetal tempalte for host " + hostId + " failed", e);
            throw new CloudRuntimeException(e.getMessage());
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.