com.liferay.portlet.social.model
Class SocialActivityCounterDefinition
java.lang.Object
com.liferay.portlet.social.model.SocialActivityCounterDefinition
- All Implemented Interfaces:
- Serializable
public class SocialActivityCounterDefinition
- extends Object
- implements Serializable
- See Also:
- Serialized Form
LIMIT_PERIOD_DAY
public static final int LIMIT_PERIOD_DAY
- See Also:
- Constant Field Values
LIMIT_PERIOD_LIFETIME
public static final int LIMIT_PERIOD_LIFETIME
- See Also:
- Constant Field Values
LIMIT_PERIOD_PERIOD
public static final int LIMIT_PERIOD_PERIOD
- See Also:
- Constant Field Values
SocialActivityCounterDefinition
public SocialActivityCounterDefinition()
SocialActivityCounterDefinition
public SocialActivityCounterDefinition(String name,
int ownerType)
clone
public SocialActivityCounterDefinition clone()
- Overrides:
clone
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getIncrement
public int getIncrement()
getKey
public String getKey()
getLimitPeriod
public int getLimitPeriod()
getLimitValue
public int getLimitValue()
getName
public String getName()
getOwnerType
public int getOwnerType()
getPeriodLength
public int getPeriodLength()
isEnabled
public boolean isEnabled()
isLimitEnabled
public boolean isLimitEnabled()
isTransient
public boolean isTransient()
setEnabled
public void setEnabled(boolean enabled)
setIncrement
public void setIncrement(int increment)
setLimitEnabled
public void setLimitEnabled(boolean limitEnabled)
setLimitPeriod
public void setLimitPeriod(int limitPeriod)
setLimitPeriod
public void setLimitPeriod(String limitPeriod)
setLimitValue
public void setLimitValue(int limitValue)
setName
public void setName(String name)
setOwnerType
public void setOwnerType(int ownerType)
setOwnerType
public void setOwnerType(String ownerType)
setPeriodLength
public void setPeriodLength(int periodLength)
setTransient
public void setTransient(boolean transientCounter)