|
© 2002 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A ContentBucket is an interface which the PlaceholderService uses to obtain content for the PlaceholderTag.
| Inner Class Summary | |
static class |
ContentBucket.PreviewInfo
Class that captures the information from the preview. |
| Method Summary | |
java.lang.String |
getContent(java.lang.String placeholderName,
boolean mixGlobals,
java.lang.String userId,
java.lang.String servletBase,
Request request,
int height,
int width)
Return the content for the specific placeholder and user. |
java.util.Collection |
previewContent(java.lang.String servletBase,
java.lang.String query,
boolean renderContent)
Return a collection of PreviewInfo structures which match all of the content for the query. |
void |
removeGlobalQueries(java.lang.String placeholderName,
boolean allQueries)
Remove queries from the add bucket. |
void |
setGlobalQuery(java.lang.String placeholderName,
java.lang.String query,
int weight)
Set a global query for the placeholder. |
| Method Detail |
public java.lang.String getContent(java.lang.String placeholderName,
boolean mixGlobals,
java.lang.String userId,
java.lang.String servletBase,
Request request,
int height,
int width)
throws java.rmi.RemoteException,
ContentException
placeholderName - The name of the specific placeholder requesting
the contentmixGlobals - Flag indicating if globals should be mixeduserId - The user nameservletBase - the Web App root for the Click thru servletrequest - the HTTP requestheight - A requested height for the contentwidth - A requested width for the content
public java.util.Collection previewContent(java.lang.String servletBase,
java.lang.String query,
boolean renderContent)
throws java.rmi.RemoteException,
ContentException
servletBase - the Web App root for the Click thru servletquery - The content query to be previewedrenderContent - true to include the rendering content in the
preview, false to not.
public void setGlobalQuery(java.lang.String placeholderName,
java.lang.String query,
int weight)
throws java.rmi.RemoteException,
ContentException
placeholderName - the name of the placeholder setting the global
queryquery - The query expression of the query.weight - the weight associated with the content
public void removeGlobalQueries(java.lang.String placeholderName,
boolean allQueries)
throws java.rmi.RemoteException,
ContentException
placeholderName - the name of the placeholderremoveAll - if true remove all entries for the placeholder,
otherwise simply remove the global entries.
|
© 2002 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||