站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 API 英文版文档

TimeZoneSelector (JBoss Seam API Documentation) - JBoss Seam 1.1.0 API 英文版文档


org.jboss.seam.core
Class TimeZoneSelector

java.lang.Object
  extended by org.jboss.seam.core.AbstractMutable
      extended by org.jboss.seam.core.TimeZoneSelector
All Implemented Interfaces:
Serializable, Mutable

@Scope(value=SESSION)
@Name(value="org.jboss.seam.core.timeZoneSelector")
@Intercept(value=NEVER)
@Install(value=false,
         precedence=0)
public class TimeZoneSelector
extends AbstractMutable
implements Serializable

Selects the current user's time zone, defaulting to the server time zone.

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
TimeZoneSelector()
           
 
Method Summary
protected  int getCookieMaxAge()
           
 TimeZone getTimeZone()
           
 String getTimeZoneId()
           
 void initTimeZone()
           
static TimeZoneSelector instance()
           
 boolean isCookieEnabled()
           
 void select()
          Force the resource bundle to reload, using the current locale
 void setCookieEnabled(boolean cookieEnabled)
           
protected  void setCookieMaxAge(int cookieMaxAge)
           
 void setTimeZone(TimeZone timeZone)
           
 void setTimeZoneId(String id)
           
 
Methods inherited from class org.jboss.seam.core.AbstractMutable
clearDirty, setDirty, setDirty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeZoneSelector

public TimeZoneSelector()
Method Detail

initTimeZone

@Create
public void initTimeZone()

select

public void select()
Force the resource bundle to reload, using the current locale


setTimeZone

public void setTimeZone(TimeZone timeZone)

setTimeZoneId

public void setTimeZoneId(String id)

getTimeZoneId

public String getTimeZoneId()

getTimeZone

public TimeZone getTimeZone()

instance

public static TimeZoneSelector instance()

isCookieEnabled

public boolean isCookieEnabled()

setCookieEnabled

public void setCookieEnabled(boolean cookieEnabled)

getCookieMaxAge

protected int getCookieMaxAge()

setCookieMaxAge

protected void setCookieMaxAge(int cookieMaxAge)