Package com.liferay.social.kernel.model
Class BaseSocialAchievement
Object
com.liferay.social.kernel.model.BaseSocialAchievement
- All Implemented Interfaces:
SocialAchievement
- Author:
- Zsolt Berentey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoProcessActivity(SocialActivity activity) booleanequals(SocialAchievement socialAchievement) intintintgetIcon()getName()voidinitialize(SocialActivityDefinition activityDefinition) voidprocessActivity(SocialActivity activity) voidsetCounterIncrement(int counterIncrement) voidsetCounterName(String counterName) voidsetCounterOwner(String counterOwner) voidsetCounterPeriodLength(int counterPeriodLength) voidsetCounterThreshold(int counterThreshold) voidvoidvoidsetProperty(String name, String value)
-
Constructor Details
-
BaseSocialAchievement
public BaseSocialAchievement()
-
-
Method Details
-
equals
-
getCounterIncrement
public int getCounterIncrement() -
getCounterName
-
getCounterOwner
-
getCounterPeriodLength
public int getCounterPeriodLength() -
getCounterThreshold
public int getCounterThreshold() -
getDescriptionKey
- Specified by:
getDescriptionKeyin interfaceSocialAchievement
-
getIcon
- Specified by:
getIconin interfaceSocialAchievement
-
getName
- Specified by:
getNamein interfaceSocialAchievement
-
getNameKey
- Specified by:
getNameKeyin interfaceSocialAchievement
-
initialize
- Specified by:
initializein interfaceSocialAchievement
-
processActivity
- Specified by:
processActivityin interfaceSocialAchievement
-
setCounterIncrement
public void setCounterIncrement(int counterIncrement) -
setCounterName
-
setCounterOwner
-
setCounterPeriodLength
public void setCounterPeriodLength(int counterPeriodLength) -
setCounterThreshold
public void setCounterThreshold(int counterThreshold) -
setIcon
- Specified by:
setIconin interfaceSocialAchievement
-
setName
- Specified by:
setNamein interfaceSocialAchievement
-
setProperty
- Specified by:
setPropertyin interfaceSocialAchievement
-
doProcessActivity
- Throws:
PortalException
-