public ListIterator<ICFLibAnyObj> enumerateDetails(MssCFGenContext genContext) {
    final String S_ProcName = "CFFreeSwitchMssCFIterateFSSFConferenceProfile.enumerateDetails() ";

    if (genContext == null) {
      throw CFLib.getDefaultExceptionFactory()
          .newNullArgumentException(getClass(), S_ProcName, 1, "genContext");
    }

    ICFLibAnyObj genDef = genContext.getGenDef();
    if (genDef == null) {
      throw CFLib.getDefaultExceptionFactory()
          .newNullArgumentException(getClass(), S_ProcName, 1, "genContext.getGenDef()");
    }

    List<ICFLibAnyObj> list = new LinkedList<ICFLibAnyObj>();

    if (genDef instanceof ICFFreeSwitchFSSFConferenceObj) {
      Iterator<ICFFreeSwitchFSSFConferenceProfileObj> elements =
          ((ICFFreeSwitchFSSFConferenceObj) genDef).getOptionalComponentsProfile().iterator();
      while (elements.hasNext()) {
        list.add(elements.next());
      }
    } else {
      throw CFLib.getDefaultExceptionFactory()
          .newUnsupportedClassException(
              getClass(),
              S_ProcName,
              "genContext.getGenDef()",
              genDef,
              "ICFFreeSwitchFSSFConferenceObj");
    }

    return (list.listIterator());
  }
  public ListIterator<ICFLibAnyObj> enumerateDetails(MssCFGenContext genContext) {
    final String S_ProcName = "CFInternetMssCFIterateSecUserSecProxy.enumerateDetails() ";

    if (genContext == null) {
      throw CFLib.getDefaultExceptionFactory()
          .newNullArgumentException(getClass(), S_ProcName, 1, "genContext");
    }

    ICFLibAnyObj genDef = genContext.getGenDef();
    if (genDef == null) {
      throw CFLib.getDefaultExceptionFactory()
          .newNullArgumentException(getClass(), S_ProcName, 1, "genContext.getGenDef()");
    }

    List<ICFLibAnyObj> list = new LinkedList<ICFLibAnyObj>();

    if (genDef instanceof ICFInternetSecUserObj) {
      Iterator<ICFSecuritySecSessionObj> elements =
          ((ICFInternetSecUserObj) genDef).getOptionalChildrenSecProxy().iterator();
      while (elements.hasNext()) {
        list.add(elements.next());
      }
    } else {
      throw CFLib.getDefaultExceptionFactory()
          .newUnsupportedClassException(
              getClass(), S_ProcName, "genContext.getGenDef()", genDef, "ICFInternetSecUserObj");
    }

    return (list.listIterator());
  }
  public void forgetSecGroupIncludeByIncludeIdx(long ClusterId, int IncludeGroupId) {
    if (indexByIncludeIdx == null) {
      return;
    }
    CFGenKbSecGroupIncludeByIncludeIdxKey key =
        schema.getBackingStore().getFactorySecGroupInclude().newIncludeIdxKey();
    key.setRequiredClusterId(ClusterId);
    key.setRequiredIncludeGroupId(IncludeGroupId);
    if (indexByIncludeIdx.containsKey(key)) {
      Map<CFGenKbSecGroupIncludePKey, ICFGenKbSecGroupIncludeObj> mapIncludeIdx =
          indexByIncludeIdx.get(key);
      if (mapIncludeIdx != null) {
        List<ICFGenKbSecGroupIncludeObj> toForget = new LinkedList<ICFGenKbSecGroupIncludeObj>();
        ICFGenKbSecGroupIncludeObj cur = null;
        Iterator<ICFGenKbSecGroupIncludeObj> iter = mapIncludeIdx.values().iterator();
        while (iter.hasNext()) {
          cur = iter.next();
          toForget.add(cur);
        }
        iter = toForget.iterator();
        while (iter.hasNext()) {
          cur = iter.next();
          cur.forget(true);
        }
      }

      indexByIncludeIdx.remove(key);
    }
  }
 public void minimizeMemory() {
   allSecGroupInclude = null;
   indexByClusterIdx = null;
   indexByGroupIdx = null;
   indexByIncludeIdx = null;
   indexByUIncludeIdx = null;
   List<ICFGenKbSecGroupIncludeObj> toForget = new LinkedList<ICFGenKbSecGroupIncludeObj>();
   ICFGenKbSecGroupIncludeObj cur = null;
   Iterator<ICFGenKbSecGroupIncludeObj> iter = members.values().iterator();
   while (iter.hasNext()) {
     cur = iter.next();
     if (cur.getEdit() == null) {
       toForget.add(cur);
     }
   }
   iter = toForget.iterator();
   while (iter.hasNext()) {
     cur = iter.next();
     cur.forget();
   }
 }
 public void deleteSecGroupIncludeByGroupIdx(long ClusterId, int SecGroupId) {
   CFGenKbSecGroupIncludeByGroupIdxKey key =
       schema.getBackingStore().getFactorySecGroupInclude().newGroupIdxKey();
   key.setRequiredClusterId(ClusterId);
   key.setRequiredSecGroupId(SecGroupId);
   if (indexByGroupIdx == null) {
     indexByGroupIdx =
         new HashMap<
             CFGenKbSecGroupIncludeByGroupIdxKey,
             Map<CFGenKbSecGroupIncludePKey, ICFGenKbSecGroupIncludeObj>>();
   }
   if (indexByGroupIdx.containsKey(key)) {
     Map<CFGenKbSecGroupIncludePKey, ICFGenKbSecGroupIncludeObj> dict = indexByGroupIdx.get(key);
     schema
         .getBackingStore()
         .getTableSecGroupInclude()
         .deleteSecGroupIncludeByGroupIdx(schema.getAuthorization(), ClusterId, SecGroupId);
     Iterator<ICFGenKbSecGroupIncludeObj> iter = dict.values().iterator();
     ICFGenKbSecGroupIncludeObj obj;
     List<ICFGenKbSecGroupIncludeObj> toForget = new LinkedList<ICFGenKbSecGroupIncludeObj>();
     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 {
     schema
         .getBackingStore()
         .getTableSecGroupInclude()
         .deleteSecGroupIncludeByGroupIdx(schema.getAuthorization(), ClusterId, SecGroupId);
   }
 }