Liferay 6.2-ce-ga5

com.liferay.portlet.social.model
Class SocialActivityCounterDefinition

java.lang.Object
  extended by com.liferay.portlet.social.model.SocialActivityCounterDefinition
All Implemented Interfaces:
Serializable

public class SocialActivityCounterDefinition
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static int LIMIT_PERIOD_DAY
           
static int LIMIT_PERIOD_LIFETIME
           
static int LIMIT_PERIOD_PERIOD
           
 
Constructor Summary
SocialActivityCounterDefinition()
           
SocialActivityCounterDefinition(String name, int ownerType)
           
 
Method Summary
 SocialActivityCounterDefinition clone()
           
 boolean equals(Object obj)
           
 int getIncrement()
           
 String getKey()
           
 int getLimitPeriod()
           
 int getLimitValue()
           
 String getName()
           
 int getOwnerType()
           
 int getPeriodLength()
           
 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)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SocialActivityCounterDefinition

public SocialActivityCounterDefinition()

SocialActivityCounterDefinition

public SocialActivityCounterDefinition(String name,
                                       int ownerType)
Method Detail

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)

Liferay 6.2-ce-ga5