This topic applies only to the IBM Business Process Manager Advanced configuration.

特定于用户的时区信息

JavaServer Faces (JSF) 组件提供了实用程序来处理 List 组件中特定于用户的时区信息。

BPCListHandler 类使用 com.ibm.bpc.clientcore.util.User 接口来获取有关每个用户的时区信息和语言环境信息。List 组件期望将此接口的实现中的 user 配置成 JavaServer Faces (JSF) 配置文件中的受管 Bean 名称。如果配置文件中缺少该条目,那么将返回 Process Server 运行所在的时区。

com.ibm.bpc.clientcore.util.User 接口的定义如下所示:
public interface User {

    /**
     * The locale used by the client of the user.
     * @return Locale.
     */
    public Locale getLocale();
   /**
    * The time zone used by the client of the user.    
    * @return TimeZone.
    */
    public TimeZone getTimeZone();

   /**
    * The name of the user.
    * @return name of the user.
    */
    public String getName();
}