Examples of deleteRecord()


Examples of asjava.uniobjects.UniFile.deleteRecord()

        assertFalse(READ_ONLY);
        try {
            LocalParams local_params = new LocalParams(db.uSession, params_fn);
            UniFile fd = local_params.open();
            fd.deleteRecord(person_id);
            fd.close();
        } catch (UniFileException ex) {
            System.err.println("setNewSecretParams - " + ex);
            System.err.println("setNewSecretParams - No record to delete");
        }
View Full Code Here

Examples of bm.storage.Store.deleteRecord()

                rs.open();
                if( sendProgressEvents )
                {
                    event.dispatch();
                }
                rs.deleteRecord( node.getRecordId().intValue() );
//                CacheManager.getInstance( CACHE_ZONE ).remove(
//                        getRecordCacheKey( node.getRecordId().intValue() )
//                );
            }
            catch( RSException e )
View Full Code Here

Examples of bm.storage.Store.deleteRecord()

            else if( directory.containsKey( key ) )
            {
                cache.remove( key );
                st = Store.get( rsName, 1 );
                st.open( true );
                st.deleteRecord( ((Integer) directory.get( key ) ).intValue() );
                directory.remove( key );
                saveDirectory();
            }
        }
        catch( Exception e )
View Full Code Here

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

  }
  this.hadUnalteredDraftDocuments = adminDao.hadUnalteredDraftDocuments();

  // check for a delete request
  if (sAction.equalsIgnoreCase("delete")) {
    nRows = adminDao.deleteRecord(getPublisher(), queryCriteria);
  }

  // check for an ownership transfer request
  if (sAction.equalsIgnoreCase("transfer")) {
    String sNewOwner = getActionCriteria().getTransferToOwner();
View Full Code Here

Examples of com.hazelcast.map.RecordStore.deleteRecord()

            backupProcessor.processBackup(entry);
            if (!entry.isModified()) {
                continue;
            }
            if (entry.getValue() == null) {
                recordStore.deleteRecord(key);
            } else {
                recordStore.putBackup(key, entry.getValue());
            }
        }
    }
View Full Code Here

Examples of com.hazelcast.map.RecordStore.deleteRecord()

        int partitionId = getPartitionId();
        RecordStore recordStore = mapService.getRecordStore(partitionId, name);
        Record record = recordStore.getRecord(dataKey);
        if (record != null) {
            updateSizeEstimator(-calculateRecordSize(record));
            recordStore.deleteRecord(dataKey);
        }
        if (unlockKey) {
            recordStore.forceUnlock(dataKey);
        }
    }
View Full Code Here

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

      final Iterable<? extends OTransactionEntry> iEntries) throws IOException {
    final ODatabaseRecordCache dbCache = iTx.getDatabase().getCache();

    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());
    }
  }
View Full Code Here

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

    final OLevel1RecordCache dbCache = (OLevel1RecordCache) iTx.getDatabase().getLevel1Cache();

    for (OTransactionRecordEntry txEntry : iEntries) {
      if (!iUpdateStrategy)
        // ALWAYS REMOVE THE RECORD FROM CACHE
        dbCache.deleteRecord(txEntry.getRecord().getIdentity());
      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
View Full Code Here

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

      if (!iUpdateStrategy)
        // ALWAYS REMOVE THE RECORD FROM CACHE
        dbCache.deleteRecord(txEntry.getRecord().getIdentity());
      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());
    }
  }
View Full Code Here

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

      final Iterable<? extends OTransactionRecordEntry> iEntries) throws IOException {
    final OLevel1RecordCache dbCache = (OLevel1RecordCache) iTx.getDatabase().getLevel1Cache();

    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());
    }
  }
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.