Liferay 6.1.0

com.liferay.portlet.social.model
Class SocialEquityUserWrapper

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

public class SocialEquityUserWrapper
extends Object
implements SocialEquityUser

This class is a wrapper for SocialEquityUser.

See Also:
SocialEquityUser, Serialized Form

Constructor Summary
SocialEquityUserWrapper(SocialEquityUser socialEquityUser)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SocialEquityUser socialEquityUser)
           
 long getCompanyId()
          Returns the company ID of this social equity user.
 double getContributionB()
          Returns the contribution b of this social equity user.
 double getContributionEquity()
           
 double getContributionK()
          Returns the contribution k of this social equity user.
 long getEquityUserId()
          Returns the equity user ID of this social equity user.
 String getEquityUserUuid()
          Returns the equity user uuid of this social equity user.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this social equity user.
 Class<?> getModelClass()
           
 String getModelClassName()
           
 double getParticipationB()
          Returns the participation b of this social equity user.
 double getParticipationEquity()
           
 double getParticipationK()
          Returns the participation k of this social equity user.
 long getPrimaryKey()
          Returns the primary key of this social equity user.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 int getRank()
          Returns the rank of this social equity user.
 long getUserId()
          Returns the user ID of this social equity user.
 String getUserUuid()
          Returns the user uuid of this social equity user.
 SocialEquityUser getWrappedSocialEquityUser()
           
 int hashCode()
           
 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 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 user.
 void setContributionB(double contributionB)
          Sets the contribution b of this social equity user.
 void setContributionK(double contributionK)
          Sets the contribution k of this social equity user.
 void setEquityUserId(long equityUserId)
          Sets the equity user ID of this social equity user.
 void setEquityUserUuid(String equityUserUuid)
          Sets the equity user uuid of this social equity user.
 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 equity user.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setParticipationB(double participationB)
          Sets the participation b of this social equity user.
 void setParticipationK(double participationK)
          Sets the participation k of this social equity user.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this social equity user.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setRank(int rank)
          Sets the rank of this social equity user.
 void setUserId(long userId)
          Sets the user ID of this social equity user.
 void setUserUuid(String userUuid)
          Sets the user uuid of this social equity user.
 CacheModel<SocialEquityUser> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 SocialEquityUser 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

SocialEquityUserWrapper

public SocialEquityUserWrapper(SocialEquityUser socialEquityUser)
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 user.

Specified by:
getPrimaryKey in interface SocialEquityUserModel
Returns:
the primary key of this social equity user

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this social equity user.

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

getEquityUserId

public long getEquityUserId()
Returns the equity user ID of this social equity user.

Specified by:
getEquityUserId in interface SocialEquityUserModel
Returns:
the equity user ID of this social equity user

setEquityUserId

public void setEquityUserId(long equityUserId)
Sets the equity user ID of this social equity user.

Specified by:
setEquityUserId in interface SocialEquityUserModel
Parameters:
equityUserId - the equity user ID of this social equity user

getEquityUserUuid

public String getEquityUserUuid()
                         throws SystemException
Returns the equity user uuid of this social equity user.

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

setEquityUserUuid

public void setEquityUserUuid(String equityUserUuid)
Sets the equity user uuid of this social equity user.

Specified by:
setEquityUserUuid in interface SocialEquityUserModel
Parameters:
equityUserUuid - the equity user uuid of this social equity user

getGroupId

public long getGroupId()
Returns the group ID of this social equity user.

Specified by:
getGroupId in interface SocialEquityUserModel
Returns:
the group ID of this social equity user

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this social equity user.

Specified by:
setGroupId in interface SocialEquityUserModel
Parameters:
groupId - the group ID of this social equity user

getCompanyId

public long getCompanyId()
Returns the company ID of this social equity user.

Specified by:
getCompanyId in interface SocialEquityUserModel
Returns:
the company ID of this social equity user

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this social equity user.

Specified by:
setCompanyId in interface SocialEquityUserModel
Parameters:
companyId - the company ID of this social equity user

getUserId

public long getUserId()
Returns the user ID of this social equity user.

