Examples of applyChanges()


Examples of com.screenrunner.ui.Display.applyChanges()

    } else {
      disp.prepareNextBackground(style, "default");
      disp.prepareNextSlide(null, 0, style);
    }
   
    disp.applyChanges();
  }
 
  public ComponentListener component = new ComponentListener() {

    @Override
View Full Code Here

Examples of ecks.Utility.ChanModes.applyChanges()

    public static void chanBurst(int ts, String channel, String modes, String[] users) {
        ChanModes m = new ChanModes();
        Map<Client, UserModes> cm = new HashMap<Client, UserModes>();

        m.applyChanges(modes);
        Map<Character, Character> xlate = curProtocol.getPrefixMap();

        if (users.length != 0)
            for (String user : users) {
                UserModes t = new UserModes();
View Full Code Here

Examples of ecks.Utility.UserModes.applyChanges()

                    }
                }

                z = Users.get(tUser);
                if (tMode != null)
                    t.applyChanges(tMode);
                cm.put(z, t); // add this client -> mode mapping to channel

            }

        if (Channels.containsKey(channel.toLowerCase())) {
View Full Code Here

Examples of edu.stanford.bmir.protege.web.server.owlapi.OWLAPIProject.applyChanges()

            description.append("Set term namespace to ");
            description.append(termId.getNamespace());
        }
        if (!changes.isEmpty()) {
            UserId userId = getUserInSessionAndEnsureSignedIn();
            project.applyChanges(userId, changes, description.toString().trim());
        }
    }

    public List<OBOXRef> getXRefs(ProjectId projectId, OWLEntity term) {
        OWLAPIProject project = getProject(projectId);
View Full Code Here

Examples of org.apache.felix.prefs.PreferencesImpl.applyChanges()

            // load existing data
            final PreferencesImpl savedData = this.load(prefs.getBackingStoreManager(), prefs.getDescription());
            if ( savedData != null ) {
                // merge with saved version
                final PreferencesImpl n = savedData.getOrCreateNode(prefs.absolutePath());
                n.applyChanges(prefs);
                prefs = n;
            }
            this.writePreferences(prefs, session);
        }
        // now process children
View Full Code Here

Examples of org.apache.tuscany.das.rdb.DAS.applyChanges()

            customer.set("address", customerProfile.getAddress());
            customer.set("email", customerProfile.getEmail());
            customer.set("loginID", customerProfile.getLoginID());
            customer.set("password", customerProfile.getPassword());

            das.applyChanges(root);
            return getCustomerProfile(customerProfile.getLoginID());

        } catch (Exception e) {
            if (e instanceof RemoteException) {
                throw (RemoteException) e;
View Full Code Here

Examples of org.apache.tuscany.das.rdb.DAS.applyChanges()

        stockPurchase.set("quantity", new Integer(sp.getStock().getQuantity()));
        stockPurchase.set("purchasePrice", new Float(11.00));
        // String type = stockPurchase.getType().getProperty("purchaseDate").getType().toString();
        stockPurchase.setDate("purchaseDate", new Date());

        das.applyChanges(root);
    }

    public CustomerProfileData testgetCustomerByLoginIDThroughDASRead(final String logonID) throws Exception {
        InputStream mapping = createConfigStream();
        Connection conn = createConnection();
View Full Code Here

Examples of org.apache.tuscany.das.rdb.DAS.applyChanges()

        cust.getList("orders").add(order);

        assertEquals(custOrderCount + 1, cust.getList("orders").size());

        // Build apply changes command     
        das.applyChanges(root);

        // verify cust1 relationship updates
        select = das.createCommand("SELECT * FROM CUSTOMER LEFT JOIN ANORDER "
                + "ON CUSTOMER.ID = ANORDER.CUSTOMER_ID where CUSTOMER.ID = ?");

View Full Code Here

Examples of org.apache.tuscany.das.rdb.DAS.applyChanges()

        newCust.set("LASTNAME", "Gerkin");

        // Now delete this new customer
        newCust.delete();

        das.applyChanges(root);

        // Verify
        root = read.executeQuery();
        assertEquals(numCustomers, root.getList("CUSTOMER").size());
View Full Code Here

Examples of org.apache.tuscany.das.rdb.DAS.applyChanges()

            // department.getString("NAME"));
            department.setString("NAME", "Dept-" + random);
            random = random + 1;
        }

        das.applyChanges(root);
    }

    /**
     * Yin Chen reports ... "In the class Statement, method: public int
     * executeUpdate(Parameters parameters) - its tossing out RuntimeException
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.