|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umich.eecs.tac.props.AbstractTransportable
edu.umich.eecs.tac.props.AbstractTransportableEntryListBacking<S>
edu.umich.eecs.tac.props.AbstractKeyedEntryList<java.lang.String,T>
edu.umich.eecs.tac.props.AbstractAdvertiserKeyedReportTransportable<QueryReport.DisplayReportEntry>
edu.umich.eecs.tac.props.QueryReport.DisplayReport
public static class QueryReport.DisplayReport
Display report contains the positions and displayed ads of all advertisers during the period for each query class.
| Constructor Summary | |
|---|---|
QueryReport.DisplayReport()
|
|
| Method Summary | |
|---|---|
protected QueryReport.DisplayReportEntry |
createEntry(java.lang.String advertiser)
Creates a QueryReport.DisplayReportEntry keyed with the supplied advertiser. |
protected java.lang.Class |
entryClass()
Returns the QueryReport.DisplayReportEntry class. |
Ad |
getAd(int index)
Returns the shown ad for the advertiser. |
Ad |
getAd(java.lang.String advertiser)
Returns the shown ad for the advertiser. |
double |
getPosition(int index)
Returns the average position for the advertiser. |
double |
getPosition(java.lang.String advertiser)
Returns the average position for the advertiser. |
void |
setAd(int index,
Ad ad)
Sets the shown ad for the advertiser. |
void |
setAd(java.lang.String advertiser,
Ad ad)
Sets the shown ad for the advertiser. |
void |
setAdAndPosition(int index,
Ad ad,
double position)
Sets the shown ad and the average position for the advertiser. |
void |
setAdAndPosition(java.lang.String advertiser,
Ad ad,
double position)
Sets the shown ad and the average position for the advertiser. |
void |
setPosition(int index,
double position)
Sets the average position for the advertiser. |
void |
setPosition(java.lang.String advertiser,
double position)
Sets the average position for the advertiser. |
| Methods inherited from class edu.umich.eecs.tac.props.AbstractAdvertiserKeyedReportTransportable |
|---|
addAdvertiser, containsAdvertiser |
| Methods inherited from class edu.umich.eecs.tac.props.AbstractKeyedEntryList |
|---|
addKey, containsKey, getEntry, getKey, indexForEntry, iterator, keys |
| Methods inherited from class edu.umich.eecs.tac.props.AbstractTransportableEntryListBacking |
|---|
addEntry, afterAddEntry, afterRemoveEntry, beforeAddEntry, beforeRemoveEntry, getEntries, getEntry, readAfterEntries, readBeforeEntries, readWithLock, removeEntry, size, toString, toStringAfterEntries, toStringBeforeEntries, writeAfterEntries, writeBeforeEntries, writeWithLock |
| Methods inherited from class edu.umich.eecs.tac.props.AbstractTransportable |
|---|
getTransportName, isLocked, lock, lockCheck, read, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QueryReport.DisplayReport()
| Method Detail |
|---|
protected final QueryReport.DisplayReportEntry createEntry(java.lang.String advertiser)
QueryReport.DisplayReportEntry keyed with the supplied advertiser.
createEntry in class AbstractKeyedEntryList<java.lang.String,QueryReport.DisplayReportEntry>advertiser - the advertiser
QueryReport.DisplayReportEntry keyed with the supplied advertiser.protected final java.lang.Class entryClass()
QueryReport.DisplayReportEntry class.
entryClass in class AbstractTransportableEntryListBacking<QueryReport.DisplayReportEntry>QueryReport.DisplayReportEntry class.public final double getPosition(java.lang.String advertiser)
advertiser - the advertiser
public final double getPosition(int index)
index - the advertiser index
public final void setPosition(java.lang.String advertiser,
double position)
advertiser - the advertiserposition - the average position for the advertiser
public final void setPosition(int index,
double position)
index - the advertiser indexposition - the average position for the advertiserpublic final Ad getAd(java.lang.String advertiser)
advertiser - the advertiser
public final Ad getAd(int index)
index - the advertiser index
public final void setAd(java.lang.String advertiser,
Ad ad)
advertiser - the advertiserad - the shown ad for the advertiser.
public final void setAd(int index,
Ad ad)
index - the advertiser indexad - the shown ad for the advertiser.
public final void setAdAndPosition(java.lang.String advertiser,
Ad ad,
double position)
advertiser - the advertiserad - the shown ad for the advertiser.position - the average position for the advertiser.
public final void setAdAndPosition(int index,
Ad ad,
double position)
index - the advertiser indexad - the shown ad for the advertiser.position - the average position for the advertiser.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||