public CFSecurityServiceBuff[] readAllBuff(CFSecurityAuthorization Authorization) {
   final String S_ProcName = "CFBamRamService.readAllBuff";
   CFSecurityServiceBuff buff;
   ArrayList<CFSecurityServiceBuff> filteredList = new ArrayList<CFSecurityServiceBuff>();
   CFSecurityServiceBuff[] buffList = readAllDerived(Authorization);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("HSVC")) {
       filteredList.add(buff);
     }
   }
   return (filteredList.toArray(new CFSecurityServiceBuff[0]));
 }
 public CFSecurityServiceBuff[] readBuffByHostIdx(
     CFSecurityAuthorization Authorization, long ClusterId, long HostNodeId) {
   final String S_ProcName = "CFBamRamService.readBuffByHostIdx() ";
   CFSecurityServiceBuff buff;
   ArrayList<CFSecurityServiceBuff> filteredList = new ArrayList<CFSecurityServiceBuff>();
   CFSecurityServiceBuff[] buffList = readDerivedByHostIdx(Authorization, ClusterId, HostNodeId);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("HSVC")) {
       filteredList.add((CFSecurityServiceBuff) buff);
     }
   }
   return (filteredList.toArray(new CFSecurityServiceBuff[0]));
 }
 public CFBamUuidDefBuff[] readBuffByNextIdx(
     CFSecurityAuthorization Authorization, Long NextTenantId, Long NextId) {
   final String S_ProcName = "CFBamRamValue.readBuffByNextIdx() ";
   CFBamUuidDefBuff buff;
   ArrayList<CFBamUuidDefBuff> filteredList = new ArrayList<CFBamUuidDefBuff>();
   CFBamUuidDefBuff[] buffList = readDerivedByNextIdx(Authorization, NextTenantId, NextId);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("VALU")) {
       filteredList.add((CFBamUuidDefBuff) buff);
     }
   }
   return (filteredList.toArray(new CFBamUuidDefBuff[0]));
 }
 public CFBamUuidDefBuff[] readDerivedByContNextIdx(
     CFSecurityAuthorization Authorization, long TenantId, long ScopeId, Long NextId) {
   final String S_ProcName = "CFBamRamValue.readDerivedByContNextIdx";
   CFBamValueBuff buffList[] =
       schema.getTableValue().readDerivedByContNextIdx(Authorization, TenantId, ScopeId, NextId);
   if (buffList == null) {
     return (null);
   } else {
     CFBamValueBuff buff;
     ArrayList<CFBamUuidDefBuff> filteredList = new ArrayList<CFBamUuidDefBuff>();
     for (int idx = 0; idx < buffList.length; idx++) {
       buff = buffList[idx];
       if ((buff != null) && (buff instanceof CFBamUuidDefBuff)) {
         filteredList.add((CFBamUuidDefBuff) buff);
       }
     }
     return (filteredList.toArray(new CFBamUuidDefBuff[0]));
   }
 }
 public CFBamUuidDefBuff[] readDerivedByVAccSecIdx(
     CFSecurityAuthorization Authorization, ICFBamSchema.AccessSecurityEnum ViewAccessSecurity) {
   final String S_ProcName = "CFBamRamValue.readDerivedByVAccSecIdx";
   CFBamValueBuff buffList[] =
       schema.getTableValue().readDerivedByVAccSecIdx(Authorization, ViewAccessSecurity);
   if (buffList == null) {
     return (null);
   } else {
     CFBamValueBuff buff;
     ArrayList<CFBamUuidDefBuff> filteredList = new ArrayList<CFBamUuidDefBuff>();
     for (int idx = 0; idx < buffList.length; idx++) {
       buff = buffList[idx];
       if ((buff != null) && (buff instanceof CFBamUuidDefBuff)) {
         filteredList.add((CFBamUuidDefBuff) buff);
       }
     }
     return (filteredList.toArray(new CFBamUuidDefBuff[0]));
   }
 }