|
© 2001 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The remote bean interface for the PlaceholderService. A placeholder is a named location in some page and is represented by the PlaceholderTag. The primary function of the placeholder service is to return content to the PlaceholderTag when it is viewed. This content is based upon the type of the placeholder, and user information.
Additional features allow new placeholders to be created and list all of the placeholders currently defined.
Method Summary | |
boolean |
definePlaceholder(java.lang.String placeholder)
Define a new placeholder for the system. |
java.lang.String |
getContent(java.lang.String name,
java.lang.String userId,
java.lang.String servletBase,
Request request,
int height,
int width)
Return the content for the requested placeholder. |
java.lang.String |
getPlaceholder(java.lang.String name)
Return a xml blob that contains the placeholder definition |
java.lang.String |
getPlaceholders()
Return an XML blob of the placeholders defined on the system |
java.util.Collection |
previewContent(long previewId,
java.lang.String userId,
java.lang.String phType)
Return a collection of PreviewInfo structures which match all of the content for the query. |
void |
removePlaceholder(java.lang.String placeholder)
Remove a placeholder |
void |
removePreviewSlot(long previewId)
|
long |
setPreviewSlot(java.lang.String xmlQuery)
Set an xml string into |
Method Detail |
public java.lang.String getContent(java.lang.String name, java.lang.String userId, java.lang.String servletBase, Request request, int height, int width) throws java.rmi.RemoteException, ContentException
name
- The name of the placeholderuserId
- The user idservletBase
- A URL base that is used to find the ClickThru and
ShowDocServletrequest
- The http requestheight
- The requested height of the contentwidth
- The requested width of the contentContent
- is thrown when there is a failure to obtain
the contentpublic java.util.Collection previewContent(long previewId, java.lang.String userId, java.lang.String phType) throws java.rmi.RemoteException, ContentException
public long setPreviewSlot(java.lang.String xmlQuery) throws java.rmi.RemoteException, ContentException
public void removePreviewSlot(long previewId) throws java.rmi.RemoteException, ContentException
public java.lang.String getPlaceholders() throws java.rmi.RemoteException, ContentException
public java.lang.String getPlaceholder(java.lang.String name) throws java.rmi.RemoteException, ContentException
name
- the placeholder nameContent
- when we fail to get the content from the bucketpublic boolean definePlaceholder(java.lang.String placeholder) throws java.rmi.RemoteException, ContentException
placeholder
- the XML defining the placeholderContent
- when we fail to define a new placeholderpublic void removePlaceholder(java.lang.String placeholder) throws java.rmi.RemoteException, ContentException
|
© 2001 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |