|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.plugin.referer.BlogReferer
BlogReferer
Constructor Summary | |
BlogReferer(java.lang.String flavor,
java.lang.String url,
java.util.Date date,
int count)
Blog referer constructor |
Method Summary | |
int |
getCount()
Get the referer count |
java.lang.String |
getFlavor()
Get the flavor for the blog referer |
java.util.Date |
getLastReferral()
Get the last date of referral for this URL |
java.lang.String |
getUrl()
Get the URL for this blog referer |
void |
increment()
Increment the referer count by 1 |
boolean |
isToday()
Check whether this blog referer has been seen today |
void |
setCount(int count)
Set the referer count |
void |
setFlavor(java.lang.String flavor)
Set the flavor for this blog referer |
void |
setLastReferral(java.util.Date lastreferal)
Set the date of last referral for this blog referer |
void |
setUrl(java.lang.String url)
Set the URL for this blog referer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BlogReferer(java.lang.String flavor, java.lang.String url, java.util.Date date, int count)
flavor
- Flavorurl
- URLdate
- Datecount
- Hit countMethod Detail |
public java.lang.String getFlavor()
public void setFlavor(java.lang.String flavor)
flavor
- Flavorpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- URLpublic java.util.Date getLastReferral()
public boolean isToday()
true
if it has been seen today, false
otherwisepublic void setLastReferral(java.util.Date lastreferal)
lastreferal
- Last referral datepublic int getCount()
public void increment()
public void setCount(int count)
count
- Referer count
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |