public void loadData(boolean forceReload) { ICFBamSchemaObj schemaObj = swingSchema.getSchema(); if ((containingCluster == null) || forceReload) { CFSecurityAuthorization auth = schemaObj.getAuthorization(); long containingClusterId = auth.getSecClusterId(); containingCluster = schemaObj.getClusterTableObj().readClusterByIdIdx(containingClusterId); } if ((listOfSysCluster == null) || forceReload) { arrayOfSysCluster = null; listOfSysCluster = schemaObj .getSysClusterTableObj() .readSysClusterByClusterIdx(containingCluster.getRequiredId(), swingIsInitializing); if (listOfSysCluster != null) { Object objArray[] = listOfSysCluster.toArray(); if (objArray != null) { int len = objArray.length; arrayOfSysCluster = new ICFSecuritySysClusterObj[len]; for (int i = 0; i < len; i++) { arrayOfSysCluster[i] = (ICFSecuritySysClusterObj) objArray[i]; } Arrays.sort(arrayOfSysCluster, compareSysClusterByQualName); } } } }
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); } } } }