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 SocialAchievement
public String getIcon()
getIcon
in interface SocialAchievement
public String getName()
getName
in interface SocialAchievement
public String getNameKey()
getNameKey
in interface SocialAchievement
public void initialize(SocialActivityDefinition activityDefinition)
initialize
in interface SocialAchievement
public void processActivity(SocialActivity activity)
processActivity
in interface SocialAchievement
public 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 SocialAchievement
public void setName(String name)
setName
in interface SocialAchievement
public void setProperty(String name, String value)
setProperty
in interface SocialAchievement
protected void doProcessActivity(SocialActivity activity) throws PortalException
PortalException