public class BaseSocialAchievement extends Object implements SocialAchievement
| Constructor and Description |
|---|
BaseSocialAchievement() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doProcessActivity(SocialActivity activity) |
boolean |
equals(SocialAchievement socialAchievement) |
int |
getCounterIncrement() |
String |
getCounterName() |
String |
getCounterOwner() |
int |
getCounterPeriodLength() |
int |
getCounterThreshold() |
String |
getDescriptionKey() |
String |
getIcon() |
String |
getName() |
String |
getNameKey() |
void |
initialize(SocialActivityDefinition activityDefinition) |
void |
processActivity(SocialActivity activity) |
void |
setCounterIncrement(int counterIncrement) |
void |
setCounterName(String counterName) |
void |
setCounterOwner(String counterOwner) |
void |
setCounterPeriodLength(int counterPeriodLength) |
void |
setCounterThreshold(int counterThreshold) |
void |
setIcon(String icon) |
void |
setName(String name) |
void |
setProperty(String name,
String value) |
public boolean equals(SocialAchievement socialAchievement)
public int getCounterIncrement()
public String getCounterName()
public String getCounterOwner()
public int getCounterPeriodLength()
public int getCounterThreshold()
public String getDescriptionKey()
getDescriptionKey in interface SocialAchievementpublic String getIcon()
getIcon in interface SocialAchievementpublic String getName()
getName in interface SocialAchievementpublic String getNameKey()
getNameKey in interface SocialAchievementpublic void initialize(SocialActivityDefinition activityDefinition)
initialize in interface SocialAchievementpublic void processActivity(SocialActivity activity)
processActivity in interface SocialAchievementpublic void setCounterIncrement(int counterIncrement)
public void setCounterName(String counterName)
public void setCounterOwner(String counterOwner)
public void setCounterPeriodLength(int counterPeriodLength)
public void setCounterThreshold(int counterThreshold)
public void setIcon(String icon)
setIcon in interface SocialAchievementpublic void setName(String name)
setName in interface SocialAchievementpublic void setProperty(String name, String value)
setProperty in interface SocialAchievementprotected void doProcessActivity(SocialActivity activity) throws PortalException
PortalException