Liferay 6.1.2-ce-ga3

com.liferay.portlet.social.model.impl
Class SocialActivityLimitModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<SocialActivityLimit>
      extended by com.liferay.portlet.social.model.impl.SocialActivityLimitModelImpl
All Implemented Interfaces:
AttachedModel, BaseModel<SocialActivityLimit>, ClassedModel, SocialActivityLimitModel, Serializable, Cloneable, Comparable<SocialActivityLimit>
Direct Known Subclasses:
SocialActivityLimitBaseImpl

public class SocialActivityLimitModelImpl
extends BaseModelImpl<SocialActivityLimit>
implements SocialActivityLimitModel

The base model implementation for the SocialActivityLimit service. Represents a row in the "SocialActivityLimit" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface SocialActivityLimitModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialActivityLimitImpl.

See Also:
SocialActivityLimitImpl, SocialActivityLimit, SocialActivityLimitModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static long ACTIVITYCOUNTERNAME_COLUMN_BITMASK
           
static long ACTIVITYTYPE_COLUMN_BITMASK
           
static long CLASSNAMEID_COLUMN_BITMASK
           
static long CLASSPK_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long GROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long USERID_COLUMN_BITMASK
           
 
Constructor Summary
SocialActivityLimitModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SocialActivityLimit socialActivityLimit)
           
 boolean equals(Object obj)
           
 String getActivityCounterName()
          Returns the activity counter name of this social activity limit.
 long getActivityLimitId()
          Returns the activity limit ID of this social activity limit.
 int getActivityType()
          Returns the activity type of this social activity limit.
 String getClassName()
          Returns the fully qualified class name of this social activity limit.
 long getClassNameId()
          Returns the class name ID of this social activity limit.
 long getClassPK()
          Returns the class p k of this social activity limit.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this social activity limit.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this social activity limit.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 String getOriginalActivityCounterName()
           
 int getOriginalActivityType()
           
 long getOriginalClassNameId()
           
 long getOriginalClassPK()
           
 long getOriginalGroupId()
           
 long getOriginalUserId()
           
 long getPrimaryKey()
          Returns the primary key of this social activity limit.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getUserId()
          Returns the user ID of this social activity limit.
 String getUserUuid()
          Returns the user uuid of this social activity limit.
 String getValue()
          Returns the value of this social activity limit.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setActivityCounterName(String activityCounterName)
          Sets the activity counter name of this social activity limit.
 void setActivityLimitId(long activityLimitId)
          Sets the activity limit ID of this social activity limit.
 void setActivityType(int activityType)
          Sets the activity type of this social activity limit.
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
          Sets the class name ID of this social activity limit.
 void setClassPK(long classPK)
          Sets the class p k of this social activity limit.
 void setCompanyId(long companyId)
          Sets the company ID of this social activity limit.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
          Sets the group ID of this social activity limit.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this social activity limit.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setUserId(long userId)
          Sets the user ID of this social activity limit.
 void setUserUuid(String userUuid)
          Sets the user uuid of this social activity limit.
 void setValue(String value)
          Sets the value of this social activity limit.
 CacheModel<SocialActivityLimit> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 SocialActivityLimit toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 SocialActivityLimit toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.social.model.SocialActivityLimitModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

ACTIVITYCOUNTERNAME_COLUMN_BITMASK

public static long ACTIVITYCOUNTERNAME_COLUMN_BITMASK

ACTIVITYTYPE_COLUMN_BITMASK

public static long ACTIVITYTYPE_COLUMN_BITMASK

CLASSNAMEID_COLUMN_BITMASK

public static long CLASSNAMEID_COLUMN_BITMASK

CLASSPK_COLUMN_BITMASK

public static long CLASSPK_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

SocialActivityLimitModelImpl

public SocialActivityLimitModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: SocialActivityLimitModel
Returns the primary key of this social activity limit.

