com.liferay.portlet.social.model
Class SocialActivityDefinition
java.lang.Object
com.liferay.portlet.social.model.SocialActivityDefinition
- All Implemented Interfaces:
- Serializable
public class SocialActivityDefinition
- extends Object
- implements Serializable
- See Also:
- Serialized Form
SocialActivityDefinition
public SocialActivityDefinition()
addCounter
public void addCounter(SocialActivityCounterDefinition activityCounterDefinition)
clone
public SocialActivityDefinition clone()
- Overrides:
clone
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getAchievements
public List<SocialAchievement> getAchievements()
getActivityCounterDefinition
public SocialActivityCounterDefinition getActivityCounterDefinition(String name)
getActivityCounterDefinitions
public Collection<SocialActivityCounterDefinition> getActivityCounterDefinitions()
getActivityProcessor
public SocialActivityProcessor getActivityProcessor()
getActivityType
public int getActivityType()
getLanguageKey
public String getLanguageKey()
getModelName
public String getModelName()
getName
public String getName(Locale locale)
isCountersEnabled
public boolean isCountersEnabled()
isLogActivity
public boolean isLogActivity()
setActivityProcessor
public void setActivityProcessor(SocialActivityProcessor activityProcessor)
setActivityType
public void setActivityType(int activityKey)
setCounters
public void setCounters(List<SocialActivityCounterDefinition> activityCounterDefinitions)
setCountersEnabled
public void setCountersEnabled(boolean enabled)
setLanguageKey
public void setLanguageKey(String languageKey)
setLogActivity
public void setLogActivity(boolean logActivity)
setModelName
public void setModelName(String modelName)