|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.social.model.SocialActivitySettingWrapper
public class SocialActivitySettingWrapper
This class is a wrapper for SocialActivitySetting
.
SocialActivitySetting
,
Serialized FormConstructor Summary | |
---|---|
SocialActivitySettingWrapper(SocialActivitySetting socialActivitySetting)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SocialActivitySetting socialActivitySetting)
|
long |
getActivitySettingId()
Returns the activity setting ID of this social activity setting. |
int |
getActivityType()
Returns the activity type of this social activity setting. |
String |
getClassName()
Returns the fully qualified class name of this social activity setting. |
long |
getClassNameId()
Returns the class name ID of this social activity setting. |
long |
getCompanyId()
Returns the company ID of this social activity setting. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this social activity setting. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this social activity setting. |
long |
getPrimaryKey()
Returns the primary key of this social activity setting. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getValue()
Returns the value of this social activity setting. |
SocialActivitySetting |
getWrappedModel()
|
SocialActivitySetting |
getWrappedSocialActivitySetting()
Deprecated. Renamed to getWrappedModel() |
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 |
setActivitySettingId(long activitySettingId)
Sets the activity setting ID of this social activity setting. |
void |
setActivityType(int activityType)
Sets the activity type of this social activity 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 activity setting. |
void |
setCompanyId(long companyId)
Sets the company ID of this social activity setting. |
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 setting. |
void |
setName(String name)
Sets the name of this social activity setting. |
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 activity setting. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setValue(String value)
Sets the value of this social activity setting. |
CacheModel<SocialActivitySetting> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
SocialActivitySetting |
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 |
---|
public SocialActivitySettingWrapper(SocialActivitySetting socialActivitySetting)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public long getPrimaryKey()
getPrimaryKey
in interface SocialActivitySettingModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SocialActivitySettingModel
primaryKey
- the primary key of this social activity settingpublic long getActivitySettingId()
getActivitySettingId
in interface SocialActivitySettingModel
public void setActivitySettingId(long activitySettingId)
setActivitySettingId
in interface SocialActivitySettingModel
activitySettingId
- the activity setting ID of this social activity settingpublic long getGroupId()
getGroupId
in interface SocialActivitySettingModel
public void setGroupId(long groupId)
setGroupId
in interface SocialActivitySettingModel
groupId
- the group ID of this social activity settingpublic long getCompanyId()
getCompanyId
in interface SocialActivitySettingModel
public void setCompanyId(long companyId)
setCompanyId
in interface SocialActivitySettingModel
companyId
- the company ID of this social activity settingpublic String getClassName()
getClassName
in interface SocialActivitySettingModel
public long getClassNameId()
getClassNameId
in interface SocialActivitySettingModel
public void setClassNameId(long classNameId)
setClassNameId
in interface SocialActivitySettingModel
classNameId
- the class name ID of this social activity settingpublic int getActivityType()
getActivityType
in interface SocialActivitySettingModel
public void setActivityType(int activityType)
setActivityType
in interface SocialActivitySettingModel
activityType
- the activity type of this social activity settingpublic String getName()
getName
in interface SocialActivitySettingModel
public void setName(String name)
setName
in interface SocialActivitySettingModel
name
- the name of this social activity settingpublic String getValue()
getValue
in interface SocialActivitySettingModel
public void setValue(String value)
setValue
in interface SocialActivitySettingModel
value
- the value of this social activity settingpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<SocialActivitySetting>
isNew
in interface SocialActivitySettingModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SocialActivitySetting>
setNew
in interface SocialActivitySettingModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<SocialActivitySetting>
isCachedModel
in interface SocialActivitySettingModel
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<SocialActivitySetting>
setCachedModel
in interface SocialActivitySettingModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<SocialActivitySetting>
isEscapedModel
in interface SocialActivitySettingModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialActivitySetting>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SocialActivitySettingModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SocialActivitySetting>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SocialActivitySettingModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivitySetting>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SocialActivitySettingModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySetting>
setExpandoBridgeAttributes
in interface SocialActivitySettingModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<SocialActivitySetting>
clone
in interface SocialActivitySettingModel
clone
in class Object
public int compareTo(SocialActivitySetting socialActivitySetting)
compareTo
in interface SocialActivitySettingModel
compareTo
in interface Comparable<SocialActivitySetting>
public int hashCode()
hashCode
in interface SocialActivitySettingModel
hashCode
in class Object
public CacheModel<SocialActivitySetting> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SocialActivitySetting>
toCacheModel
in interface SocialActivitySettingModel
public SocialActivitySetting toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SocialActivitySetting>
toEscapedModel
in interface SocialActivitySettingModel
AutoEscapeBeanHandler
public String toString()
toString
in interface SocialActivitySettingModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivitySetting>
toXmlString
in interface SocialActivitySettingModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic SocialActivitySetting getWrappedSocialActivitySetting()
getWrappedModel()
public SocialActivitySetting getWrappedModel()
getWrappedModel
in interface ModelWrapper<SocialActivitySetting>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SocialActivitySetting>
|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |