public void setRequiredContainerCluster(ICFSecurityClusterObj value) { if (buff == null) { getHostNodeBuff(); } requiredContainerCluster = null; if (value != null) { getPKey().setRequiredClusterId(value.getRequiredId()); getHostNodeBuff().setRequiredClusterId(value.getRequiredId()); } requiredContainerCluster = value; }
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 ICFSecurityClusterObj getRequiredContainerCluster(boolean forceRead) { if (forceRead || (requiredContainerCluster == null)) { boolean anyMissing = false; if (!anyMissing) { ICFSecurityClusterObj obj = ((ICFDbTestSchemaObj) getOrigAsHostNode().getSchema()) .getClusterTableObj() .readClusterByIdIdx(getPKey().getRequiredClusterId()); requiredContainerCluster = obj; if (obj != null) { getHostNodeBuff().setRequiredClusterId(obj.getRequiredId()); requiredContainerCluster = obj; } } } return (requiredContainerCluster); }
public CFSecurityClusterBuff getBuff() { if (buff == null) { buff = ((ICFInternetSchema) getOrigAsCluster().getSchema().getBackingStore()) .getFactoryCluster() .newBuff(); buff.set(orig.getBuff()); } return (buff); }
public CFInternetClusterEditObj(ICFSecurityClusterObj argOrig) { orig = argOrig; getBuff(); CFSecurityClusterBuff origBuff = orig.getBuff(); buff.set(origBuff); }
public void setIsNew(boolean value) { orig.setIsNew(value); }
public boolean getIsNew() { return (orig.getIsNew()); }
public void setPKey(CFSecurityClusterPKey value) { orig.setPKey(value); copyPKeyToBuff(); }
public CFSecurityClusterPKey getPKey() { return (orig.getPKey()); }
public ICFSecuritySchemaObj getSchema() { return (orig.getSchema()); }
public void endEdit() { orig.endEdit(); }
public ICFSecurityClusterTableObj getClusterTable() { return (orig.getSchema().getClusterTableObj()); }