コード例 #1
0
 protected void unIndex(SystemEnvironment env, SDMSObject o) throws SDMSException {
   idx_name.remove(env, ((SDMSGroupGeneric) o).name, o);
   SDMSKey k;
   k = new SDMSKey();
   k.add(((SDMSGroupGeneric) o).name);
   k.add(((SDMSGroupGeneric) o).deleteVersion);
   idx_name_deleteVersion.remove(env, k, o);
 }
コード例 #2
0
 protected void index(SystemEnvironment env, SDMSObject o, long indexMember) throws SDMSException {
   idx_name.put(env, ((SDMSGroupGeneric) o).name, o, ((1 & indexMember) != 0));
   SDMSKey k;
   k = new SDMSKey();
   k.add(((SDMSGroupGeneric) o).name);
   k.add(((SDMSGroupGeneric) o).deleteVersion);
   idx_name_deleteVersion.put(env, k, o, ((2 & indexMember) != 0));
 }
コード例 #3
0
 protected void unIndex(SystemEnvironment env, SDMSObject o) throws SDMSException {
   idx_smeId.remove(env, ((SDMSTriggerQueueGeneric) o).smeId, o);
   idx_trId.remove(env, ((SDMSTriggerQueueGeneric) o).trId, o);
   SDMSKey k;
   k = new SDMSKey();
   k.add(((SDMSTriggerQueueGeneric) o).smeId);
   k.add(((SDMSTriggerQueueGeneric) o).trId);
   idx_smeId_trId.remove(env, k, o);
 }
コード例 #4
0
 protected void index(SystemEnvironment env, SDMSObject o, long indexMember) throws SDMSException {
   idx_smeId.put(env, ((SDMSTriggerQueueGeneric) o).smeId, o, ((1 & indexMember) != 0));
   idx_trId.put(env, ((SDMSTriggerQueueGeneric) o).trId, o, ((2 & indexMember) != 0));
   SDMSKey k;
   k = new SDMSKey();
   k.add(((SDMSTriggerQueueGeneric) o).smeId);
   k.add(((SDMSTriggerQueueGeneric) o).trId);
   idx_smeId_trId.put(env, k, o, ((4 & indexMember) != 0));
 }
コード例 #5
0
 public String checkIndex(SDMSObject o) throws SDMSException {
   String out = "";
   boolean ok;
   ok = idx_name.check(((SDMSGroupGeneric) o).name, o);
   out = out + "idx_name: " + (ok ? "ok" : "missing") + "\n";
   SDMSKey k;
   k = new SDMSKey();
   k.add(((SDMSGroupGeneric) o).name);
   k.add(((SDMSGroupGeneric) o).deleteVersion);
   ok = idx_name_deleteVersion.check(k, o);
   out = out + "idx_name_deleteVersion: " + (ok ? "ok" : "missing") + "\n";
   return out;
 }
コード例 #6
0
 public String checkIndex(SDMSObject o) throws SDMSException {
   String out = "";
   boolean ok;
   ok = idx_smeId.check(((SDMSTriggerQueueGeneric) o).smeId, o);
   out = out + "idx_smeId: " + (ok ? "ok" : "missing") + "\n";
   ok = idx_trId.check(((SDMSTriggerQueueGeneric) o).trId, o);
   out = out + "idx_trId: " + (ok ? "ok" : "missing") + "\n";
   SDMSKey k;
   k = new SDMSKey();
   k.add(((SDMSTriggerQueueGeneric) o).smeId);
   k.add(((SDMSTriggerQueueGeneric) o).trId);
   ok = idx_smeId_trId.check(k, o);
   out = out + "idx_smeId_trId: " + (ok ? "ok" : "missing") + "\n";
   return out;
 }