|
Liferay 6.1.2-ce-ga3 | |||||||||
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)
|
boolean |
equals(Object obj)
|
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 p k of this subscription. |
long |
getCompanyId()
Returns the company ID of this subscription. |
Date |
getCreateDate()
Returns the create date of this subscription. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getFrequency()
Returns the frequency of this subscription. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this subscription. |
long |
getPrimaryKey()
Returns the primary key of this subscription. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getSubscriptionId()
Returns the subscription ID of this subscription. |
long |
getUserId()
Returns the user ID of this subscription. |
String |
getUserName()
Returns the user name of this subscription. |
String |
getUserUuid()
Returns the user uuid of this subscription. |
Subscription |
getWrappedModel()
|
Subscription |
getWrappedSubscription()
Deprecated. Renamed to getWrappedModel() |
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 |
setClassName(String className)
|
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 |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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()
|
Subscription |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SubscriptionWrapper(Subscription subscription)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Subscription>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Subscription>
public long getPrimaryKey()
getPrimaryKey
in interface SubscriptionModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SubscriptionModel
primaryKey
- the primary key of this subscriptionpublic long getSubscriptionId()
getSubscriptionId
in interface SubscriptionModel
public void setSubscriptionId(long subscriptionId)
setSubscriptionId
in interface SubscriptionModel
subscriptionId
- the subscription ID of this subscriptionpublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface SubscriptionModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface SubscriptionModel
companyId
- the company ID of this subscriptionpublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface SubscriptionModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface SubscriptionModel
userId
- the user ID of this subscriptionpublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface SubscriptionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface SubscriptionModel
userUuid
- the user uuid of this subscriptionpublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface SubscriptionModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface SubscriptionModel
userName
- the user name of this subscriptionpublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface SubscriptionModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface SubscriptionModel
createDate
- the create date of this subscriptionpublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface SubscriptionModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface SubscriptionModel
modifiedDate
- the modified date of this subscriptionpublic String getClassName()
getClassName
in interface AttachedModel
getClassName
in interface SubscriptionModel
public void setClassName(String className)
setClassName
in interface SubscriptionModel
public long getClassNameId()
getClassNameId
in interface AttachedModel
getClassNameId
in interface SubscriptionModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
setClassNameId
in interface SubscriptionModel
classNameId
- the class name ID of this subscriptionpublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface SubscriptionModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface SubscriptionModel
classPK
- the class p k of this subscriptionpublic String getFrequency()
getFrequency
in interface SubscriptionModel
public void setFrequency(String frequency)
setFrequency
in interface SubscriptionModel
frequency
- the frequency of this subscriptionpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
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
true
if this model instance was retrieved from the
entity cache.
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
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<Subscription>
isEscapedModel
in interface SubscriptionModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Subscription>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SubscriptionModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Subscription>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SubscriptionModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Subscription>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SubscriptionModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Subscription>
setExpandoBridgeAttributes
in interface SubscriptionModel
serviceContext
- the service contextServiceContext.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 CacheModel<Subscription> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Subscription>
toCacheModel
in interface SubscriptionModel
public Subscription toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Subscription>
toEscapedModel
in interface SubscriptionModel
AutoEscapeBeanHandler
public Subscription toUnescapedModel()
toUnescapedModel
in interface BaseModel<Subscription>
toUnescapedModel
in interface SubscriptionModel
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 void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public Subscription getWrappedSubscription()
getWrappedModel()
public Subscription getWrappedModel()
getWrappedModel
in interface ModelWrapper<Subscription>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Subscription>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |