|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.seam.core.AbstractMutable org.jboss.seam.core.Selector
public abstract class Selector
Support for selector objects which remember their selection as a cookie
Constructor Summary | |
---|---|
Selector()
|
Method Summary | |
---|---|
protected void |
clearCookieValue()
|
protected javax.servlet.http.Cookie |
getCookie()
|
int |
getCookieMaxAge()
The max age of the cookie |
protected abstract String |
getCookieName()
Override to define the cookie name |
protected String |
getCookieValue()
|
protected String |
getCookieValueIfEnabled()
Get the value of the cookie |
boolean |
isCookieEnabled()
Is the cookie enabled? |
void |
setCookieEnabled(boolean cookieEnabled)
|
void |
setCookieMaxAge(int cookieMaxAge)
|
protected void |
setCookieValueIfEnabled(String value)
Set the cookie |
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 |
---|
public Selector()
Method Detail |
---|
public boolean isCookieEnabled()
public void setCookieEnabled(boolean cookieEnabled)
public int getCookieMaxAge()
public void setCookieMaxAge(int cookieMaxAge)
protected abstract String getCookieName()
protected String getCookieValueIfEnabled()
protected javax.servlet.http.Cookie getCookie()
protected String getCookieValue()
protected void clearCookieValue()
protected void setCookieValueIfEnabled(String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |