|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.SubscriptionWrapper
public class SubscriptionWrapper
This class is a wrapper for Subscription
.
Subscription
,
Serialized FormConstructor 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 SubscriptionModel
public void setPrimaryKey(long pk)
SubscriptionModel
setPrimaryKey
in interface SubscriptionModel
pk
- the primary key of this subscriptionpublic long getSubscriptionId()
SubscriptionModel
getSubscriptionId
in interface SubscriptionModel
public void setSubscriptionId(long subscriptionId)
SubscriptionModel
setSubscriptionId
in interface SubscriptionModel
subscriptionId
- the subscription id of this subscriptionpublic long getCompanyId()
SubscriptionModel
getCompanyId
in interface SubscriptionModel
public void setCompanyId(long companyId)
SubscriptionModel
setCompanyId
in interface SubscriptionModel
companyId
- the company id of this subscriptionpublic long getUserId()
SubscriptionModel
getUserId
in interface SubscriptionModel
public void setUserId(long userId)
SubscriptionModel
setUserId
in interface SubscriptionModel
userId
- the user id of this subscriptionpublic String getUserUuid() throws SystemException
SubscriptionModel
getUserUuid
in interface SubscriptionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
SubscriptionModel
setUserUuid
in interface SubscriptionModel
userUuid
- the user uuid of this subscriptionpublic String getUserName()
SubscriptionModel
getUserName
in interface SubscriptionModel
public void setUserName(String userName)
SubscriptionModel
setUserName
in interface SubscriptionModel
userName
- the user name of this subscriptionpublic Date getCreateDate()
SubscriptionModel
getCreateDate
in interface SubscriptionModel
public void setCreateDate(Date createDate)
SubscriptionModel
setCreateDate
in interface SubscriptionModel
createDate
- the create date of this subscriptionpublic Date getModifiedDate()
SubscriptionModel
getModifiedDate
in interface SubscriptionModel
public void setModifiedDate(Date modifiedDate)
SubscriptionModel
setModifiedDate
in interface SubscriptionModel
modifiedDate
- the modified date of this subscriptionpublic String getClassName()
SubscriptionModel
getClassName
in interface SubscriptionModel
public long getClassNameId()
SubscriptionModel
getClassNameId
in interface SubscriptionModel
public void setClassNameId(long classNameId)
SubscriptionModel
setClassNameId
in interface SubscriptionModel
classNameId
- the class name id of this subscriptionpublic long getClassPK()
SubscriptionModel
getClassPK
in interface SubscriptionModel
public void setClassPK(long classPK)
SubscriptionModel
setClassPK
in interface SubscriptionModel
classPK
- the class p k of this subscriptionpublic String getFrequency()
SubscriptionModel
getFrequency
in interface SubscriptionModel
public void setFrequency(String frequency)
SubscriptionModel
setFrequency
in interface SubscriptionModel
frequency
- the frequency of this subscriptionpublic Subscription toEscapedModel()
SubscriptionModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface SubscriptionModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<Subscription>
isNew
in interface SubscriptionModel
true
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 SubscriptionModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<Subscription>
isCachedModel
in interface SubscriptionModel
true
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 SubscriptionModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<Subscription>
isEscapedModel
in interface SubscriptionModel
true
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 SubscriptionModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Subscription>
getPrimaryKeyObj
in interface SubscriptionModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Subscription>
getExpandoBridge
in interface SubscriptionModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Subscription>
setExpandoBridgeAttributes
in interface SubscriptionModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<Subscription>
clone
in interface SubscriptionModel
clone
in class Object
public int compareTo(Subscription subscription)
compareTo
in interface SubscriptionModel
compareTo
in interface Comparable<Subscription>
public int hashCode()
hashCode
in interface SubscriptionModel
hashCode
in class Object
public String toString()
toString
in interface SubscriptionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Subscription>
toXmlString
in interface SubscriptionModel
public Subscription getWrappedSubscription()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |