|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.bea.p13n.servlets.jsp.TagSupport
com.bea.p13n.servlets.jsp.taglib.ContentTagSupport
public class ContentTagSupport
Base Tag class for tags which deal with Content.
This provides access to the Content Cache.
| Field Summary | |
|---|---|
protected String |
cacheId
The cache id. |
protected String |
cacheScope
The cache scope. |
protected long |
cacheTimeout
The cache timeout. |
protected Map |
contextParams
The context params. |
protected String[] |
searchPaths
Search paths. |
protected boolean |
useCache
Should this try to use the cache. |
| Constructor Summary | |
|---|---|
ContentTagSupport()
|
|
| Method Summary | |
|---|---|
protected Node[] |
checkContentCache()
Check the content cache for the requested Content. |
String |
getCacheId()
Get cacheId which should be used. |
String |
getCacheScope()
Get the cacheScope. |
String |
getCacheTimeout()
Get the value of cacheTimeout. |
Map |
getContextParams()
Get the context params. |
String[] |
getSearchPaths()
Get the value of searchPaths. |
String |
getUseCache()
Get the value of useCache. |
protected void |
initRepositoryManager()
|
void |
release()
Reset any variables. |
protected Node[] |
secureContentResults(Node[] original)
Secure the original results based on users security credentials to view the content |
void |
setCacheId(String s)
Set the value of cacheId. |
void |
setCacheScope(String s)
Set the cacheScope. |
void |
setCacheTimeout(long l)
Set the value of cacheTimeout. |
void |
setCacheTimeout(String v)
Set the value of cacheTimeout. |
void |
setContextParams(Map m)
Set the context params. |
void |
setContextParams(String str)
Set the context params from semi-colon separate list of name=value pairs. |
void |
setInContentCache(Node[] content)
Update the content cache with the specified content. |
void |
setSearchPaths(String searchPaths)
Set the value of searchPaths. |
void |
setSearchPaths(String[] searchPaths)
Set the value of searchPaths. |
void |
setUseCache(boolean b)
Set the value of useCache. |
void |
setUseCache(String s)
Set the value of useCache. |
| Methods inherited from class com.bea.p13n.servlets.jsp.TagSupport |
|---|
createAdviceRequest, createAdvisor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean useCache
protected String cacheScope
protected String cacheId
protected long cacheTimeout
protected Map contextParams
protected String[] searchPaths
| Constructor Detail |
|---|
public ContentTagSupport()
| Method Detail |
|---|
public void release()
protected void initRepositoryManager()
protected Node[] secureContentResults(Node[] original)
original -
protected Node[] checkContentCache()
This will use the useCache,
cacheScope, cacheId,
and cacheTimeout settings.
public void setInContentCache(Node[] content)
public String getUseCache()
useCache.
public void setUseCache(String s)
useCache.
public void setSearchPaths(String searchPaths)
searchPaths.
public void setSearchPaths(String[] searchPaths)
searchPaths.
public String[] getSearchPaths()
searchPaths.
public void setUseCache(boolean b)
useCache.
public String getCacheScope()
cacheScope.
public void setCacheScope(String s)
cacheScope.
public String getCacheId()
public void setCacheId(String s)
cacheId.
public String getCacheTimeout()
cacheTimeout.
public void setCacheTimeout(String v)
cacheTimeout.
public void setCacheTimeout(long l)
cacheTimeout.
public Map getContextParams()
public void setContextParams(String str)
public void setContextParams(Map m)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||