|
© 2001 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.commerce.platform.ad.AdInfo
This is a "struct" class for the information stored for a ad.
Constructor Summary | |
AdInfo()
Construct an initialized AdInfo. |
|
AdInfo(long bucketId,
java.lang.String userId,
java.lang.String placeholder,
java.lang.String containerUID,
java.lang.String containerType,
java.lang.String contextUID,
int weight,
java.lang.String query,
int count)
Construct an AdInfo providing the properties |
|
AdInfo(long bucketId,
java.lang.String userId,
java.lang.String placeholder,
java.lang.String containerUID,
java.lang.String containerType,
java.lang.String contextUID,
int weight,
java.lang.String query,
int count,
java.sql.Timestamp expiration)
Construct an AdInfo providing the properties |
Method Summary | |
java.sql.Timestamp |
getAdExpiration()
get the ad expiration |
long |
getBucketId()
get the ad bucket id |
java.lang.String |
getContainerType()
get the container type |
java.lang.String |
getContainerUID()
get the container name |
java.lang.String |
getContextUID()
get the contextUID name |
int |
getCount()
get the view count |
java.lang.String |
getPlaceholder()
get the placeholder name |
java.lang.String |
getQuery()
get the query string |
java.lang.String |
getUserId()
get the userId |
int |
getWeight()
get the ad weight |
void |
setAdExpiration(java.sql.Timestamp expiration)
set the ad expiration |
void |
setBucketId(long bucketId)
set the ad bucket id |
void |
setContainerType(java.lang.String containerType)
set the container type |
void |
setContainerUID(java.lang.String containerUID)
set the container name |
void |
setContextUID(java.lang.String contextUID)
set the contextUID name |
void |
setCount(int count)
set the view count |
void |
setPlaceholder(java.lang.String placeholder)
set the placeholder name |
void |
setQuery(java.lang.String query)
set the query string |
void |
setUserId(java.lang.String userId)
set the userId |
void |
setWeight(int weight)
set the ad weight |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AdInfo()
public AdInfo(long bucketId, java.lang.String userId, java.lang.String placeholder, java.lang.String containerUID, java.lang.String containerType, java.lang.String contextUID, int weight, java.lang.String query, int count)
userId
- the userId for the adplaceholder
- the name of the placeholdercontainerUID
- the name of the containercontainerType
- the type of the contextcontextUID
- the context that created the adweight
- the weight that add has relative to other adsquery
- the content management query stringcount
- the view countpublic AdInfo(long bucketId, java.lang.String userId, java.lang.String placeholder, java.lang.String containerUID, java.lang.String containerType, java.lang.String contextUID, int weight, java.lang.String query, int count, java.sql.Timestamp expiration)
userId
- the userId for the adplaceholder
- the name of the placeholdercontainerUID
- the name of the containercontainerType
- the type of the contextcontextUID
- the context that created the adweight
- the weight that add has relative to other adsquery
- the content management query stringcount
- the view countexpiration
- the ad expirationMethod Detail |
public void setUserId(java.lang.String userId)
public java.lang.String getUserId()
public void setPlaceholder(java.lang.String placeholder)
public java.lang.String getPlaceholder()
public void setContextUID(java.lang.String contextUID)
public java.lang.String getContextUID()
public void setContainerUID(java.lang.String containerUID)
public java.lang.String getContainerUID()
public void setContainerType(java.lang.String containerType)
public java.lang.String getContainerType()
public void setWeight(int weight)
public int getWeight()
public void setBucketId(long bucketId)
public long getBucketId()
public void setQuery(java.lang.String query)
public java.lang.String getQuery()
public void setCount(int count)
public int getCount()
public void setAdExpiration(java.sql.Timestamp expiration)
public java.sql.Timestamp getAdExpiration()
|
© 2001 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |