|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.social.model.SocialEquitySettingWrapper
public class SocialEquitySettingWrapper
This class is a wrapper for SocialEquitySetting
.
SocialEquitySetting
,
Serialized FormConstructor Summary | |
---|---|
SocialEquitySettingWrapper(SocialEquitySetting socialEquitySetting)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SocialEquitySetting socialEquitySetting)
|
String |
getActionId()
Gets the action id of this social equity setting. |
String |
getClassName()
Gets the class name of the model instance this social equity setting is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this social equity setting. |
long |
getCompanyId()
Gets the company id of this social equity setting. |
int |
getDailyLimit()
Gets the daily limit of this social equity setting. |
long |
getEquitySettingId()
Gets the equity setting id of this social equity setting. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this social equity setting. |
int |
getLifespan()
Gets the lifespan of this social equity setting. |
long |
getPrimaryKey()
Gets the primary key of this social equity setting. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
int |
getType()
Gets the type of this social equity setting. |
boolean |
getUniqueEntry()
Gets the unique entry of this social equity setting. |
int |
getValue()
Gets the value of this social equity setting. |
SocialEquitySetting |
getWrappedSocialEquitySetting()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isUniqueEntry()
Determines whether this social equity setting is unique entry. |
void |
setActionId(String actionId)
Sets the action id of this social equity setting. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassNameId(long classNameId)
Sets the class name id of this social equity setting. |
void |
setCompanyId(long companyId)
Sets the company id of this social equity setting. |
void |
setDailyLimit(int dailyLimit)
Sets the daily limit of this social equity setting. |
void |
setEquitySettingId(long equitySettingId)
Sets the equity setting id of this social equity setting. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 setting. |
void |
setLifespan(int lifespan)
Sets the lifespan of this social equity setting. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
Sets the primary key of this social equity setting |
void |
setType(int type)
Sets the type of this social equity setting. |
void |
setUniqueEntry(boolean uniqueEntry)
Sets whether this {$entity.humanName} is unique entry. |
void |
setValue(int value)
Sets the value of this social equity setting. |
SocialEquitySetting |
toEscapedModel()
Gets a copy of this social equity setting as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
void |
update(SocialEquityActionMapping equityActionMapping)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SocialEquitySettingWrapper(SocialEquitySetting socialEquitySetting)
Method Detail |
---|
public long getPrimaryKey()
SocialEquitySettingModel
getPrimaryKey
in interface SocialEquitySettingModel
public void setPrimaryKey(long pk)
SocialEquitySettingModel
setPrimaryKey
in interface SocialEquitySettingModel
pk
- the primary key of this social equity settingpublic long getEquitySettingId()
SocialEquitySettingModel
getEquitySettingId
in interface SocialEquitySettingModel
public void setEquitySettingId(long equitySettingId)
SocialEquitySettingModel
setEquitySettingId
in interface SocialEquitySettingModel
equitySettingId
- the equity setting id of this social equity settingpublic long getGroupId()
SocialEquitySettingModel
getGroupId
in interface SocialEquitySettingModel
public void setGroupId(long groupId)
SocialEquitySettingModel
setGroupId
in interface SocialEquitySettingModel
groupId
- the group id of this social equity settingpublic long getCompanyId()
SocialEquitySettingModel
getCompanyId
in interface SocialEquitySettingModel
public void setCompanyId(long companyId)
SocialEquitySettingModel
setCompanyId
in interface SocialEquitySettingModel
companyId
- the company id of this social equity settingpublic String getClassName()
SocialEquitySettingModel
getClassName
in interface SocialEquitySettingModel
public long getClassNameId()
SocialEquitySettingModel
getClassNameId
in interface SocialEquitySettingModel
public void setClassNameId(long classNameId)
SocialEquitySettingModel
setClassNameId
in interface SocialEquitySettingModel
classNameId
- the class name id of this social equity settingpublic String getActionId()
SocialEquitySettingModel
getActionId
in interface SocialEquitySettingModel
public void setActionId(String actionId)
SocialEquitySettingModel
setActionId
in interface SocialEquitySettingModel
actionId
- the action id of this social equity settingpublic int getDailyLimit()
SocialEquitySettingModel
getDailyLimit
in interface SocialEquitySettingModel
public void setDailyLimit(int dailyLimit)
SocialEquitySettingModel
setDailyLimit
in interface SocialEquitySettingModel
dailyLimit
- the daily limit of this social equity settingpublic int getLifespan()
SocialEquitySettingModel
getLifespan
in interface SocialEquitySettingModel
public void setLifespan(int lifespan)
SocialEquitySettingModel
setLifespan
in interface SocialEquitySettingModel
lifespan
- the lifespan of this social equity settingpublic int getType()
SocialEquitySettingModel
getType
in interface SocialEquitySettingModel
public void setType(int type)
SocialEquitySettingModel
setType
in interface SocialEquitySettingModel
type
- the type of this social equity settingpublic boolean getUniqueEntry()
SocialEquitySettingModel
getUniqueEntry
in interface SocialEquitySettingModel
public boolean isUniqueEntry()
SocialEquitySettingModel
isUniqueEntry
in interface SocialEquitySettingModel
public void setUniqueEntry(boolean uniqueEntry)
SocialEquitySettingModel
setUniqueEntry
in interface SocialEquitySettingModel
uniqueEntry
- the unique entry of this social equity settingpublic int getValue()
SocialEquitySettingModel
getValue
in interface SocialEquitySettingModel
public void setValue(int value)
SocialEquitySettingModel
setValue
in interface SocialEquitySettingModel
value
- the value of this social equity settingpublic SocialEquitySetting toEscapedModel()
SocialEquitySettingModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface SocialEquitySettingModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<SocialEquitySetting>
isNew
in interface SocialEquitySettingModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SocialEquitySetting>
setNew
in interface SocialEquitySettingModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<SocialEquitySetting>
isCachedModel
in interface SocialEquitySettingModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<SocialEquitySetting>
setCachedModel
in interface SocialEquitySettingModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<SocialEquitySetting>
isEscapedModel
in interface SocialEquitySettingModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<SocialEquitySetting>
setEscapedModel
in interface SocialEquitySettingModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialEquitySetting>
getPrimaryKeyObj
in interface SocialEquitySettingModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialEquitySetting>
getExpandoBridge
in interface SocialEquitySettingModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialEquitySetting>
setExpandoBridgeAttributes
in interface SocialEquitySettingModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<SocialEquitySetting>
clone
in interface SocialEquitySettingModel
clone
in class Object
public int compareTo(SocialEquitySetting socialEquitySetting)
compareTo
in interface SocialEquitySettingModel
compareTo
in interface Comparable<SocialEquitySetting>
public int hashCode()
hashCode
in interface SocialEquitySettingModel
hashCode
in class Object
public String toString()
toString
in interface SocialEquitySettingModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialEquitySetting>
toXmlString
in interface SocialEquitySettingModel
public void update(SocialEquityActionMapping equityActionMapping)
update
in interface SocialEquitySetting
public SocialEquitySetting getWrappedSocialEquitySetting()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |