Examples of update()


Examples of helma.objectmodel.db.DbMapping.update()

                // parent prototype for prototypes other than
                // global and HopObject, which is a bit awkward...
                // I mean we're the type manager, so this should
                // be part of our job, right?
                proto.props.update();
                dbmap.update();
            }
        }
        if (debug) {
            System.err.println("Finished CHECK in " + Thread.currentThread());
        }
View Full Code Here

Examples of henplus.view.util.ProgressWriter.update()

            rset = dumpSource.getResultSet();
            stmt = dumpSource.getStatement();
            boolean isFirst = true;
            while (_running && rset.next()) {
                ++rows;
                progressWriter.update(rows);
                if (!isFirst) {
                    dumpOut.print("\n\t");
                }
                isFirst = false;
                dumpOut.print("(");
View Full Code Here

Examples of hermes.browser.actions.BrowseContextAction.update()

   }

   public void actionPerformed(ActionEvent e)
   {
      final BrowseContextAction browseContext = (BrowseContextAction) HermesBrowser.getBrowser().getDocumentPane().getActiveDocument();
      browseContext.update();
   }
}
View Full Code Here

Examples of hermes.browser.actions.BrowserAction.update()

      }
      else if (HermesBrowser.getBrowser().getDocumentPane().getActiveDocument() instanceof BrowseContextAction)
      {
         final BrowseContextAction action = (BrowseContextAction) HermesBrowser.getBrowser().getDocumentPane().getActiveDocument() ;
                
         action.update() ;
      }
   }
}
View Full Code Here

Examples of in.partake.service.IEventSearchService.update()

        Event event = transaction.getEvent();
        IEventSearchService searchService = PartakeApp.getEventSearchService();
        if (!event.isSearchable())
            searchService.remove(eventId);
        else if (searchService.hasIndexed(eventId))
            searchService.update(event, tickets);
        else
            searchService.create(event, tickets);

        return renderOK();
    }
View Full Code Here

Examples of indextype.Index1Type1.update()

                Index1Type1 index1Type1 = new Index1Type1("1", "name1", "category", new Date(),location);
                index1Type1.index();
                Map<String, Object> fieldNewValues = new HashMap<>();
                fieldNewValues.put("name", "new-name");
                String updateScript = "ctx._source.name = name";
                index1Type1.update(fieldNewValues, updateScript);

                Index1Type1 index1Type11 = Index1Type1.find.byId("1");
                assertThat(index1Type11.name).isEqualTo("new-name");

                // Async
View Full Code Here

Examples of info.archinnov.achilles.internal.context.facade.PersistenceManagerOperations.update()

        proxifier.ensureProxy(entity);
        Object realObject = proxifier.getRealObject(entity);
        entityValidator.validateEntity(realObject, entityMetaMap);
        optionsValidator.validateOptionsForUpsert(entity, entityMetaMap, options);
        PersistenceManagerOperations context = initPersistenceContext(realObject, options);
        return context.update(entity);
    }

    protected <T> AchillesFuture<T> asyncInsertOrUpdate(T entity, Options options) {
        entityValidator.validateEntity(entity, entityMetaMap);
        if (proxifier.isProxy(entity)) {
View Full Code Here

Examples of info.archinnov.achilles.persistence.Batch.update()

        Batch batch = pmf.createBatch();
        batch.startBatch(ONE);
        managed.setName("changed_name");
        logAsserter.prepareLogLevel();

        batch.update(managed);

        batch.endBatch();
        logAsserter.assertConsistencyLevels(ONE);
        assertThatBatchContextHasBeenReset(batch);
View Full Code Here

Examples of invaders101.entities.BaseEntity.update()

        // be resolved, cycle round every entity requesting that
        // their personal logic should be considered.
        if (logicRequiredThisLoop) {
            for (int i = 0; i < entities.size(); i++) {
                BaseEntity entity = entities.get(i);
                entity.update(delta);
            }
            logicRequiredThisLoop = false;
        }
        sprite.update(delta);
    }
View Full Code Here

Examples of invaders101.interfaces.Updateable.update()

    }

    private void update(long delta) {
        for (int i = 0; i < entities.size(); i++) {
            Updateable entity = entities.get(i);
            entity.update(delta);
        }
        ship.hadleShipInput(keyInputHandler.isLeftPressed(), keyInputHandler.isRightPressed(),
                keyInputHandler.isFirePressed());
    }
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.