|
Liferay 6.0.4 | |||||||||
| 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()
Gets the expando bridge for this model instance. |
String |
getFrequency()
Gets the frequency of this subscription. |
Date |
getModifiedDate()
Gets the modified date of this subscription. |
long |
getPrimaryKey()
Gets the primary key of this subscription. |
Serializable |
getPrimaryKeyObj()
Gets 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()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
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 pk)
Sets the primary key of this subscription |
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. |
Subscription |
toEscapedModel()
Gets a copy of this subscription as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets 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 long getPrimaryKey()
SubscriptionModel
getPrimaryKey in interface SubscriptionModelpublic void setPrimaryKey(long pk)
SubscriptionModel
setPrimaryKey in interface SubscriptionModelpk - the primary key of this subscriptionpublic long getSubscriptionId()
SubscriptionModel
getSubscriptionId in interface SubscriptionModelpublic void setSubscriptionId(long subscriptionId)
SubscriptionModel
setSubscriptionId in interface SubscriptionModelsubscriptionId - the subscription id of this subscriptionpublic long getCompanyId()
SubscriptionModel
getCompanyId in interface SubscriptionModelpublic void setCompanyId(long companyId)
SubscriptionModel
setCompanyId in interface SubscriptionModelcompanyId - the company id of this subscriptionpublic long getUserId()
SubscriptionModel
getUserId in interface SubscriptionModelpublic void setUserId(long userId)
SubscriptionModel
setUserId in interface SubscriptionModeluserId - the user id of this subscription
public String getUserUuid()
throws SystemException
SubscriptionModel
getUserUuid in interface SubscriptionModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
SubscriptionModel
setUserUuid in interface SubscriptionModeluserUuid - the user uuid of this subscriptionpublic String getUserName()
SubscriptionModel
getUserName in interface SubscriptionModelpublic void setUserName(String userName)
SubscriptionModel
setUserName in interface SubscriptionModeluserName - the user name of this subscriptionpublic Date getCreateDate()
SubscriptionModel
getCreateDate in interface SubscriptionModelpublic void setCreateDate(Date createDate)
SubscriptionModel
setCreateDate in interface SubscriptionModelcreateDate - the create date of this subscriptionpublic Date getModifiedDate()
SubscriptionModel
getModifiedDate in interface SubscriptionModelpublic void setModifiedDate(Date modifiedDate)
SubscriptionModel
setModifiedDate in interface SubscriptionModelmodifiedDate - the modified date of this subscriptionpublic String getClassName()
SubscriptionModel
getClassName in interface SubscriptionModelpublic long getClassNameId()
SubscriptionModel
getClassNameId in interface SubscriptionModelpublic void setClassNameId(long classNameId)
SubscriptionModel
setClassNameId in interface SubscriptionModelclassNameId - the class name id of this subscriptionpublic long getClassPK()
SubscriptionModel
getClassPK in interface SubscriptionModelpublic void setClassPK(long classPK)
SubscriptionModel
setClassPK in interface SubscriptionModelclassPK - the class p k of this subscriptionpublic String getFrequency()
SubscriptionModel
getFrequency in interface SubscriptionModelpublic void setFrequency(String frequency)
SubscriptionModel
setFrequency in interface SubscriptionModelfrequency - the frequency of this subscriptionpublic Subscription toEscapedModel()
SubscriptionModelAutoEscapeBeanHandler.
toEscapedModel in interface SubscriptionModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
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()
BaseModel
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()
BaseModel
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 SubscriptionModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Subscription>getExpandoBridge in interface SubscriptionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Subscription>setExpandoBridgeAttributes in interface SubscriptionModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString in interface SubscriptionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Subscription>toXmlString in interface SubscriptionModelpublic Subscription getWrappedSubscription()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||