Specified by:
getUserId in interface SocialEquityUserModel
Returns:
the user ID of this social equity user

setUserId

public void setUserId(long userId)
Sets the user ID of this social equity user.

Specified by:
setUserId in interface SocialEquityUserModel
Parameters:
userId - the user ID of this social equity user

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this social equity user.

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

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this social equity user.

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

getContributionK

public double getContributionK()
Returns the contribution k of this social equity user.

Specified by:
getContributionK in interface SocialEquityUserModel
Returns:
the contribution k of this social equity user

setContributionK

public void setContributionK(double contributionK)
Sets the contribution k of this social equity user.

Specified by:
setContributionK in interface SocialEquityUserModel
Parameters:
contributionK - the contribution k of this social equity user

getContributionB

public double getContributionB()
Returns the contribution b of this social equity user.

Specified by:
getContributionB in interface SocialEquityUserModel
Returns:
the contribution b of this social equity user

setContributionB

public void setContributionB(double contributionB)
Sets the contribution b of this social equity user.

Specified by:
setContributionB in interface SocialEquityUserModel
Parameters:
contributionB - the contribution b of this social equity user

getParticipationK

public double getParticipationK()
Returns the participation k of this social equity user.

Specified by:
getParticipationK in interface SocialEquityUserModel
Returns:
the participation k of this social equity user

setParticipationK

public void setParticipationK(double participationK)
Sets the participation k of this social equity user.

Specified by:
setParticipationK in interface SocialEquityUserModel
Parameters:
participationK - the participation k of this social equity user

getParticipationB

public double getParticipationB()
Returns the participation b of this social equity user.

Specified by:
getParticipationB in interface SocialEquityUserModel
Returns:
the participation b of this social equity user

setParticipationB

public void setParticipationB(double participationB)
Sets the participation b of this social equity user.

Specified by:
setParticipationB in interface SocialEquityUserModel
Parameters:
participationB - the participation b of this social equity user

getRank

public int getRank()
Returns the rank of this social equity user.

Specified by:
getRank in interface SocialEquityUserModel
Returns:
the rank of this social equity user

setRank

public void setRank(int rank)
Sets the rank of this social equity user.

Specified by:
setRank in interface SocialEquityUserModel
Parameters:
rank - the rank of this social equity user

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<SocialEquityUser>
Specified by:
isNew in interface SocialEquityUserModel
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<SocialEquityUser>
Specified by:
setNew in interface SocialEquityUserModel
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<SocialEquityUser>
Specified by:
isCachedModel in interface SocialEquityUserModel
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<SocialEquityUser>
Specified by:
setCachedModel in interface SocialEquityUserModel
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<SocialEquityUser>
Specified by:
isEscapedModel in interface SocialEquityUserModel
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<SocialEquityUser>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface SocialEquityUserModel
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<SocialEquityUser>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface SocialEquityUserModel
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<SocialEquityUser>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface SocialEquityUserModel
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<SocialEquityUser>
Specified by:
setExpandoBridgeAttributes in interface SocialEquityUserModel
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<SocialEquityUser>
Specified by:
clone in interface SocialEquityUserModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(SocialEquityUser socialEquityUser)
Specified by:
compareTo in interface SocialEquityUserModel
Specified by:
compareTo in interface Comparable<SocialEquityUser>

hashCode

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

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<SocialEquityUser>
Specified by:
toCacheModel in interface SocialEquityUserModel
Returns:
the cache model object

toEscapedModel

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

toString

public String toString()
Specified by:
toString in interface SocialEquityUserModel
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<SocialEquityUser>
Specified by:
toXmlString in interface SocialEquityUserModel
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

getContributionEquity

public double getContributionEquity()
Specified by:
getContributionEquity in interface SocialEquityUser

getParticipationEquity

public double getParticipationEquity()
Specified by:
getParticipationEquity in interface SocialEquityUser

getWrappedSocialEquityUser

public SocialEquityUser getWrappedSocialEquityUser()

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<SocialEquityUser>

Liferay 6.1.0