|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.SubscriptionWrapper
public class SubscriptionWrapper
This class is a wrapper for Subscription.
Subscription,
Serialized Form| Constructor Summary | |
|---|---|
SubscriptionWrapper(Subscription subscription)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Subscription subscription)
|
String |
getClassName()
Gets the class name of the model instance this subscription is polymorphically associated with. |
long |
getClassNameId()
Gets the class name ID of this subscription. |
long |
getClassPK()
Gets the class p k of this subscription. |
long |
getCompanyId()
Gets the company ID of this subscription. |
Date |
getCreateDate()
Gets the create date of this subscription. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getFrequency()
Gets the frequency of this subscription. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Gets the modified date of this subscription. |
long |
getPrimaryKey()
Gets the primary key of this subscription. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getSubscriptionId()
Gets the subscription ID of this subscription. |
long |
getUserId()
Gets the user ID of this subscription. |
String |
getUserName()
Gets the user name of this subscription. |
String |
getUserUuid()
Gets the user uuid of this subscription. |
Subscription |
getWrappedSubscription()
|
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 |
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 subscription. |
void |
setClassPK(long classPK)
Sets the class p k of this subscription. |
void |
setCompanyId(long companyId)
Sets the company ID of this subscription. |
void |
setCreateDate(Date createDate)
Sets the create date of this subscription. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFrequency(String frequency)
Sets the frequency of this subscription. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this subscription. |
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 subscription |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setSubscriptionId(long subscriptionId)
Sets the subscription ID of this subscription. |
void |
setUserId(long userId)
Sets the user ID of this subscription. |
void |
setUserName(String userName)
Sets the user name of this subscription. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this subscription. |
CacheModel<Subscription> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Subscription |
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 SubscriptionWrapper(Subscription subscription)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface SubscriptionModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SubscriptionModelprimaryKey - the primary key of this subscriptionpublic long getSubscriptionId()
getSubscriptionId in interface SubscriptionModelpublic void setSubscriptionId(long subscriptionId)
setSubscriptionId in interface SubscriptionModelsubscriptionId - the subscription ID of this subscriptionpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface SubscriptionModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface SubscriptionModelcompanyId - the company ID of this subscriptionpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface SubscriptionModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface SubscriptionModeluserId - the user ID of this subscription
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface SubscriptionModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface SubscriptionModeluserUuid - the user uuid of this subscriptionpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface SubscriptionModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface SubscriptionModeluserName - the user name of this subscriptionpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface SubscriptionModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface SubscriptionModelcreateDate - the create date of this subscriptionpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface SubscriptionModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface SubscriptionModelmodifiedDate - the modified date of this subscriptionpublic String getClassName()
getClassName in interface AttachedModelgetClassName in interface SubscriptionModelpublic long getClassNameId()
getClassNameId in interface AttachedModelgetClassNameId in interface SubscriptionModelpublic void setClassNameId(long classNameId)
setClassNameId in interface SubscriptionModelclassNameId - the class name ID of this subscriptionpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface SubscriptionModelpublic void setClassPK(long classPK)
setClassPK in interface SubscriptionModelclassPK - the class p k of this subscriptionpublic String getFrequency()
getFrequency in interface SubscriptionModelpublic void setFrequency(String frequency)
setFrequency in interface SubscriptionModelfrequency - the frequency of this subscriptionpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Subscription>isNew in interface SubscriptionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Subscription>setNew in interface SubscriptionModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Subscription>isCachedModel in interface SubscriptionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Subscription>setCachedModel in interface SubscriptionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Subscription>isEscapedModel in interface SubscriptionModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Subscription>setEscapedModel in interface SubscriptionModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Subscription>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SubscriptionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Subscription>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SubscriptionModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Subscription>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SubscriptionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Subscription>setExpandoBridgeAttributes in interface SubscriptionModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Subscription>clone in interface SubscriptionModelclone in class Objectpublic int compareTo(Subscription subscription)
compareTo in interface SubscriptionModelcompareTo in interface Comparable<Subscription>public int hashCode()
hashCode in interface SubscriptionModelhashCode in class Objectpublic CacheModel<Subscription> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Subscription>toCacheModel in interface SubscriptionModelpublic Subscription toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Subscription>toEscapedModel in interface SubscriptionModelAutoEscapeBeanHandlerpublic String toString()
toString in interface SubscriptionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Subscription>toXmlString in interface SubscriptionModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic Subscription getWrappedSubscription()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Subscription>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||