public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindUInt32DefMaxValue.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamUInt32DefObj) { Long maxValue = ((ICFBamUInt32DefObj) genDef).getOptionalMaxValue(); if (maxValue == null) { ret = null; } else { ret = maxValue.toString(); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamUInt32DefObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindDomainSubDomainOfId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamDomainObj) { long subDomainOfId = ((ICFBamDomainObj) genDef).getRequiredSubDomainOfId(); ret = Long.toString(subDomainOfId); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamDomainObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindRelationColNextTenantId.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFBamRelationColObj) { Long nextTenantId = ((ICFBamRelationColObj) genDef).getOptionalNextTenantId(); if (nextTenantId == null) { ret = null; } else { ret = nextTenantId.toString(); } } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamRelationColObj"); } return (ret); }
public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFDbTestMssCFBindReqMinMaxValueTestUInt32.expandBody() "; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext"); } ICFLibAnyObj genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), "expandBody", 1, "genContext.getGenDef()"); } String ret; if (genDef instanceof ICFDbTestReqMinMaxValueObj) { long testUInt32 = ((ICFDbTestReqMinMaxValueObj) genDef).getRequiredTestUInt32(); ret = Long.toString(testUInt32); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFDbTestReqMinMaxValueObj"); } return (ret); }
public CFSecurityCursor openTopDomainCursorByTldIdx( CFSecurityAuthorization Authorization, long TenantId, long TldId) { String sql = getSqlSelectTopDomainBuff() + "WHERE " + "tdom.TenantId = " + Long.toString(TenantId) + " " + "AND " + "tdom.TldId = " + Long.toString(TldId) + " " + "AND " + "bdom.ClassCode = 'TDOM'" + "ORDER BY " + "tdom.TenantId ASC" + ", " + "tdom.Id ASC"; CFDbTestCursor cursor = new CFDbTestDb2LUWCursor(Authorization, schema, sql); return (cursor); }
public CFSecurityCursor openTenantCursorByClusterIdx( CFSecurityAuthorization Authorization, long ClusterId) { String sql = getSqlSelectTenantBuff() + "WHERE " + "tent.clusterid = " + Long.toString(ClusterId) + " " + "ORDER BY " + "tent.Id ASC"; CFAsteriskCursor cursor = new CFAsteriskSybaseCursor(Authorization, schema, sql); return (cursor); }
public CFSecurityCursor openSysClusterCursorByClusterIdx( CFSecurityAuthorization Authorization, long ClusterId) { String sql = getSqlSelectSysClusterBuff() + "WHERE " + "sysc.sys_clus_id = " + Long.toString(ClusterId) + " " + "ORDER BY " + "sysc.sgltn_id ASC"; CFAsteriskCursor cursor = new CFAsteriskDb2LUWCursor(Authorization, schema, sql); return (cursor); }
public CFSecurityCursor openHostNodeCursorByClusterIdx( CFSecurityAuthorization Authorization, long ClusterId) { String sql = getSqlSelectHostNodeBuff() + " WHERE " + "hsnd.clusterid = " + Long.toString(ClusterId) + " " + "ORDER BY " + "hsnd.ClusterId ASC" + ", " + "hsnd.HostNodeId ASC"; CFDbTestCursor cursor = new CFDbTestMSSqlCursor(Authorization, schema, sql); return (cursor); }
public CFSecurityCursor openTldCursorByTenantIdx( CFSecurityAuthorization Authorization, long TenantId) { String sql = getSqlSelectTldBuff() + "WHERE " + "gtld.TenantId = " + Long.toString(TenantId) + " " + "ORDER BY " + "gtld.TenantId ASC" + ", " + "gtld.TldId ASC"; CFInternetCursor cursor = new CFInternetOracleCursor(Authorization, schema, sql); return (cursor); }
public CFSecurityCursor openSecAppCursorByClusterIdx( CFSecurityAuthorization Authorization, long ClusterId) { String sql = getSqlSelectSecAppBuff() + "WHERE " + "sapp.ClusterId = " + Long.toString(ClusterId) + " " + "ORDER BY " + "sapp.ClusterId ASC" + ", " + "sapp.SecAppId ASC"; CFFreeSwitchCursor cursor = new CFFreeSwitchOracleCursor(Authorization, schema, sql); return (cursor); }
public String getObjName() { String objName; long val = getRequiredSecGroupFormId(); objName = Long.toString(val); return (objName); }