|
© 2002 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.
Method Summary | |
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.util.Collection |
getDeployedPlaceholderURIs()
Get the list of placeholder uris currently deployed in this service. |
java.lang.String |
getPreviewSlot(long previewId)
Get a preview slot's XML query. |
java.lang.String |
getPreviewSlotQuery(long previewId,
java.lang.String userId)
Get a preview slot's XML query as a content query, with any property references filled out. |
java.util.Collection |
previewContent(long previewId,
java.lang.String userId,
java.lang.String servletBase,
java.lang.String phType)
Deprecated. No longer used. |
java.util.Collection |
previewContent(java.lang.String query,
java.lang.String servletBase,
java.lang.String phType,
boolean renderContent)
Return a collection of PreviewInfo structures which match all of the content for the query. |
void |
removePreviewSlot(long previewId)
Remove a preview slot |
long |
setPreviewSlot(java.lang.String xmlQuery)
Create a preview slot. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
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 contentpublic java.util.Collection previewContent(java.lang.String query, java.lang.String servletBase, java.lang.String phType, boolean renderContent) throws java.rmi.RemoteException, ContentException
query
- the content query to previewservletBase
- the base URI of the webapp to preview inphType
- the placeholder type (Ad, ContentSelector)renderContent
- true to include the rendering content in the
preview, false to not.public java.util.Collection previewContent(long previewId, java.lang.String userId, java.lang.String servletBase, java.lang.String phType) throws java.rmi.RemoteException, ContentException
previewId
- the id of the preview slot containing the queryuserId
- the id of the user to preview asservletBase
- the base URI of the webapp to preview inphType
- the placeholder type (Ad, ContentSelector)getPreviewSlot(long)
,
ContentQuery
,
PropertyProviderImpl
public java.lang.String getPreviewSlot(long previewId) throws java.rmi.RemoteException, ContentException
public java.lang.String getPreviewSlotQuery(long previewId, java.lang.String userId) throws java.rmi.RemoteException, ContentException, ProfileNotFoundException, java.lang.IllegalArgumentException
public long setPreviewSlot(java.lang.String xmlQuery) throws java.rmi.RemoteException, ContentException
public void removePreviewSlot(long previewId) throws java.rmi.RemoteException, ContentException
public java.util.Collection getDeployedPlaceholderURIs() throws java.rmi.RemoteException, ContentException
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |