|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--com.beasys.commerce.content.tags.BaseTag
The base class for all content tags.
This provides support for the failOnError
,
readOnly
, useCache
, cacheScope
,
cacheId
, and cacheTimeout
parameters.
Field Summary | |
protected java.lang.String |
cacheId
The cache id. |
protected java.lang.String |
cacheScope
The cache scope. |
protected long |
cacheTimeout
The cache timeout. |
protected boolean |
failOnError
Are we supposed to fail (i.e. |
protected boolean |
readOnly
Are we supposed to get readonly versions of things. |
protected boolean |
useCache
Should this try to use the cache. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id,
pageContext |
Constructor Summary | |
BaseTag()
|
Method Summary | |
java.lang.String |
getCacheId()
Get the cacheId which should be used. |
java.lang.String |
getCacheScope()
Get the value of cacheScope . |
java.lang.String |
getCacheTimeout()
Get the value of cacheTimeout . |
java.lang.String |
getFailOnError()
Get the value of failOnError as a string. |
javax.servlet.http.HttpSession |
getHttpSession()
Get the current HttpSession. |
java.lang.String |
getReadOnly()
Get the value of readOnly as a String. |
java.lang.String |
getUseCache()
Get the value of useCache . |
void |
release()
Release the tag by setting everything to the default. |
void |
setCacheId(java.lang.String s)
Set the value of cacheId . |
void |
setCacheScope(java.lang.String s)
Get the value of cacheScope . |
void |
setCacheTimeout(long l)
Set the value of cacheTimeout . |
void |
setCacheTimeout(java.lang.String v)
Set the value of cacheTimeout . |
void |
setFailOnError(boolean b)
Set the value of failOnError . |
void |
setFailOnError(java.lang.String s)
Set the value of failOnError . |
void |
setReadOnly(boolean b)
Set the value of readOnly . |
void |
setReadOnly(java.lang.String s)
Set the value of readOnly . |
void |
setUseCache(boolean b)
Set the value of useCache . |
void |
setUseCache(java.lang.String s)
Set the value of useCache . |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doEndTag,
doStartTag,
findAncestorWithClass,
getId,
getParent,
getValue,
getValues,
removeValue,
setId,
setPageContext,
setParent,
setValue |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected boolean failOnError
protected boolean readOnly
protected boolean useCache
protected java.lang.String cacheScope
This should correspond to something which the
ContentCache
understands. The
standard values are "application", "session", "page", and
"request".
protected java.lang.String cacheId
When accessing the cache, in general, if this is not set, then the ID should be used.
protected long cacheTimeout
Constructor Detail |
public BaseTag()
Method Detail |
public void release()
public javax.servlet.http.HttpSession getHttpSession()
public java.lang.String getFailOnError()
failOnError
as a string.public void setFailOnError(java.lang.String s)
failOnError
.public void setFailOnError(boolean b)
failOnError
.public java.lang.String getReadOnly()
readOnly
as a String.public void setReadOnly(java.lang.String s)
readOnly
.public void setReadOnly(boolean b)
readOnly
.public java.lang.String getUseCache()
useCache
.public void setUseCache(java.lang.String s)
useCache
.public void setUseCache(boolean b)
useCache
.public java.lang.String getCacheScope()
cacheScope
.public void setCacheScope(java.lang.String s)
cacheScope
.public java.lang.String getCacheId()
public void setCacheId(java.lang.String s)
cacheId
.public java.lang.String getCacheTimeout()
cacheTimeout
.public void setCacheTimeout(java.lang.String v)
cacheTimeout
.public void setCacheTimeout(long l)
cacheTimeout
.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |