// FIXME Uncomment when overrides can be handled
// @OutSchema("wdk.users.get-by-id")
@GET
  @Produces(MediaType.APPLICATION_JSON)
  // FIXME Uncomment when overrides can be handled
  // @OutSchema("wdk.users.get-by-id")
  public JSONObject getById(@QueryParam("includePreferences") Boolean includePreferences) throws WdkModelException {
    UserBundle userBundle = getUserBundle(Access.PUBLIC);
    List<UserPropertyName> propDefs = getWdkModel().getModelConfig()
        .getAccountDB().getUserPropertyNames();
    return formatUser(userBundle.getTargetUser(), userBundle.isSessionUser(),
        getFlag(includePreferences), propDefs);
  }
@GET
@Produces(MediaType.APPLICATION_JSON)
// FIXME Uncomment when overrides can be handled
// @OutSchema("wdk.users.get-by-id")
public JSONObject getById(@QueryParam("includePreferences") Boolean includePreferences) throws WdkModelException {
UserBundle userBundle = getUserBundle(Access.PUBLIC);
@GET
@Produces(MediaType.APPLICATION_JSON)
// FIXME Uncomment when overrides can be handled
// @OutSchema("wdk.users.get-by-id")
public JSONObject getById(@QueryParam("includePreferences") Boolean includePreferences) throws WdkModelException {
UserBundle userBundle = getUserBundle(Access.PUBLIC);
List<UserPropertyName> propDefs = getWdkModel().getModelConfig()
.getAccountDB().getUserPropertyNames();
return formatUser(userBundle.getTargetUser(), userBundle.isSessionUser(),
getFlag(includePreferences), propDefs);
}
@GET
@Produces(MediaType.APPLICATION_JSON)
// FIXME Uncomment when overrides can be handled
// @OutSchema("wdk.users.get-by-id")
public JSONObject getById(@QueryParam("includePreferences") Boolean includePreferences) throws WdkModelException {
UserBundle userBundle = getUserBundle(Access.PUBLIC);
List<UserPropertyName> propDefs = getWdkModel().getModelConfig()
.getAccountDB().getUserPropertyNames();
return formatUser(userBundle.getTargetUser(), userBundle.isSessionUser(),
getFlag(includePreferences), propDefs);
}