Examples of updateRecord()


Examples of com.esri.gpt.catalog.arcims.ImsMetadataAdminDao.updateRecord()

  }
 
  // update the administrative table
  ImsMetadataAdminDao imsDao = new ImsMetadataAdminDao(getRequestContext());
  imsDao.setUpdateIndex(getUpdateIndex());
  imsDao.updateRecord(schema,getPublicationRecord());
}

}
View Full Code Here

Examples of com.orientechnologies.orient.core.cache.ODatabaseRecordCache.updateRecord()

    for (OTransactionEntry txEntry : iEntries) {
      if (txEntry.status == OTransactionEntry.DELETED)
        dbCache.deleteRecord(txEntry.getRecord().getIdentity());
      else if (txEntry.status == OTransactionEntry.UPDATED || txEntry.status == OTransactionEntry.CREATED)
        dbCache.updateRecord(txEntry.getRecord());
    }
  }

  protected void invokeCommitAgainstListeners() {
    // WAKE UP LISTENERS
View Full Code Here

Examples of com.orientechnologies.orient.core.cache.OLevel1RecordCache.updateRecord()

      else if (txEntry.status == OTransactionRecordEntry.DELETED)
        // DELETION
        dbCache.deleteRecord(txEntry.getRecord().getIdentity());
      else if (txEntry.status == OTransactionRecordEntry.UPDATED || txEntry.status == OTransactionRecordEntry.CREATED)
        // UDPATE OR CREATE
        dbCache.updateRecord(txEntry.getRecord());
    }
  }

  protected void invokeCommitAgainstListeners() {
    // WAKE UP LISTENERS
View Full Code Here

Examples of com.orientechnologies.orient.core.cache.OLevel1RecordCache.updateRecord()

    for (OTransactionRecordEntry txEntry : iEntries) {
      if (txEntry.status == OTransactionRecordEntry.DELETED)
        dbCache.deleteRecord(txEntry.getRecord().getIdentity());
      else if (txEntry.status == OTransactionRecordEntry.UPDATED || txEntry.status == OTransactionRecordEntry.CREATED)
        dbCache.updateRecord(txEntry.getRecord());
    }
  }

  protected void invokeCommitAgainstListeners() {
    // WAKE UP LISTENERS
View Full Code Here

Examples of com.orientechnologies.orient.core.cache.OLevel1RecordCache.updateRecord()

    for (OTransactionRecordEntry txEntry : iEntries) {
      if (txEntry.status == OTransactionRecordEntry.DELETED)
        dbCache.deleteRecord(txEntry.getRecord().getIdentity());
      else if (txEntry.status == OTransactionRecordEntry.UPDATED || txEntry.status == OTransactionRecordEntry.CREATED)
        dbCache.updateRecord(txEntry.getRecord());
    }
  }

  protected void invokeCommitAgainstListeners() {
    // WAKE UP LISTENERS
View Full Code Here

Examples of com.orientechnologies.orient.core.cache.OLocalRecordCache.updateRecord()

      else if (txEntry.type == ORecordOperation.DELETED)
        // DELETION
        dbCache.deleteRecord(txEntry.getRecord().getIdentity());
      else if (txEntry.type == ORecordOperation.UPDATED || txEntry.type == ORecordOperation.CREATED)
        // UDPATE OR CREATE
        dbCache.updateRecord(txEntry.getRecord());
    }
  }

  public boolean isActive() {
    return status != TXSTATUS.INVALID && status != TXSTATUS.COMPLETED && status != TXSTATUS.ROLLED_BACK;
View Full Code Here

Examples of com.orientechnologies.orient.core.storage.OCluster.updateRecord()

            makeStorageDirty();
            atomicOperationsManager.startAtomicOperation();
            try {
              if (updateContent)
                cluster.updateRecord(rid.clusterPosition, content, ppos.recordVersion, recordType);

              final ORecordSerializationContext context = ORecordSerializationContext.getContext();
              if (context != null)
                context.executeOperations(this);
              atomicOperationsManager.endAtomicOperation(false);
View Full Code Here

Examples of nz.co.transparent.client.controller.GenericController.updateRecord()

    GenericController genericController = GenericController.getInstance();
   
    try {
      Map parameterMap = genericController.findWhere("parameter", "parameter_key='" + parameterKey + "'");
      parameterMap.put("parameter", parameterValue);
      genericController.updateRecord("parameter", "parameter_id", parameterMap);
      return true;
    } catch (FinderException fe) {
      return false;
    } catch (UpdaterException ue) {
      return false;
View Full Code Here

Examples of nz.co.transparent.client.controller.GenericController.updateRecord()

//      columnMap.put("title", "Title changed 111");
//      nz.co.transparent.client.controller.updateRecord("title", "title_id", columnMap);
      Map columnMap = controller.findWhere("client", "client_id=5");
      //columnMap.put("client_id", new String("5")); // wil not work, must be Integer
      columnMap.put("first_name", "first_name 5");
      controller.updateRecord("client", "client_id", columnMap);
    } catch (FinderException ce) {
      System.out.println("FinderException: " + ce.getMessage());
      return;
    } catch (UpdaterException ce) {
      System.out.println("UpdaterException: " + ce.getMessage());
View Full Code Here

Examples of nz.co.transparent.client.controller.GenericTransactionController.updateRecord()

//      columnMap.put("role_code", "B");
//      columnMap.put("date_created", new Date());
//      columnMap.put("date_updated", new Date());
//      columnMap.put("updater_person_id", new Integer(3));
     
      controller.updateRecord("role", "role_code", columnMap);
      conn.commit();
      DbUtils.close(conn);
    } catch (FinderException ce) {
      System.out.println("FinderException: " + ce.getMessage());
      return;
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.