|
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.impl.BaseModelImpl<Subscription>
com.liferay.portal.model.impl.SubscriptionModelImpl
public class SubscriptionModelImpl
The base model implementation for the Subscription service. Represents a row in the "Subscription" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface SubscriptionModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SubscriptionImpl.
Never modify or reference this class directly. All methods that expect a subscription model instance should use the Subscription interface instead.
SubscriptionImpl,
Subscription,
SubscriptionModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
SubscriptionModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Subscription subscription)
|
boolean |
equals(Object obj)
|
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 |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
long |
getOriginalUserId()
|
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. |
int |
hashCode()
|
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 |
setModifiedDate(Date modifiedDate)
Sets the modified date of this subscription. |
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 com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.SubscriptionModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public SubscriptionModelImpl()
| 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Subscription>getPrimaryKeyObj in interface SubscriptionModelpublic 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 getOriginalCompanyId()
public 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 long getOriginalUserId()
public 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 getOriginalClassNameId()
public long getClassPK()
SubscriptionModel
getClassPK in interface SubscriptionModelpublic void setClassPK(long classPK)
SubscriptionModel
setClassPK in interface SubscriptionModelclassPK - the class p k of this subscriptionpublic long getOriginalClassPK()
public 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Subscription>getExpandoBridge in interface SubscriptionModelgetExpandoBridge in class BaseModelImpl<Subscription>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Subscription>setExpandoBridgeAttributes in interface SubscriptionModelsetExpandoBridgeAttributes in class BaseModelImpl<Subscription>serviceContext - 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 BaseModelImpl<Subscription>public int compareTo(Subscription subscription)
compareTo in interface SubscriptionModelcompareTo in interface Comparable<Subscription>public boolean equals(Object obj)
equals in class Objectpublic 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 SubscriptionModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||