public class SocialActivityCounterDefinition
extends Object
implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
LIMIT_PERIOD_DAY |
static int |
LIMIT_PERIOD_LIFETIME |
static int |
LIMIT_PERIOD_PERIOD |
Constructor and Description |
---|
SocialActivityCounterDefinition() |
SocialActivityCounterDefinition(String name,
int ownerType) |
Modifier and Type | Method and Description |
---|---|
SocialActivityCounterDefinition |
clone() |
boolean |
equals(Object obj) |
int |
getIncrement() |
String |
getKey() |
int |
getLimitPeriod() |
int |
getLimitValue() |
String |
getName() |
int |
getOwnerType() |
int |
getPeriodLength() |
int |
hashCode() |
boolean |
isEnabled() |
boolean |
isLimitEnabled() |
boolean |
isTransient() |
void |
setEnabled(boolean enabled) |
void |
setIncrement(int increment) |
void |
setLimitEnabled(boolean limitEnabled) |
void |
setLimitPeriod(int limitPeriod) |
void |
setLimitPeriod(String limitPeriod) |
void |
setLimitValue(int limitValue) |
void |
setName(String name) |
void |
setOwnerType(int ownerType) |
void |
setOwnerType(String ownerType) |
void |
setPeriodLength(int periodLength) |
void |
setTransient(boolean transientCounter) |
public static final int LIMIT_PERIOD_DAY
public static final int LIMIT_PERIOD_LIFETIME
public static final int LIMIT_PERIOD_PERIOD
public SocialActivityCounterDefinition()
public SocialActivityCounterDefinition(String name, int ownerType)
public SocialActivityCounterDefinition clone()
clone
in class Object
public boolean equals(Object obj)
equals
in class Object
public int getIncrement()
public String getKey()
public int getLimitPeriod()
public int getLimitValue()
public String getName()
public int getOwnerType()
public int getPeriodLength()
public int hashCode()
hashCode
in class Object
public boolean isEnabled()
public boolean isLimitEnabled()
public boolean isTransient()
public void setEnabled(boolean enabled)
public void setIncrement(int increment)
public void setLimitEnabled(boolean limitEnabled)
public void setLimitPeriod(int limitPeriod)
public void setLimitPeriod(String limitPeriod)
public void setLimitValue(int limitValue)
public void setName(String name)
public void setOwnerType(int ownerType)
public void setOwnerType(String ownerType)
public void setPeriodLength(int periodLength)
public void setTransient(boolean transientCounter)