@ProviderType public class ChannelInstanceWrapper extends java.lang.Object implements ChannelInstance, com.liferay.portal.kernel.model.ModelWrapper<ChannelInstance>
This class is a wrapper for ChannelInstance
.
ChannelInstance
,
Serialized FormCHANNEL_INSTANCE_ID_ACCESSOR
Constructor and Description |
---|
ChannelInstanceWrapper(ChannelInstance channelInstance) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(ChannelInstance channelInstance) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAlias()
Returns the alias of this channel instance.
|
long |
getCampaignId()
Returns the campaign ID of this channel instance.
|
java.lang.String |
getChannelGuid() |
long |
getChannelInstanceId()
Returns the channel instance ID of this channel instance.
|
java.lang.String |
getChannelKey()
Returns the channel key of this channel instance.
|
long |
getCompanyId()
Returns the company ID of this channel instance.
|
java.util.Date |
getCreateDate()
Returns the create date of this channel instance.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this channel instance.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this channel instance.
|
long |
getPrimaryKey()
Returns the primary key of this channel instance.
|
java.io.Serializable |
getPrimaryKeyObj() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getTacticId()
Returns the tactic ID of this channel instance.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this channel instance.
|
long |
getUserId()
Returns the user ID of this channel instance.
|
java.lang.String |
getUserName()
Returns the user name of this channel instance.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this channel instance.
|
java.lang.String |
getUuid()
Returns the uuid of this channel instance.
|
java.util.Map<java.lang.String,java.lang.String> |
getValues() |
ChannelInstance |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setAlias(java.lang.String alias)
Sets the alias of this channel instance.
|
void |
setCachedModel(boolean cachedModel) |
void |
setCampaignId(long campaignId)
Sets the campaign ID of this channel instance.
|
void |
setChannelGuid(java.lang.String channelGuid) |
void |
setChannelInstanceId(long channelInstanceId)
Sets the channel instance ID of this channel instance.
|
void |
setChannelKey(java.lang.String channelKey)
Sets the channel key of this channel instance.
|
void |
setCompanyId(long companyId)
Sets the company ID of this channel instance.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this channel instance.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this channel instance.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this channel instance.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this channel instance.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setTacticId(long tacticId)
Sets the tactic ID of this channel instance.
|
void |
setTypeSettings(java.lang.String typeSettings)
Sets the type settings of this channel instance.
|
void |
setUserId(long userId)
Sets the user ID of this channel instance.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this channel instance.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this channel instance.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this channel instance.
|
void |
setValues(java.util.Map<java.lang.String,java.lang.String> values) |
com.liferay.portal.kernel.model.CacheModel<ChannelInstance> |
toCacheModel() |
ChannelInstance |
toEscapedModel() |
java.lang.String |
toString() |
ChannelInstance |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public ChannelInstanceWrapper(ChannelInstance channelInstance)
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public ChannelInstance toEscapedModel()
toEscapedModel
in interface ChannelInstanceModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public ChannelInstance toUnescapedModel()
toUnescapedModel
in interface ChannelInstanceModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public boolean isCachedModel()
isCachedModel
in interface ChannelInstanceModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public boolean isEscapedModel()
isEscapedModel
in interface ChannelInstanceModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public boolean isNew()
isNew
in interface ChannelInstanceModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface ChannelInstanceModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
public com.liferay.portal.kernel.model.CacheModel<ChannelInstance> toCacheModel()
toCacheModel
in interface ChannelInstanceModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public int compareTo(ChannelInstance channelInstance)
compareTo
in interface ChannelInstanceModel
compareTo
in interface java.lang.Comparable<ChannelInstance>
public int hashCode()
hashCode
in interface ChannelInstanceModel
hashCode
in class java.lang.Object
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface ChannelInstanceModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.Object clone()
clone
in interface ChannelInstanceModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class java.lang.Object
public java.lang.String getAlias()
getAlias
in interface ChannelInstanceModel
public java.lang.String getChannelGuid()
getChannelGuid
in interface ChannelInstance
public java.lang.String getChannelKey()
getChannelKey
in interface ChannelInstanceModel
public java.lang.String getTypeSettings()
getTypeSettings
in interface ChannelInstanceModel
public java.lang.String getUserName()
getUserName
in interface ChannelInstanceModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface ChannelInstanceModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface ChannelInstanceModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String toString()
toString
in interface ChannelInstanceModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface ChannelInstanceModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public java.util.Date getCreateDate()
getCreateDate
in interface ChannelInstanceModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface ChannelInstanceModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Map<java.lang.String,java.lang.String> getValues()
getValues
in interface ChannelInstance
public long getCampaignId()
getCampaignId
in interface ChannelInstanceModel
public long getChannelInstanceId()
getChannelInstanceId
in interface ChannelInstanceModel
public long getCompanyId()
getCompanyId
in interface ChannelInstanceModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public long getGroupId()
getGroupId
in interface ChannelInstanceModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public long getPrimaryKey()
getPrimaryKey
in interface ChannelInstanceModel
public long getTacticId()
getTacticId
in interface ChannelInstanceModel
public long getUserId()
getUserId
in interface ChannelInstanceModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setAlias(java.lang.String alias)
setAlias
in interface ChannelInstanceModel
alias
- the alias of this channel instancepublic void setCachedModel(boolean cachedModel)
setCachedModel
in interface ChannelInstanceModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public void setCampaignId(long campaignId)
setCampaignId
in interface ChannelInstanceModel
campaignId
- the campaign ID of this channel instancepublic void setChannelGuid(java.lang.String channelGuid)
setChannelGuid
in interface ChannelInstance
public void setChannelInstanceId(long channelInstanceId)
setChannelInstanceId
in interface ChannelInstanceModel
channelInstanceId
- the channel instance ID of this channel instancepublic void setChannelKey(java.lang.String channelKey)
setChannelKey
in interface ChannelInstanceModel
channelKey
- the channel key of this channel instancepublic void setCompanyId(long companyId)
setCompanyId
in interface ChannelInstanceModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this channel instancepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface ChannelInstanceModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this channel instancepublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface ChannelInstanceModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface ChannelInstanceModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface ChannelInstanceModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public void setGroupId(long groupId)
setGroupId
in interface ChannelInstanceModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this channel instancepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface ChannelInstanceModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this channel instancepublic void setNew(boolean n)
setNew
in interface ChannelInstanceModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ChannelInstanceModel
primaryKey
- the primary key of this channel instancepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface ChannelInstanceModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setTacticId(long tacticId)
setTacticId
in interface ChannelInstanceModel
tacticId
- the tactic ID of this channel instancepublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings
in interface ChannelInstanceModel
typeSettings
- the type settings of this channel instancepublic void setUserId(long userId)
setUserId
in interface ChannelInstanceModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this channel instancepublic void setUserName(java.lang.String userName)
setUserName
in interface ChannelInstanceModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this channel instancepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface ChannelInstanceModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this channel instancepublic void setUuid(java.lang.String uuid)
setUuid
in interface ChannelInstanceModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this channel instancepublic void setValues(java.util.Map<java.lang.String,java.lang.String> values)
setValues
in interface ChannelInstance
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public ChannelInstance getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<ChannelInstance>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<ChannelInstance>