Package org.openbravo.model.common.businesspartner

Examples of org.openbravo.model.common.businesspartner.Greeting


    setUserContext("1000000");

    addReadWriteAccess(Greeting.class);

    // only do one greeting
    final Greeting greeting = (Greeting) OBProvider.getInstance().get(Greeting.class);
    final String id = "" + System.currentTimeMillis();
    greeting.setName("test" + id);
    greeting.setId(id);
    greeting.setTitle("test");
    final List<Greeting> newGs = new ArrayList<Greeting>();
    newGs.add(greeting);
    final String xml = getXML(newGs);

    final ImportResult ir = DataImportService.getInstance().importDataFromXML(c, o, xml);
View Full Code Here

TOP

Related Classes of org.openbravo.model.common.businesspartner.Greeting

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.