Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<SocialEquityLog>
      extended by com.liferay.portlet.social.model.impl.SocialEquityLogModelImpl
All Implemented Interfaces:
BaseModel<SocialEquityLog>, SocialEquityLogModel, Serializable, Cloneable, Comparable<SocialEquityLog>
Direct Known Subclasses:
SocialEquityLogImpl

public class SocialEquityLogModelImpl
extends BaseModelImpl<SocialEquityLog>
implements SocialEquityLogModel

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

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

Never modify or reference this class directly. All methods that expect a social equity log model instance should use the SocialEquityLog interface instead.

See Also:
SocialEquityLogImpl, SocialEquityLog, SocialEquityLogModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
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
           
 
Constructor Summary
SocialEquityLogModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SocialEquityLog socialEquityLog)
           
 boolean equals(Object obj)
           
 int getActionDate()
          Gets the action date of this social equity log.
 String getActionId()
          Gets the action id of this social equity log.
 boolean getActive()
          Gets the active of this social equity log.
 long getAssetEntryId()
          Gets the asset entry id of this social equity log.
 long getCompanyId()
          Gets the company id of this social equity log.
 long getEquityLogId()
          Gets the equity log id of this social equity log.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 int getExpiration()
          Gets the expiration of this social equity log.
 long getGroupId()
          Gets the group id of this social equity log.
 int getOriginalActionDate()
           
 String getOriginalActionId()
           
 boolean getOriginalActive()
           
 long getOriginalAssetEntryId()
           
 int getOriginalType()
           
 long getOriginalUserId()
           
 long getPrimaryKey()
          Gets the primary key of this social equity log.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 int getType()
          Gets the type of this social equity log.
 long getUserId()
          Gets the user id of this social equity log.
 String getUserUuid()
          Gets the user uuid of this social equity log.
 int getValue()
          Gets the value of this social equity log.
 int hashCode()
           
 boolean isActive()
          Determines whether this social equity log is active.
 void setActionDate(int actionDate)
          Sets the action date of this social equity log.
 void setActionId(String actionId)
          Sets the action id of this social equity log.
 void setActive(boolean active)
          Sets whether this {$entity.humanName} is active.
 void setAssetEntryId(long assetEntryId)
          Sets the asset entry id of this social equity log.
 void setCompanyId(long companyId)
          Sets the company id of this social equity log.
 void setEquityLogId(long equityLogId)
          Sets the equity log id of this social equity log.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setExpiration(int expiration)
          Sets the expiration of this social equity log.
 void setGroupId(long groupId)
          Sets the group id of this social equity log.
 void setPrimaryKey(long pk)
          Sets the primary key of this social equity log
 void setType(int type)
          Sets the type of this social equity log.
 void setUserId(long userId)
          Sets the user id of this social equity log.
 void setUserUuid(String userUuid)
          Sets the user uuid of this social equity log.
 void setValue(int value)
          Sets the value of this social equity log.
 SocialEquityLog toEscapedModel()
          Gets a copy of this social equity log as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.social.model.SocialEquityLogModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

SocialEquityLogModelImpl

public SocialEquityLogModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: SocialEquityLogModel
Gets the primary key of this social equity log.

Specified by:
getPrimaryKey in interface SocialEquityLogModel
Returns:
the primary key of this social equity log

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: SocialEquityLogModel
Sets the primary key of this social equity log

Specified by:
setPrimaryKey in interface SocialEquityLogModel
Parameters:
pk - the primary key of this social equity log

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<SocialEquityLog>
Specified by:
getPrimaryKeyObj in interface SocialEquityLogModel
Returns:
the primary key of this model instance

getEquityLogId

public long getEquityLogId()
Description copied from interface: SocialEquityLogModel
Gets the equity log id of this social equity log.

Specified by:
getEquityLogId in interface SocialEquityLogModel
Returns:
the equity log id of this social equity log

setEquityLogId

public void setEquityLogId(long equityLogId)
Description copied from interface: SocialEquityLogModel
Sets the equity log id of this social equity log.

Specified by:
setEquityLogId in interface SocialEquityLogModel
Parameters:
equityLogId - the equity log id of this social equity log

getGroupId

public long getGroupId()
Description copied from interface: SocialEquityLogModel
Gets the group id of this social equity log.

Specified by:
getGroupId in interface SocialEquityLogModel
Returns:
the group id of this social equity log

setGroupId

public void setGroupId(long groupId)
Description copied from interface: SocialEquityLogModel
Sets the group id of this social equity log.

Specified by:
setGroupId in interface SocialEquityLogModel
Parameters:
groupId - the group id of this social equity log

getCompanyId

public long getCompanyId()
Description copied from interface: SocialEquityLogModel
Gets the company id of this social equity log.

Specified by:
getCompanyId in interface SocialEquityLogModel
Returns:
the company id of this social equity log

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: SocialEquityLogModel
Sets the company id of this social equity log.

Specified by:
setCompanyId in interface SocialEquityLogModel
Parameters:
companyId - the company id of this social equity log

getUserId

public long getUserId()
Description copied from interface: SocialEquityLogModel
Gets the user id of this social equity log.

Specified by:
getUserId in interface SocialEquityLogModel
Returns:
the user id of this social equity log

