@ProviderType public class SubscriptionWrapper extends java.lang.Object implements Subscription, com.liferay.portal.kernel.model.ModelWrapper<Subscription>
This class is a wrapper for Subscription
.
Subscription
,
Serialized FormSUBSCRIPTION_ID_ACCESSOR
Constructor and Description |
---|
SubscriptionWrapper(Subscription subscription) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(Subscription subscription) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassName()
Returns the fully qualified class name of this subscription.
|
long |
getClassNameId()
Returns the class name ID of this subscription.
|
long |
getClassPK()
Returns the class pk of this subscription.
|
long |
getCompanyId()
Returns the company ID of this subscription.
|
java.util.Date |
getCreateDate()
Returns the create date of this subscription.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.lang.String |
getFrequency()
Returns the frequency of this subscription.
|
long |
getGroupId()
Returns the group ID of this subscription.
|
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 subscription.
|
long |
getMvccVersion()
Returns the mvcc version of this subscription.
|
long |
getPrimaryKey()
Returns the primary key of this subscription.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getSubscriptionId()
Returns the subscription ID of this subscription.
|
long |
getUserId()
Returns the user ID of this subscription.
|
java.lang.String |
getUserName()
Returns the user name of this subscription.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this subscription.
|
Subscription |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this subscription.
|
void |
setClassPK(long classPK)
Sets the class pk of this subscription.
|
void |
setCompanyId(long companyId)
Sets the company ID of this subscription.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this subscription.
|
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 |
setFrequency(java.lang.String frequency)
Sets the frequency of this subscription.
|
void |
setGroupId(long groupId)
Sets the group ID of this subscription.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this subscription.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this subscription.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this subscription.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setSubscriptionId(long subscriptionId)
Sets the subscription ID of this subscription.
|
void |
setUserId(long userId)
Sets the user ID of this subscription.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this subscription.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this subscription.
|
com.liferay.portal.kernel.model.CacheModel<Subscription> |
toCacheModel() |
Subscription |
toEscapedModel() |
java.lang.String |
toString() |
Subscription |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public SubscriptionWrapper(Subscription subscription)
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<Subscription>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
public java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
clone
in interface SubscriptionModel
clone
in class java.lang.Object
public int compareTo(Subscription subscription)
compareTo
in interface SubscriptionModel
compareTo
in interface java.lang.Comparable<Subscription>
public java.lang.String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
getClassName
in interface SubscriptionModel
public long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
getClassNameId
in interface SubscriptionModel
public long getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
getClassPK
in interface SubscriptionModel
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface SubscriptionModel
public java.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface SubscriptionModel
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface SubscriptionModel
public java.lang.String getFrequency()
getFrequency
in interface SubscriptionModel
public long getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
getGroupId
in interface SubscriptionModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface SubscriptionModel
public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
in interface SubscriptionModel
public long getPrimaryKey()
getPrimaryKey
in interface SubscriptionModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface SubscriptionModel
public long getSubscriptionId()
getSubscriptionId
in interface SubscriptionModel
public long getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
getUserId
in interface SubscriptionModel
public java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
getUserName
in interface SubscriptionModel
public java.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
getUserUuid
in interface SubscriptionModel
public int hashCode()
hashCode
in interface SubscriptionModel
hashCode
in class java.lang.Object
public boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
isCachedModel
in interface SubscriptionModel
public boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
isEscapedModel
in interface SubscriptionModel
public boolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
isNew
in interface SubscriptionModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
setCachedModel
in interface SubscriptionModel
public void setClassName(java.lang.String className)
setClassName
in interface SubscriptionModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
setClassNameId
in interface SubscriptionModel
classNameId
- the class name ID of this subscriptionpublic void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
setClassPK
in interface SubscriptionModel
classPK
- the class pk of this subscriptionpublic void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface SubscriptionModel
companyId
- the company ID of this subscriptionpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface SubscriptionModel
createDate
- the create date of this subscriptionpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
setExpandoBridgeAttributes
in interface SubscriptionModel
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
setExpandoBridgeAttributes
in interface SubscriptionModel
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
setExpandoBridgeAttributes
in interface SubscriptionModel
public void setFrequency(java.lang.String frequency)
setFrequency
in interface SubscriptionModel
frequency
- the frequency of this subscriptionpublic void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
setGroupId
in interface SubscriptionModel
groupId
- the group ID of this subscriptionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface SubscriptionModel
modifiedDate
- the modified date of this subscriptionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface SubscriptionModel
mvccVersion
- the mvcc version of this subscriptionpublic void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
setNew
in interface SubscriptionModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SubscriptionModel
primaryKey
- the primary key of this subscriptionpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface SubscriptionModel
public void setSubscriptionId(long subscriptionId)
setSubscriptionId
in interface SubscriptionModel
subscriptionId
- the subscription ID of this subscriptionpublic void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
setUserId
in interface SubscriptionModel
userId
- the user ID of this subscriptionpublic void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
setUserName
in interface SubscriptionModel
userName
- the user name of this subscriptionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
setUserUuid
in interface SubscriptionModel
userUuid
- the user uuid of this subscriptionpublic com.liferay.portal.kernel.model.CacheModel<Subscription> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
toCacheModel
in interface SubscriptionModel
public Subscription toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
toEscapedModel
in interface SubscriptionModel
public java.lang.String toString()
toString
in interface SubscriptionModel
toString
in class java.lang.Object
public Subscription toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
toUnescapedModel
in interface SubscriptionModel
public java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
toXmlString
in interface SubscriptionModel
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public Subscription getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<Subscription>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>