public void loadData(boolean forceReload) { ICFFreeSwitchSchemaObj schemaObj = swingSchema.getSchema(); if ((containingCluster == null) || forceReload) { CFSecurityAuthorization auth = schemaObj.getAuthorization(); long containingClusterId = auth.getSecClusterId(); containingCluster = schemaObj.getClusterTableObj().readClusterByIdIdx(containingClusterId); } if ((listOfTenant == null) || forceReload) { arrayOfTenant = null; listOfTenant = schemaObj .getTenantTableObj() .readTenantByClusterIdx(containingCluster.getRequiredId(), swingIsInitializing); if (listOfTenant != null) { Object objArray[] = listOfTenant.toArray(); if (objArray != null) { int len = objArray.length; arrayOfTenant = new ICFSecurityTenantObj[len]; for (int i = 0; i < len; i++) { arrayOfTenant[i] = (ICFSecurityTenantObj) objArray[i]; } Arrays.sort(arrayOfTenant, compareTenantByQualName); } } } }
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 loadData(boolean forceReload) { ICFBamSchemaObj schemaObj = swingSchema.getSchema(); if ((listOfAccessFrequency == null) || forceReload) { arrayOfAccessFrequency = null; listOfAccessFrequency = schemaObj.getAccessFrequencyTableObj().readAllAccessFrequency(swingIsInitializing); if (listOfAccessFrequency != null) { Object objArray[] = listOfAccessFrequency.toArray(); if (objArray != null) { int len = objArray.length; arrayOfAccessFrequency = new ICFBamAccessFrequencyObj[len]; for (int i = 0; i < len; i++) { arrayOfAccessFrequency[i] = (ICFBamAccessFrequencyObj) objArray[i]; } Arrays.sort(arrayOfAccessFrequency, compareAccessFrequencyByQualName); } } } }