|
© 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 AdService. This will return
the actual content for ads. All ad queries should the textual content query
strings specified by
ExpressionHelper.
| Inner Class Summary | |
static class |
AdService.AdCounts
Class that is generated by getAdCounts. |
| Method Summary | |
void |
cleanupAdService(java.lang.String containerUID)
Cleanup the AdService removing all records specified by the passed in ContainerUID. |
java.util.Collection |
getAdCounts(java.util.Collection contentId,
java.lang.String containerUID)
return of collection of ad counts |
Content[] |
getContent(java.lang.String adQuery)
Return an array of Content which match the ad query string. |
java.util.Collection |
getContentIds(java.lang.String adQuery)
Return a collection of content identifiers which match the ad query string. |
void |
recordClickThru(java.lang.String contentId,
java.lang.String containerUID,
java.lang.String contextUID,
java.lang.String placeholder,
java.lang.String userId,
Request request)
Update the click thru count for an ad |
void |
recordDisplay(Content c,
java.lang.String containerUID,
java.lang.String contextUID,
java.lang.String placeholder,
java.lang.String userId,
Request request)
Update the display count for an ad. |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
| Method Detail |
public Content[] getContent(java.lang.String adQuery)
throws java.rmi.RemoteException,
AdContentException
adQuery - The content query string
public java.util.Collection getContentIds(java.lang.String adQuery)
throws java.rmi.RemoteException,
AdContentException
adQuery - The content query string
public void recordDisplay(Content c,
java.lang.String containerUID,
java.lang.String contextUID,
java.lang.String placeholder,
java.lang.String userId,
Request request)
throws java.rmi.RemoteException,
java.sql.SQLException
c - The content objectcontainerUID - the UID of the containercontextUID - the UID of the contextplaceholder - the name of the placeholderuserId - the user Idrequest - the HTTP request
public void recordClickThru(java.lang.String contentId,
java.lang.String containerUID,
java.lang.String contextUID,
java.lang.String placeholder,
java.lang.String userId,
Request request)
throws java.rmi.RemoteException,
java.sql.SQLException
c - The content objectcontainerUID - the UID of the containercontextUID - the UID of the contextplaceholder - the name of the placeholderuserId - the user Idrequest - the HTTP request
public void cleanupAdService(java.lang.String containerUID)
throws java.rmi.RemoteException,
ContentException
containerUID - containerUID identifying the records to be removed
public java.util.Collection getAdCounts(java.util.Collection contentId,
java.lang.String containerUID)
throws java.rmi.RemoteException,
java.sql.SQLException
contentId - the content identifiercontainerUID - the UID of the container
|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||