public String expandBody(MssCFGenContext genContext) { final String S_ProcName = "CFBamMssCFBindPopSubDep1ContPopTopDepId.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 ICFBamPopSubDep1Obj) { long contPopTopDepId = ((ICFBamPopSubDep1Obj) genDef).getRequiredContPopTopDepId(); ret = Long.toString(contPopTopDepId); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), "expandBody", "genContext.getGenDef()", genDef, "ICFBamPopSubDep1Obj"); } return (ret); }
public CFSecurityCursor openSecAppCursorByClusterIdx( CFSecurityAuthorization Authorization, long ClusterId) { String sql = getSqlSelectSecAppBuff() + "WHERE " + "sapp.clusterid = " + Long.toString(ClusterId) + " " + "ORDER BY " + "sapp.ClusterId ASC" + ", " + "sapp.SecAppId ASC"; CFBamCursor cursor = new CFBamSybaseCursor(Authorization, schema, sql); return (cursor); }