public String expandBody(MssCFGenContext genContext) {
    final String S_ProcName = "CFFreeSwitchMssCFBindServiceClusterId.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 ICFFreeSwitchServiceObj) {
      long clusterId = ((ICFFreeSwitchServiceObj) genDef).getRequiredClusterId();
      ret = Long.toString(clusterId);
    } else {
      throw CFLib.getDefaultExceptionFactory()
          .newUnsupportedClassException(
              getClass(),
              "expandBody",
              "genContext.getGenDef()",
              genDef,
              "ICFFreeSwitchServiceObj");
    }

    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";
   CFFreeSwitchCursor cursor = new CFFreeSwitchOracleCursor(Authorization, schema, sql);
   return (cursor);
 }