Specified by:
getPrimaryKey in interface SocialActivityLimitModel
Returns:
the primary key of this social activity limit

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: SocialActivityLimitModel
Sets the primary key of this social activity limit.

Specified by:
setPrimaryKey in interface SocialActivityLimitModel
Parameters:
primaryKey - the primary key of this social activity limit

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<SocialActivityLimit>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface SocialActivityLimitModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<SocialActivityLimit>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface SocialActivityLimitModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<SocialActivityLimit>
Overrides:
getModelAttributes in class BaseModelImpl<SocialActivityLimit>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<SocialActivityLimit>
Overrides:
setModelAttributes in class BaseModelImpl<SocialActivityLimit>

getActivityLimitId

public long getActivityLimitId()
Description copied from interface: SocialActivityLimitModel
Returns the activity limit ID of this social activity limit.

Specified by:
getActivityLimitId in interface SocialActivityLimitModel
Returns:
the activity limit ID of this social activity limit

setActivityLimitId

public void setActivityLimitId(long activityLimitId)
Description copied from interface: SocialActivityLimitModel
Sets the activity limit ID of this social activity limit.

Specified by:
setActivityLimitId in interface SocialActivityLimitModel
Parameters:
activityLimitId - the activity limit ID of this social activity limit

getGroupId

public long getGroupId()
Description copied from interface: SocialActivityLimitModel
Returns the group ID of this social activity limit.

Specified by:
getGroupId in interface SocialActivityLimitModel
Returns:
the group ID of this social activity limit

setGroupId

public void setGroupId(long groupId)
Description copied from interface: SocialActivityLimitModel
Sets the group ID of this social activity limit.

Specified by:
setGroupId in interface SocialActivityLimitModel
Parameters:
groupId - the group ID of this social activity limit

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Description copied from interface: SocialActivityLimitModel
Returns the company ID of this social activity limit.

Specified by:
getCompanyId in interface SocialActivityLimitModel
Returns:
the company ID of this social activity limit

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: SocialActivityLimitModel
Sets the company ID of this social activity limit.

Specified by:
setCompanyId in interface SocialActivityLimitModel
Parameters:
companyId - the company ID of this social activity limit

getUserId

public long getUserId()
Description copied from interface: SocialActivityLimitModel
Returns the user ID of this social activity limit.

Specified by:
getUserId in interface SocialActivityLimitModel
Returns:
the user ID of this social activity limit

setUserId

public void setUserId(long userId)
Description copied from interface: SocialActivityLimitModel
Sets the user ID of this social activity limit.

Specified by:
setUserId in interface SocialActivityLimitModel
Parameters:
userId - the user ID of this social activity limit

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: SocialActivityLimitModel
Returns the user uuid of this social activity limit.

Specified by:
getUserUuid in interface SocialActivityLimitModel
Returns:
the user uuid of this social activity limit
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: SocialActivityLimitModel
Sets the user uuid of this social activity limit.

Specified by:
setUserUuid in interface SocialActivityLimitModel
Parameters:
userUuid - the user uuid of this social activity limit

getOriginalUserId

public long getOriginalUserId()

getClassName

public String getClassName()
Description copied from interface: SocialActivityLimitModel
Returns the fully qualified class name of this social activity limit.

Specified by:
getClassName in interface AttachedModel
Specified by:
getClassName in interface SocialActivityLimitModel
Returns:
the fully qualified class name of this social activity limit

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface SocialActivityLimitModel

getClassNameId

public long getClassNameId()
Description copied from interface: SocialActivityLimitModel
Returns the class name ID of this social activity limit.

Specified by:
getClassNameId in interface AttachedModel
Specified by:
getClassNameId in interface SocialActivityLimitModel
Returns:
the class name ID of this social activity limit

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: SocialActivityLimitModel
Sets the class name ID of this social activity limit.

Specified by:
setClassNameId in interface AttachedModel
Specified by:
setClassNameId in interface SocialActivityLimitModel
Parameters:
classNameId - the class name ID of this social activity limit

getOriginalClassNameId

