@ProviderType public interface SubscriptionModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<Subscription>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.subscription.model.impl.SubscriptionModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.subscription.model.impl.SubscriptionImpl
.
Subscription
,
com.liferay.subscription.model.impl.SubscriptionImpl
,
com.liferay.subscription.model.impl.SubscriptionModelImpl
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(Subscription subscription) |
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.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.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
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 |
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() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this subscriptionlong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this subscriptionlong getSubscriptionId()
void setSubscriptionId(long subscriptionId)
subscriptionId
- the subscription ID of this subscriptionlong getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this subscriptionlong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this subscriptionlong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this subscriptionjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this subscription@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this subscriptionjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this subscriptionjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this subscriptionjava.lang.String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
void setClassName(java.lang.String className)
long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this subscriptionlong getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this subscription@AutoEscape java.lang.String getFrequency()
void setFrequency(java.lang.String frequency)
frequency
- the frequency of this subscriptionboolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
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
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
void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
int compareTo(Subscription subscription)
compareTo
in interface java.lang.Comparable<Subscription>
int hashCode()
hashCode
in class java.lang.Object
com.liferay.portal.kernel.model.CacheModel<Subscription> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
Subscription toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
Subscription toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<Subscription>