|
Liferay 6.0.3 | |||||||||
| 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()
|
long |
getClassNameId()
|
long |
getClassPK()
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getFrequency()
|
Date |
getModifiedDate()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getSubscriptionId()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
Subscription |
getWrappedSubscription()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setClassPK(long classPK)
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setSubscriptionId(long subscriptionId)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
Subscription |
toEscapedModel()
|
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()
getPrimaryKey in interface SubscriptionModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface SubscriptionModelpublic long getSubscriptionId()
getSubscriptionId in interface SubscriptionModelpublic void setSubscriptionId(long subscriptionId)
setSubscriptionId in interface SubscriptionModelpublic long getCompanyId()
getCompanyId in interface SubscriptionModelpublic void setCompanyId(long companyId)
setCompanyId in interface SubscriptionModelpublic long getUserId()
getUserId in interface SubscriptionModelpublic void setUserId(long userId)
setUserId in interface SubscriptionModel
public String getUserUuid()
throws SystemException
getUserUuid in interface SubscriptionModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface SubscriptionModelpublic String getUserName()
getUserName in interface SubscriptionModelpublic void setUserName(String userName)
setUserName in interface SubscriptionModelpublic Date getCreateDate()
getCreateDate in interface SubscriptionModelpublic void setCreateDate(Date createDate)
setCreateDate in interface SubscriptionModelpublic Date getModifiedDate()
getModifiedDate in interface SubscriptionModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface SubscriptionModelpublic String getClassName()
getClassName in interface SubscriptionModelpublic long getClassNameId()
getClassNameId in interface SubscriptionModelpublic void setClassNameId(long classNameId)
setClassNameId in interface SubscriptionModelpublic long getClassPK()
getClassPK in interface SubscriptionModelpublic void setClassPK(long classPK)
setClassPK in interface SubscriptionModelpublic String getFrequency()
getFrequency in interface SubscriptionModelpublic void setFrequency(String frequency)
setFrequency in interface SubscriptionModelpublic Subscription toEscapedModel()
toEscapedModel in interface SubscriptionModelpublic 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 has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped 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 has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||