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 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); }