Liferay 6.1.0

com.liferay.portlet.social.model
Class SocialEquityLogWrapper

java.lang.Object
  extended by com.liferay.portlet.social.model.SocialEquityLogWrapper
All Implemented Interfaces:
BaseModel<SocialEquityLog>, ClassedModel, PersistedModel, SocialEquityLog, SocialEquityLogModel, Serializable, Cloneable, Comparable<SocialEquityLog>

public class SocialEquityLogWrapper
extends Object
implements SocialEquityLog

This class is a wrapper for SocialEquityLog.

See Also:
SocialEquityLog, Serialized Form

Constructor Summary
SocialEquityLogWrapper(SocialEquityLog socialEquityLog)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SocialEquityLog socialEquityLog)
           
 int getActionDate()
          Returns the action date of this social equity log.
 String getActionId()
          Returns the action ID of this social equity log.
 boolean getActive()
          Returns the active of this social equity log.
 long getAssetEntryId()
          Returns the asset entry ID of this social equity log.
 long getCompanyId()
          Returns the company ID of this social equity log.
 long getEquityLogId()
          Returns the equity log ID of this social equity log.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 int getExpiration()
          Returns the expiration of this social equity log.
 String getExtraData()
          Returns the extra data of this social equity log.
 long getGroupId()
          Returns the group ID of this social equity log.
 int getLifespan()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getPrimaryKey()
          Returns the primary key of this social equity log.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 int getType()
          Returns the type of this social equity log.
 long getUserId()
          Returns the user ID of this social equity log.
 String getUserUuid()
          Returns the user uuid of this social equity log.
 int getValue()
          Returns the value of this social equity log.
 SocialEquityLog getWrappedSocialEquityLog()
           
 int hashCode()
           
 boolean isActive()
          Returns true if this social equity log is active.
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 void persist()
          Updates this model instance in the database or adds it if it does not yet exist.
 void resetOriginalValues()
          Reset all original fields to current values.
 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 social equity log is active.
 void setAssetEntryId(long assetEntryId)
          Sets the asset entry ID of this social equity log.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 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 setExtraData(String extraData)
          Sets the extra data of this social equity log.
 void setGroupId(long groupId)
          Sets the group ID of this social equity log.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this social equity log.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 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.
 CacheModel<SocialEquityLog> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 SocialEquityLog toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SocialEquityLogWrapper

public SocialEquityLogWrapper(SocialEquityLog socialEquityLog)
Method Detail

getModelClass

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

getModelClassName

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

getPrimaryKey

public long getPrimaryKey()
Returns 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 primaryKey)
Sets the primary key of this social equity log.

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

getEquityLogId

public long getEquityLogId()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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
Returns 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)
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

getAssetEntryId

public long getAssetEntryId()
Returns 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)
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

getActionId

public String getActionId()
Returns 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)
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

getActionDate

public int getActionDate()
Returns 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)
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

getActive

public boolean getActive()
Returns 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()
Returns true if this social equity log is active.

Specified by:
isActive in interface SocialEquityLogModel
Returns:
true if this social equity log is active; false otherwise

setActive

public void setActive(boolean active)
Sets whether this social equity log is active.

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

getExpiration

public int getExpiration()
Returns 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)
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()
Returns 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)
Sets the type of this social equity log.

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

getValue

public int getValue()
Returns 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)
Sets the value of this social equity log.

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

getExtraData

public String getExtraData()
Returns the extra data of this social equity log.

Specified by:
getExtraData in interface SocialEquityLogModel
Returns:
the extra data of this social equity log

setExtraData

public void setExtraData(String extraData)
Sets the extra data of this social equity log.

Specified by:
setExtraData in interface SocialEquityLogModel
Parameters:
extraData - the extra data of this social equity log

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<SocialEquityLog>
Specified by:
isNew in interface SocialEquityLogModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<SocialEquityLog>
Specified by:
setNew in interface SocialEquityLogModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<SocialEquityLog>
Specified by:
isCachedModel in interface SocialEquityLogModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<SocialEquityLog>
Specified by:
setCachedModel in interface SocialEquityLogModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<SocialEquityLog>
Specified by:
isEscapedModel in interface SocialEquityLogModel
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<SocialEquityLog>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface SocialEquityLogModel
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<SocialEquityLog>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface SocialEquityLogModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<SocialEquityLog>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface SocialEquityLogModel
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
Parameters:
serviceContext - the service context
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
Overrides:
clone in class Object
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>

hashCode

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

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<SocialEquityLog>
Specified by:
toCacheModel in interface SocialEquityLogModel
Returns:
the cache model object

toEscapedModel

public SocialEquityLog 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<SocialEquityLog>
Specified by:
toEscapedModel in interface SocialEquityLogModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toString

public String toString()
Specified by:
toString in interface SocialEquityLogModel
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<SocialEquityLog>
Specified by:
toXmlString in interface SocialEquityLogModel
Returns:
the XML representation of this model instance

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

getLifespan

public int getLifespan()
Specified by:
getLifespan in interface SocialEquityLog

getWrappedSocialEquityLog

public SocialEquityLog getWrappedSocialEquityLog()

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<SocialEquityLog>

Liferay 6.1.0