public long getOriginalClassNameId()

getClassPK

public long getClassPK()
Description copied from interface: SocialActivityLimitModel
Returns the class p k of this social activity limit.

Specified by:
getClassPK in interface AttachedModel
Specified by:
getClassPK in interface SocialActivityLimitModel
Returns:
the class p k of this social activity limit

setClassPK

public void setClassPK(long classPK)
Description copied from interface: SocialActivityLimitModel
Sets the class p k of this social activity limit.

Specified by:
setClassPK in interface AttachedModel
Specified by:
setClassPK in interface SocialActivityLimitModel
Parameters:
classPK - the class p k of this social activity limit

getOriginalClassPK

public long getOriginalClassPK()

getActivityType

public int getActivityType()
Description copied from interface: SocialActivityLimitModel
Returns the activity type of this social activity limit.

Specified by:
getActivityType in interface SocialActivityLimitModel
Returns:
the activity type of this social activity limit

setActivityType

public void setActivityType(int activityType)
Description copied from interface: SocialActivityLimitModel
Sets the activity type of this social activity limit.

Specified by:
setActivityType in interface SocialActivityLimitModel
Parameters:
activityType - the activity type of this social activity limit

getOriginalActivityType

public int getOriginalActivityType()

getActivityCounterName

public String getActivityCounterName()
Description copied from interface: SocialActivityLimitModel
Returns the activity counter name of this social activity limit.

Specified by:
getActivityCounterName in interface SocialActivityLimitModel
Returns:
the activity counter name of this social activity limit

setActivityCounterName

public void setActivityCounterName(String activityCounterName)
Description copied from interface: SocialActivityLimitModel
Sets the activity counter name of this social activity limit.

Specified by:
setActivityCounterName in interface SocialActivityLimitModel
Parameters:
activityCounterName - the activity counter name of this social activity limit

getOriginalActivityCounterName

public String getOriginalActivityCounterName()

getValue

public String getValue()
Description copied from interface: SocialActivityLimitModel
Returns the value of this social activity limit.

Specified by:
getValue in interface SocialActivityLimitModel
Returns:
the value of this social activity limit

setValue

public void setValue(String value)
Description copied from interface: SocialActivityLimitModel
Sets the value of this social activity limit.

Specified by:
setValue in interface SocialActivityLimitModel
Parameters:
value - the value of this social activity limit

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<SocialActivityLimit>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface SocialActivityLimitModel
Overrides:
getExpandoBridge in class BaseModelImpl<SocialActivityLimit>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<SocialActivityLimit>
Specified by:
setExpandoBridgeAttributes in interface SocialActivityLimitModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<SocialActivityLimit>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public SocialActivityLimit toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<SocialActivityLimit>
Specified by:
toEscapedModel in interface SocialActivityLimitModel
Overrides:
toEscapedModel in class BaseModelImpl<SocialActivityLimit>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public SocialActivityLimit toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<SocialActivityLimit>
Specified by:
toUnescapedModel in interface SocialActivityLimitModel
Overrides:
toUnescapedModel in class BaseModelImpl<SocialActivityLimit>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<SocialActivityLimit>
Specified by:
clone in interface SocialActivityLimitModel
Specified by:
clone in class BaseModelImpl<SocialActivityLimit>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(SocialActivityLimit socialActivityLimit)
Specified by:
compareTo in interface SocialActivityLimitModel
Specified by:
compareTo in interface Comparable<SocialActivityLimit>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface SocialActivityLimitModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<SocialActivityLimit>
Overrides:
resetOriginalValues in class BaseModelImpl<SocialActivityLimit>

toCacheModel

public CacheModel<SocialActivityLimit> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<SocialActivityLimit>
Specified by:
toCacheModel in interface SocialActivityLimitModel
Overrides:
toCacheModel in class BaseModelImpl<SocialActivityLimit>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface SocialActivityLimitModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<SocialActivityLimit>
Specified by:
toXmlString in interface SocialActivityLimitModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3