setUserId

public void setUserId(long userId)
Description copied from interface: SocialEquityLogModel
Sets the user id of this social equity log.

Specified by:
setUserId in interface SocialEquityLogModel
Parameters:
userId - the user id of this social equity log

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: SocialEquityLogModel
Gets the user uuid of this social equity log.

Specified by:
getUserUuid in interface SocialEquityLogModel
Returns:
the user uuid of this social equity log
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: SocialEquityLogModel
Sets the user uuid of this social equity log.

Specified by:
setUserUuid in interface SocialEquityLogModel
Parameters:
userUuid - the user uuid of this social equity log

getOriginalUserId

public long getOriginalUserId()

getAssetEntryId

public long getAssetEntryId()
Description copied from interface: SocialEquityLogModel
Gets the asset entry id of this social equity log.

Specified by:
getAssetEntryId in interface SocialEquityLogModel
Returns:
the asset entry id of this social equity log

setAssetEntryId

public void setAssetEntryId(long assetEntryId)
Description copied from interface: SocialEquityLogModel
Sets the asset entry id of this social equity log.

Specified by:
setAssetEntryId in interface SocialEquityLogModel
Parameters:
assetEntryId - the asset entry id of this social equity log

getOriginalAssetEntryId

public long getOriginalAssetEntryId()

getActionId

public String getActionId()
Description copied from interface: SocialEquityLogModel
Gets the action id of this social equity log.

Specified by:
getActionId in interface SocialEquityLogModel
Returns:
the action id of this social equity log

setActionId

public void setActionId(String actionId)
Description copied from interface: SocialEquityLogModel
Sets the action id of this social equity log.

Specified by:
setActionId in interface SocialEquityLogModel
Parameters:
actionId - the action id of this social equity log

getOriginalActionId

public String getOriginalActionId()

getActionDate

public int getActionDate()
Description copied from interface: SocialEquityLogModel
Gets the action date of this social equity log.

Specified by:
getActionDate in interface SocialEquityLogModel
Returns:
the action date of this social equity log

setActionDate

public void setActionDate(int actionDate)
Description copied from interface: SocialEquityLogModel
Sets the action date of this social equity log.

Specified by:
setActionDate in interface SocialEquityLogModel
Parameters:
actionDate - the action date of this social equity log

getOriginalActionDate

public int getOriginalActionDate()

getActive

public boolean getActive()
Description copied from interface: SocialEquityLogModel
Gets the active of this social equity log.

Specified by:
getActive in interface SocialEquityLogModel
Returns:
the active of this social equity log

isActive

public boolean isActive()
Description copied from interface: SocialEquityLogModel
Determines whether this social equity log is active.

Specified by:
isActive in interface SocialEquityLogModel
Returns:
whether this social equity log is active

setActive

public void setActive(boolean active)
Description copied from interface: SocialEquityLogModel
Sets whether this {$entity.humanName} is active.

Specified by:
setActive in interface SocialEquityLogModel
Parameters:
active - the active of this social equity log

getOriginalActive

public boolean getOriginalActive()

getExpiration

public int getExpiration()
Description copied from interface: SocialEquityLogModel
Gets the expiration of this social equity log.

Specified by:
getExpiration in interface SocialEquityLogModel
Returns:
the expiration of this social equity log

setExpiration

public void setExpiration(int expiration)
Description copied from interface: SocialEquityLogModel
Sets the expiration of this social equity log.

Specified by:
setExpiration in interface SocialEquityLogModel
Parameters:
expiration - the expiration of this social equity log

getType

public int getType()
Description copied from interface: SocialEquityLogModel
Gets the type of this social equity log.

Specified by:
getType in interface SocialEquityLogModel
Returns:
the type of this social equity log

setType

public void setType(int type)
Description copied from interface: SocialEquityLogModel
Sets the type of this social equity log.

Specified by:
setType in interface SocialEquityLogModel
Parameters:
type - the type of this social equity log

getOriginalType

public int getOriginalType()

getValue

public int getValue()
Description copied from interface: SocialEquityLogModel
Gets the value of this social equity log.

Specified by:
getValue in interface SocialEquityLogModel
Returns:
the value of this social equity log

setValue

public void setValue(int value)
Description copied from interface: SocialEquityLogModel
Sets the value of this social equity log.

Specified by:
setValue in interface SocialEquityLogModel
Parameters:
value - the value of this social equity log

toEscapedModel

public SocialEquityLog toEscapedModel()
Description copied from interface: SocialEquityLogModel
Gets a copy of this social equity log as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface SocialEquityLogModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<SocialEquityLog>
Specified by:
getExpandoBridge in interface SocialEquityLogModel
Overrides:
getExpandoBridge in class BaseModelImpl<SocialEquityLog>
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<SocialEquityLog>
Specified by:
setExpandoBridgeAttributes in interface SocialEquityLogModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<SocialEquityLog>
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

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

compareTo

public int compareTo(SocialEquityLog socialEquityLog)
Specified by:
compareTo in interface SocialEquityLogModel
Specified by:
compareTo in interface Comparable<SocialEquityLog>

equals

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

hashCode

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

toString

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

toXmlString

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

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

Liferay 6.0.5