@ProviderType public interface SocialActivitySettingModel extends BaseModel<SocialActivitySetting>, ShardedModel, TypedModel
This interface and its corresponding implementation SocialActivitySettingModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialActivitySettingImpl
.
SocialActivitySetting
,
SocialActivitySettingImpl
,
SocialActivitySettingModelImpl
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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 |
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 |
setClassName(String className) |
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(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
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() |
SocialActivitySetting |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this social activity settinglong getActivitySettingId()
void setActivitySettingId(long activitySettingId)
activitySettingId
- the activity setting ID of this social activity settinglong getGroupId()
void setGroupId(long groupId)
groupId
- the group ID of this social activity settinglong getCompanyId()
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- the company ID of this social activity settingString getClassName()
getClassName
in interface TypedModel
void setClassName(String className)
long getClassNameId()
getClassNameId
in interface TypedModel
void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this social activity settingint getActivityType()
void setActivityType(int activityType)
activityType
- the activity type of this social activity setting@AutoEscape String getName()
void setName(String name)
name
- the name of this social activity setting@AutoEscape String getValue()
void setValue(String value)
value
- the value of this social activity settingboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<SocialActivitySetting>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SocialActivitySetting>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<SocialActivitySetting>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<SocialActivitySetting>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<SocialActivitySetting>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialActivitySetting>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SocialActivitySetting>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivitySetting>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySetting>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySetting>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySetting>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
clone
in interface BaseModel<SocialActivitySetting>
int compareTo(SocialActivitySetting socialActivitySetting)
compareTo
in interface Comparable<SocialActivitySetting>
int hashCode()
hashCode
in class Object
CacheModel<SocialActivitySetting> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SocialActivitySetting>
SocialActivitySetting toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<SocialActivitySetting>
AutoEscapeBeanHandler
SocialActivitySetting toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivitySetting>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivitySetting>