public void deleteTSecGroupMember(ICFSecurityTSecGroupMemberObj Obj) {
   ICFSecurityTSecGroupMemberObj obj = Obj;
   ((ICFBamSchema) schema.getBackingStore())
       .getTableTSecGroupMember()
       .deleteTSecGroupMember(schema.getAuthorization(), obj.getTSecGroupMemberBuff());
   obj.forget(true);
 }
 public void deleteISOCountryCurrency(ICFSecurityISOCountryCurrencyObj Obj) {
   ICFSecurityISOCountryCurrencyObj obj = Obj;
   ((ICFInternetSchema) schema.getBackingStore())
       .getTableISOCountryCurrency()
       .deleteISOCountryCurrency(schema.getAuthorization(), obj.getISOCountryCurrencyBuff());
   obj.forget(true);
 }
 public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   ICFSecuritySchemaObj schemaObj = swingSchema.getSchema();
   if (schemaObj == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj");
   }
   ICFSecurityHostNodeObj obj =
       (ICFSecurityHostNodeObj) schemaObj.getHostNodeTableObj().newInstance();
   ICFSecurityHostNodeEditObj edit = (ICFSecurityHostNodeEditObj) (obj.beginEdit());
   if (edit == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "edit");
   }
   ICFSecurityClusterObj secCluster = schemaObj.getSecCluster();
   edit.setRequiredContainerCluster(secCluster);
   JInternalFrame frame = swingSchema.getHostNodeFactory().newViewEditJInternalFrame(obj);
   frame.addInternalFrameListener(getViewEditInternalFrameListener());
   ICFSecuritySwingHostNodeJPanelCommon jpanelCommon =
       (ICFSecuritySwingHostNodeJPanelCommon) frame;
   jpanelCommon.setPanelMode(CFJPanel.PanelMode.Add);
   getDesktopPane().add(frame);
   frame.setVisible(true);
   frame.show();
 }
 public ICFSecurityISOCountryCurrencyObj readISOCountryCurrency(
     CFSecurityISOCountryCurrencyPKey pkey, boolean forceRead) {
   ICFSecurityISOCountryCurrencyObj obj = null;
   if ((!forceRead) && members.containsKey(pkey)) {
     obj = members.get(pkey);
   } else {
     CFSecurityISOCountryCurrencyBuff readBuff =
         ((ICFInternetSchema) schema.getBackingStore())
             .getTableISOCountryCurrency()
             .readDerivedByIdIdx(
                 schema.getAuthorization(),
                 pkey.getRequiredISOCountryId(),
                 pkey.getRequiredISOCurrencyId());
     if (readBuff != null) {
       obj = schema.getISOCountryCurrencyTableObj().newInstance();
       obj.setPKey(
           ((ICFInternetSchema) schema.getBackingStore())
               .getFactoryISOCountryCurrency()
               .newPKey());
       obj.setBuff(readBuff);
       obj = (ICFSecurityISOCountryCurrencyObj) obj.realize();
     } else if (schema.getCacheMisses()) {
       members.put(pkey, null);
     }
   }
   return (obj);
 }
 public ICFSecurityTSecGroupMemberObj readTSecGroupMember(
     CFSecurityTSecGroupMemberPKey pkey, boolean forceRead) {
   ICFSecurityTSecGroupMemberObj obj = null;
   if ((!forceRead) && members.containsKey(pkey)) {
     obj = members.get(pkey);
   } else {
     CFSecurityTSecGroupMemberBuff readBuff =
         ((ICFBamSchema) schema.getBackingStore())
             .getTableTSecGroupMember()
             .readDerivedByIdIdx(
                 schema.getAuthorization(),
                 pkey.getRequiredTenantId(),
                 pkey.getRequiredTSecGroupMemberId());
     if (readBuff != null) {
       obj = schema.getTSecGroupMemberTableObj().newInstance();
       obj.setPKey(
           ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newPKey());
       obj.setBuff(readBuff);
       obj = (ICFSecurityTSecGroupMemberObj) obj.realize();
     } else if (schema.getCacheMisses()) {
       members.put(pkey, null);
     }
   }
   return (obj);
 }
 public void deleteTSecGroupMemberByUUserIdx(long TenantId, int TSecGroupId, UUID SecUserId) {
   if (indexByUUserIdx == null) {
     indexByUUserIdx =
         new HashMap<CFSecurityTSecGroupMemberByUUserIdxKey, ICFSecurityTSecGroupMemberObj>();
   }
   CFSecurityTSecGroupMemberByUUserIdxKey key =
       ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newUUserIdxKey();
   key.setRequiredTenantId(TenantId);
   key.setRequiredTSecGroupId(TSecGroupId);
   key.setRequiredSecUserId(SecUserId);
   ICFSecurityTSecGroupMemberObj obj = null;
   if (indexByUUserIdx.containsKey(key)) {
     obj = indexByUUserIdx.get(key);
     ((ICFBamSchema) schema.getBackingStore())
         .getTableTSecGroupMember()
         .deleteTSecGroupMemberByUUserIdx(
             schema.getAuthorization(), TenantId, TSecGroupId, SecUserId);
     obj.forget(true);
   } else {
     ((ICFBamSchema) schema.getBackingStore())
         .getTableTSecGroupMember()
         .deleteTSecGroupMemberByUUserIdx(
             schema.getAuthorization(), TenantId, TSecGroupId, SecUserId);
   }
 }
 public ICFSecurityTSecGroupMemberObj updateTSecGroupMember(ICFSecurityTSecGroupMemberObj Obj) {
   ICFSecurityTSecGroupMemberObj obj = Obj;
   ((ICFBamSchema) schema.getBackingStore())
       .getTableTSecGroupMember()
       .updateTSecGroupMember(schema.getAuthorization(), Obj.getTSecGroupMemberBuff());
   obj = (ICFSecurityTSecGroupMemberObj) Obj.realize();
   return (obj);
 }
 public ICFSecurityISOCountryCurrencyObj updateISOCountryCurrency(
     ICFSecurityISOCountryCurrencyObj Obj) {
   ICFSecurityISOCountryCurrencyObj obj = Obj;
   ((ICFInternetSchema) schema.getBackingStore())
       .getTableISOCountryCurrency()
       .updateISOCountryCurrency(schema.getAuthorization(), Obj.getISOCountryCurrencyBuff());
   obj = (ICFSecurityISOCountryCurrencyObj) Obj.realize();
   return (obj);
 }
  public void forgetTSecGroupMember(ICFSecurityTSecGroupMemberObj Obj, boolean forgetSubObjects) {
    ICFSecurityTSecGroupMemberObj obj = Obj;
    CFSecurityTSecGroupMemberPKey pkey = obj.getPKey();
    if (members.containsKey(pkey)) {
      ICFSecurityTSecGroupMemberObj keepObj = members.get(pkey);
      // Detach object from alternate, duplicate, all and PKey indexes

      if (indexByTenantIdx != null) {
        CFSecurityTSecGroupMemberByTenantIdxKey keyTenantIdx =
            ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newTenantIdxKey();
        keyTenantIdx.setRequiredTenantId(keepObj.getRequiredTenantId());
        Map<CFSecurityTSecGroupMemberPKey, ICFSecurityTSecGroupMemberObj> mapTenantIdx =
            indexByTenantIdx.get(keyTenantIdx);
        if (mapTenantIdx != null) {
          mapTenantIdx.remove(keepObj.getPKey());
        }
      }

      if (indexByGroupIdx != null) {
        CFSecurityTSecGroupMemberByGroupIdxKey keyGroupIdx =
            ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newGroupIdxKey();
        keyGroupIdx.setRequiredTenantId(keepObj.getRequiredTenantId());
        keyGroupIdx.setRequiredTSecGroupId(keepObj.getRequiredTSecGroupId());
        Map<CFSecurityTSecGroupMemberPKey, ICFSecurityTSecGroupMemberObj> mapGroupIdx =
            indexByGroupIdx.get(keyGroupIdx);
        if (mapGroupIdx != null) {
          mapGroupIdx.remove(keepObj.getPKey());
        }
      }

      if (indexByUserIdx != null) {
        CFSecurityTSecGroupMemberByUserIdxKey keyUserIdx =
            ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newUserIdxKey();
        keyUserIdx.setRequiredSecUserId(keepObj.getRequiredSecUserId());
        Map<CFSecurityTSecGroupMemberPKey, ICFSecurityTSecGroupMemberObj> mapUserIdx =
            indexByUserIdx.get(keyUserIdx);
        if (mapUserIdx != null) {
          mapUserIdx.remove(keepObj.getPKey());
        }
      }

      if (indexByUUserIdx != null) {
        CFSecurityTSecGroupMemberByUUserIdxKey keyUUserIdx =
            ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newUUserIdxKey();
        keyUUserIdx.setRequiredTenantId(keepObj.getRequiredTenantId());
        keyUUserIdx.setRequiredTSecGroupId(keepObj.getRequiredTSecGroupId());
        keyUUserIdx.setRequiredSecUserId(keepObj.getRequiredSecUserId());
        indexByUUserIdx.remove(keyUUserIdx);
      }

      if (allTSecGroupMember != null) {
        allTSecGroupMember.remove(keepObj.getPKey());
      }
      members.remove(pkey);
      if (forgetSubObjects) {}
    }
  }
 public ICFSecurityTSecGroupMemberObj createTSecGroupMember(ICFSecurityTSecGroupMemberObj Obj) {
   ICFSecurityTSecGroupMemberObj obj = Obj;
   CFSecurityTSecGroupMemberBuff buff = obj.getTSecGroupMemberBuff();
   ((ICFBamSchema) schema.getBackingStore())
       .getTableTSecGroupMember()
       .createTSecGroupMember(schema.getAuthorization(), buff);
   obj.copyBuffToPKey();
   obj = obj.realize();
   return (obj);
 }
 public ICFSecurityISOCountryCurrencyObj createISOCountryCurrency(
     ICFSecurityISOCountryCurrencyObj Obj) {
   ICFSecurityISOCountryCurrencyObj obj = Obj;
   CFSecurityISOCountryCurrencyBuff buff = obj.getISOCountryCurrencyBuff();
   ((ICFInternetSchema) schema.getBackingStore())
       .getTableISOCountryCurrency()
       .createISOCountryCurrency(schema.getAuthorization(), buff);
   obj.copyBuffToPKey();
   obj = obj.realize();
   return (obj);
 }
 public CFSecurityISOCountryLanguagePKey getPKey() {
   if (pKey == null) {
     pKey =
         ((ICFAsteriskSchema) schema.getBackingStore()).getFactoryISOCountryLanguage().newPKey();
   }
   return (pKey);
 }
  public void forgetISOCountryCurrencyByCurrencyIdx(short ISOCurrencyId) {
    if (indexByCurrencyIdx == null) {
      return;
    }
    CFSecurityISOCountryCurrencyByCurrencyIdxKey key =
        ((ICFInternetSchema) schema.getBackingStore())
            .getFactoryISOCountryCurrency()
            .newCurrencyIdxKey();
    key.setRequiredISOCurrencyId(ISOCurrencyId);
    if (indexByCurrencyIdx.containsKey(key)) {
      Map<CFSecurityISOCountryCurrencyPKey, ICFSecurityISOCountryCurrencyObj> mapCurrencyIdx =
          indexByCurrencyIdx.get(key);
      if (mapCurrencyIdx != null) {
        List<ICFSecurityISOCountryCurrencyObj> toForget =
            new LinkedList<ICFSecurityISOCountryCurrencyObj>();
        ICFSecurityISOCountryCurrencyObj cur = null;
        Iterator<ICFSecurityISOCountryCurrencyObj> iter = mapCurrencyIdx.values().iterator();
        while (iter.hasNext()) {
          cur = iter.next();
          toForget.add(cur);
        }
        iter = toForget.iterator();
        while (iter.hasNext()) {
          cur = iter.next();
          cur.forget(true);
        }
      }

      indexByCurrencyIdx.remove(key);
    }
  }
  public void forgetTSecGroupMemberByUserIdx(UUID SecUserId) {
    if (indexByUserIdx == null) {
      return;
    }
    CFSecurityTSecGroupMemberByUserIdxKey key =
        ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newUserIdxKey();
    key.setRequiredSecUserId(SecUserId);
    if (indexByUserIdx.containsKey(key)) {
      Map<CFSecurityTSecGroupMemberPKey, ICFSecurityTSecGroupMemberObj> mapUserIdx =
          indexByUserIdx.get(key);
      if (mapUserIdx != null) {
        List<ICFSecurityTSecGroupMemberObj> toForget =
            new LinkedList<ICFSecurityTSecGroupMemberObj>();
        ICFSecurityTSecGroupMemberObj cur = null;
        Iterator<ICFSecurityTSecGroupMemberObj> iter = mapUserIdx.values().iterator();
        while (iter.hasNext()) {
          cur = iter.next();
          toForget.add(cur);
        }
        iter = toForget.iterator();
        while (iter.hasNext()) {
          cur = iter.next();
          cur.forget(true);
        }
      }

      indexByUserIdx.remove(key);
    }
  }
 public void deleteTSecGroupMemberByIdIdx(long TenantId, long TSecGroupMemberId) {
   CFSecurityTSecGroupMemberPKey pkey =
       ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newPKey();
   pkey.setRequiredTenantId(TenantId);
   pkey.setRequiredTSecGroupMemberId(TSecGroupMemberId);
   ICFSecurityTSecGroupMemberObj obj = readTSecGroupMember(pkey);
   if (obj != null) {
     ICFSecurityTSecGroupMemberEditObj editObj = (ICFSecurityTSecGroupMemberEditObj) obj.getEdit();
     boolean editStarted;
     if (editObj == null) {
       editObj = (ICFSecurityTSecGroupMemberEditObj) obj.beginEdit();
       if (editObj != null) {
         editStarted = true;
       } else {
         editStarted = false;
       }
     } else {
       editStarted = false;
     }
     if (editObj != null) {
       editObj.delete();
       if (editStarted) {
         editObj.endEdit();
       }
     }
     obj.forget(true);
   }
 }
 public void deleteISOCountryCurrencyByIdIdx(short ISOCountryId, short ISOCurrencyId) {
   CFSecurityISOCountryCurrencyPKey pkey =
       ((ICFInternetSchema) schema.getBackingStore()).getFactoryISOCountryCurrency().newPKey();
   pkey.setRequiredISOCountryId(ISOCountryId);
   pkey.setRequiredISOCurrencyId(ISOCurrencyId);
   ICFSecurityISOCountryCurrencyObj obj = readISOCountryCurrency(pkey);
   if (obj != null) {
     ICFSecurityISOCountryCurrencyEditObj editObj =
         (ICFSecurityISOCountryCurrencyEditObj) obj.getEdit();
     boolean editStarted;
     if (editObj == null) {
       editObj = (ICFSecurityISOCountryCurrencyEditObj) obj.beginEdit();
       if (editObj != null) {
         editStarted = true;
       } else {
         editStarted = false;
       }
     } else {
       editStarted = false;
     }
     if (editObj != null) {
       editObj.delete();
       if (editStarted) {
         editObj.endEdit();
       }
     }
     obj.forget(true);
   }
 }
 public CFSecuritySysClusterBuff getBuff() {
   if (buff == null) {
     if (isNew) {
       buff = ((ICFAsteriskSchema) schema.getBackingStore()).getFactorySysCluster().newBuff();
     } else {
       // Read the data buff via the backing store
       buff =
           ((ICFAsteriskSchema) schema.getBackingStore())
               .getTableSysCluster()
               .readDerivedByIdIdx(schema.getAuthorization(), getPKey().getRequiredSingletonId());
       if (buff != null) {
         copyBuffToPKey();
       }
     }
   }
   return (buff);
 }
 public ICFSecurityISOCountryCurrencyObj readISOCountryCurrencyByIdIdx(
     short ISOCountryId, short ISOCurrencyId, boolean forceRead) {
   CFSecurityISOCountryCurrencyPKey pkey =
       ((ICFInternetSchema) schema.getBackingStore()).getFactoryISOCountryCurrency().newPKey();
   pkey.setRequiredISOCountryId(ISOCountryId);
   pkey.setRequiredISOCurrencyId(ISOCurrencyId);
   ICFSecurityISOCountryCurrencyObj obj = readISOCountryCurrency(pkey, forceRead);
   return (obj);
 }
 public ICFSecurityTSecGroupMemberObj readTSecGroupMemberByIdIdx(
     long TenantId, long TSecGroupMemberId, boolean forceRead) {
   CFSecurityTSecGroupMemberPKey pkey =
       ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newPKey();
   pkey.setRequiredTenantId(TenantId);
   pkey.setRequiredTSecGroupMemberId(TSecGroupMemberId);
   ICFSecurityTSecGroupMemberObj obj = readTSecGroupMember(pkey, forceRead);
   return (obj);
 }
 public ICFSecurityTSecGroupMemberObj lockTSecGroupMember(CFSecurityTSecGroupMemberPKey pkey) {
   ICFSecurityTSecGroupMemberObj locked = null;
   CFSecurityTSecGroupMemberBuff lockBuff =
       ((ICFBamSchema) schema.getBackingStore())
           .getTableTSecGroupMember()
           .lockDerived(schema.getAuthorization(), pkey);
   if (lockBuff != null) {
     locked = schema.getTSecGroupMemberTableObj().newInstance();
     locked.setPKey(
         ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newPKey());
     locked.setBuff(lockBuff);
     locked = (ICFSecurityTSecGroupMemberObj) locked.realize();
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newCollisionDetectedException(getClass(), "lockTSecGroupMember", pkey);
   }
   return (locked);
 }
 public ICFSecurityISOCountryCurrencyObj lockISOCountryCurrency(
     CFSecurityISOCountryCurrencyPKey pkey) {
   ICFSecurityISOCountryCurrencyObj locked = null;
   CFSecurityISOCountryCurrencyBuff lockBuff =
       ((ICFInternetSchema) schema.getBackingStore())
           .getTableISOCountryCurrency()
           .lockDerived(schema.getAuthorization(), pkey);
   if (lockBuff != null) {
     locked = schema.getISOCountryCurrencyTableObj().newInstance();
     locked.setPKey(
         ((ICFInternetSchema) schema.getBackingStore()).getFactoryISOCountryCurrency().newPKey());
     locked.setBuff(lockBuff);
     locked = (ICFSecurityISOCountryCurrencyObj) locked.realize();
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newCollisionDetectedException(getClass(), "lockISOCountryCurrency", pkey);
   }
   return (locked);
 }
 public void loadData(boolean forceReload) {
   ICFSecuritySchemaObj schemaObj = swingSchema.getSchema();
   if ((listOfISOTimezone == null) || forceReload) {
     arrayOfISOTimezone = null;
     listOfISOTimezone =
         schemaObj.getISOTimezoneTableObj().readAllISOTimezone(swingIsInitializing);
     if (listOfISOTimezone != null) {
       Object objArray[] = listOfISOTimezone.toArray();
       if (objArray != null) {
         int len = objArray.length;
         arrayOfISOTimezone = new ICFSecurityISOTimezoneObj[len];
         for (int i = 0; i < len; i++) {
           arrayOfISOTimezone[i] = (ICFSecurityISOTimezoneObj) objArray[i];
         }
         Arrays.sort(arrayOfISOTimezone, compareISOTimezoneByQualName);
       }
     }
   }
 }
  public void forgetISOCountryCurrency(
      ICFSecurityISOCountryCurrencyObj Obj, boolean forgetSubObjects) {
    ICFSecurityISOCountryCurrencyObj obj = Obj;
    CFSecurityISOCountryCurrencyPKey pkey = obj.getPKey();
    if (members.containsKey(pkey)) {
      ICFSecurityISOCountryCurrencyObj keepObj = members.get(pkey);
      // Detach object from alternate, duplicate, all and PKey indexes

      if (indexByCountryIdx != null) {
        CFSecurityISOCountryCurrencyByCountryIdxKey keyCountryIdx =
            ((ICFInternetSchema) schema.getBackingStore())
                .getFactoryISOCountryCurrency()
                .newCountryIdxKey();
        keyCountryIdx.setRequiredISOCountryId(keepObj.getRequiredISOCountryId());
        Map<CFSecurityISOCountryCurrencyPKey, ICFSecurityISOCountryCurrencyObj> mapCountryIdx =
            indexByCountryIdx.get(keyCountryIdx);
        if (mapCountryIdx != null) {
          mapCountryIdx.remove(keepObj.getPKey());
        }
      }

      if (indexByCurrencyIdx != null) {
        CFSecurityISOCountryCurrencyByCurrencyIdxKey keyCurrencyIdx =
            ((ICFInternetSchema) schema.getBackingStore())
                .getFactoryISOCountryCurrency()
                .newCurrencyIdxKey();
        keyCurrencyIdx.setRequiredISOCurrencyId(keepObj.getRequiredISOCurrencyId());
        Map<CFSecurityISOCountryCurrencyPKey, ICFSecurityISOCountryCurrencyObj> mapCurrencyIdx =
            indexByCurrencyIdx.get(keyCurrencyIdx);
        if (mapCurrencyIdx != null) {
          mapCurrencyIdx.remove(keepObj.getPKey());
        }
      }

      if (allISOCountryCurrency != null) {
        allISOCountryCurrency.remove(keepObj.getPKey());
      }
      members.remove(pkey);
      if (forgetSubObjects) {}
    }
  }
 public ICFSecurityTSecGroupMemberObj readTSecGroupMemberByUUserIdx(
     long TenantId, int TSecGroupId, UUID SecUserId, boolean forceRead) {
   if (indexByUUserIdx == null) {
     indexByUUserIdx =
         new HashMap<CFSecurityTSecGroupMemberByUUserIdxKey, ICFSecurityTSecGroupMemberObj>();
   }
   CFSecurityTSecGroupMemberByUUserIdxKey key =
       ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newUUserIdxKey();
   key.setRequiredTenantId(TenantId);
   key.setRequiredTSecGroupId(TSecGroupId);
   key.setRequiredSecUserId(SecUserId);
   ICFSecurityTSecGroupMemberObj obj = null;
   if ((!forceRead) && indexByUUserIdx.containsKey(key)) {
     obj = indexByUUserIdx.get(key);
   } else {
     CFSecurityTSecGroupMemberBuff buff =
         ((ICFBamSchema) schema.getBackingStore())
             .getTableTSecGroupMember()
             .readDerivedByUUserIdx(schema.getAuthorization(), TenantId, TSecGroupId, SecUserId);
     if (buff != null) {
       obj = schema.getTSecGroupMemberTableObj().newInstance();
       obj.setPKey(
           ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newPKey());
       obj.setBuff(buff);
       obj = (ICFSecurityTSecGroupMemberObj) obj.realize();
     } else if (schema.getCacheMisses()) {
       indexByUUserIdx.put(key, null);
     }
   }
   return (obj);
 }
 public void deleteISOCountryCurrencyByCurrencyIdx(short ISOCurrencyId) {
   CFSecurityISOCountryCurrencyByCurrencyIdxKey key =
       ((ICFInternetSchema) schema.getBackingStore())
           .getFactoryISOCountryCurrency()
           .newCurrencyIdxKey();
   key.setRequiredISOCurrencyId(ISOCurrencyId);
   if (indexByCurrencyIdx == null) {
     indexByCurrencyIdx =
         new HashMap<
             CFSecurityISOCountryCurrencyByCurrencyIdxKey,
             Map<CFSecurityISOCountryCurrencyPKey, ICFSecurityISOCountryCurrencyObj>>();
   }
   if (indexByCurrencyIdx.containsKey(key)) {
     Map<CFSecurityISOCountryCurrencyPKey, ICFSecurityISOCountryCurrencyObj> dict =
         indexByCurrencyIdx.get(key);
     ((ICFInternetSchema) schema.getBackingStore())
         .getTableISOCountryCurrency()
         .deleteISOCountryCurrencyByCurrencyIdx(schema.getAuthorization(), ISOCurrencyId);
     Iterator<ICFSecurityISOCountryCurrencyObj> iter = dict.values().iterator();
     ICFSecurityISOCountryCurrencyObj obj;
     List<ICFSecurityISOCountryCurrencyObj> toForget =
         new LinkedList<ICFSecurityISOCountryCurrencyObj>();
     while (iter.hasNext()) {
       obj = iter.next();
       toForget.add(obj);
     }
     iter = toForget.iterator();
     while (iter.hasNext()) {
       obj = iter.next();
       obj.forget(true);
     }
     indexByCurrencyIdx.remove(key);
   } else {
     ((ICFInternetSchema) schema.getBackingStore())
         .getTableISOCountryCurrency()
         .deleteISOCountryCurrencyByCurrencyIdx(schema.getAuthorization(), ISOCurrencyId);
   }
 }
 public void deleteTSecGroupMemberByGroupIdx(long TenantId, int TSecGroupId) {
   CFSecurityTSecGroupMemberByGroupIdxKey key =
       ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newGroupIdxKey();
   key.setRequiredTenantId(TenantId);
   key.setRequiredTSecGroupId(TSecGroupId);
   if (indexByGroupIdx == null) {
     indexByGroupIdx =
         new HashMap<
             CFSecurityTSecGroupMemberByGroupIdxKey,
             Map<CFSecurityTSecGroupMemberPKey, ICFSecurityTSecGroupMemberObj>>();
   }
   if (indexByGroupIdx.containsKey(key)) {
     Map<CFSecurityTSecGroupMemberPKey, ICFSecurityTSecGroupMemberObj> dict =
         indexByGroupIdx.get(key);
     ((ICFBamSchema) schema.getBackingStore())
         .getTableTSecGroupMember()
         .deleteTSecGroupMemberByGroupIdx(schema.getAuthorization(), TenantId, TSecGroupId);
     Iterator<ICFSecurityTSecGroupMemberObj> iter = dict.values().iterator();
     ICFSecurityTSecGroupMemberObj obj;
     List<ICFSecurityTSecGroupMemberObj> toForget =
         new LinkedList<ICFSecurityTSecGroupMemberObj>();
     while (iter.hasNext()) {
       obj = iter.next();
       toForget.add(obj);
     }
     iter = toForget.iterator();
     while (iter.hasNext()) {
       obj = iter.next();
       obj.forget(true);
     }
     indexByGroupIdx.remove(key);
   } else {
     ((ICFBamSchema) schema.getBackingStore())
         .getTableTSecGroupMember()
         .deleteTSecGroupMemberByGroupIdx(schema.getAuthorization(), TenantId, TSecGroupId);
   }
 }
 public void forgetTSecGroupMemberByIdIdx(long TenantId, long TSecGroupMemberId) {
   if (members == null) {
     return;
   }
   CFSecurityTSecGroupMemberPKey key =
       ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newPKey();
   key.setRequiredTenantId(TenantId);
   key.setRequiredTSecGroupMemberId(TSecGroupMemberId);
   if (members.containsKey(key)) {
     ICFSecurityTSecGroupMemberObj probed = members.get(key);
     if (probed != null) {
       probed.forget(true);
     }
   }
 }
 public void forgetISOCountryCurrencyByIdIdx(short ISOCountryId, short ISOCurrencyId) {
   if (members == null) {
     return;
   }
   CFSecurityISOCountryCurrencyPKey key =
       ((ICFInternetSchema) schema.getBackingStore()).getFactoryISOCountryCurrency().newPKey();
   key.setRequiredISOCountryId(ISOCountryId);
   key.setRequiredISOCurrencyId(ISOCurrencyId);
   if (members.containsKey(key)) {
     ICFSecurityISOCountryCurrencyObj probed = members.get(key);
     if (probed != null) {
       probed.forget(true);
     }
   }
 }
  public void forgetTSecGroupMemberByUUserIdx(long TenantId, int TSecGroupId, UUID SecUserId) {
    if (indexByUUserIdx == null) {
      return;
    }
    CFSecurityTSecGroupMemberByUUserIdxKey key =
        ((ICFBamSchema) schema.getBackingStore()).getFactoryTSecGroupMember().newUUserIdxKey();
    key.setRequiredTenantId(TenantId);
    key.setRequiredTSecGroupId(TSecGroupId);
    key.setRequiredSecUserId(SecUserId);
    if (indexByUUserIdx.containsKey(key)) {
      ICFSecurityTSecGroupMemberObj probed = indexByUUserIdx.get(key);
      if (probed != null) {
        probed.forget(true);
      }

      indexByUUserIdx.remove(key);
    }
  }
 public ICFSecurityISOCountryLanguageTableObj getISOCountryLanguageTable() {
   return (schema.getISOCountryLanguageTableObj());
 }