|
Liferay 6.1.2-ce-ga3 | |||||||||
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
.
SubscriptionImpl
,
Subscription
,
SubscriptionModel
,
Serialized FormField Summary | |
---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
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
|
static long |
USERID_COLUMN_BITMASK
|
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()
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 |
getColumnBitmask()
|
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 |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
long |
getOriginalUserId()
|
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. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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 com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, 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 boolean COLUMN_BITMASK_ENABLED
public static long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long COMPANYID_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public SubscriptionModelImpl()
Method Detail |
---|
public long getPrimaryKey()
SubscriptionModel
getPrimaryKey
in interface SubscriptionModel
public void setPrimaryKey(long primaryKey)
SubscriptionModel
setPrimaryKey
in interface SubscriptionModel
primaryKey
- the primary key of this subscriptionpublic 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 Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Subscription>
getModelAttributes
in class BaseModelImpl<Subscription>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Subscription>
setModelAttributes
in class BaseModelImpl<Subscription>
public 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 AuditedModel
getCompanyId
in interface SubscriptionModel
public void setCompanyId(long companyId)
SubscriptionModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface SubscriptionModel
companyId
- the company ID of this subscriptionpublic long getOriginalCompanyId()
public long getUserId()
SubscriptionModel
getUserId
in interface AuditedModel
getUserId
in interface SubscriptionModel
public void setUserId(long userId)
SubscriptionModel
setUserId
in interface AuditedModel
setUserId
in interface SubscriptionModel
userId
- the user ID of this subscriptionpublic String getUserUuid() throws SystemException
SubscriptionModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface SubscriptionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
SubscriptionModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface SubscriptionModel
userUuid
- the user uuid of this subscriptionpublic long getOriginalUserId()
public String getUserName()
SubscriptionModel
getUserName
in interface AuditedModel
getUserName
in interface SubscriptionModel
public void setUserName(String userName)
SubscriptionModel
setUserName
in interface AuditedModel
setUserName
in interface SubscriptionModel
userName
- the user name of this subscriptionpublic Date getCreateDate()
SubscriptionModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface SubscriptionModel
public void setCreateDate(Date createDate)
SubscriptionModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface SubscriptionModel
createDate
- the create date of this subscriptionpublic Date getModifiedDate()
SubscriptionModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface SubscriptionModel
public void setModifiedDate(Date modifiedDate)
SubscriptionModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface SubscriptionModel
modifiedDate
- the modified date of this subscriptionpublic String getClassName()
SubscriptionModel
getClassName
in interface AttachedModel
getClassName
in interface SubscriptionModel
public void setClassName(String className)
setClassName
in interface SubscriptionModel
public long getClassNameId()
SubscriptionModel
getClassNameId
in interface AttachedModel
getClassNameId
in interface SubscriptionModel
public void setClassNameId(long classNameId)
SubscriptionModel
setClassNameId
in interface AttachedModel
setClassNameId
in interface SubscriptionModel
classNameId
- the class name ID of this subscriptionpublic long getOriginalClassNameId()
public long getClassPK()
SubscriptionModel
getClassPK
in interface AttachedModel
getClassPK
in interface SubscriptionModel
public void setClassPK(long classPK)
SubscriptionModel
setClassPK
in interface AttachedModel
setClassPK
in interface SubscriptionModel
classPK
- the class p k of this subscriptionpublic long getOriginalClassPK()
public String getFrequency()
SubscriptionModel
getFrequency
in interface SubscriptionModel
public void setFrequency(String frequency)
SubscriptionModel
setFrequency
in interface SubscriptionModel
frequency
- the frequency of this subscriptionpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Subscription>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SubscriptionModel
getExpandoBridge
in class BaseModelImpl<Subscription>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Subscription>
setExpandoBridgeAttributes
in interface SubscriptionModel
setExpandoBridgeAttributes
in class BaseModelImpl<Subscription>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Subscription toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Subscription>
toEscapedModel
in interface SubscriptionModel
toEscapedModel
in class BaseModelImpl<Subscription>
AutoEscapeBeanHandler
public Subscription toUnescapedModel()
toUnescapedModel
in interface BaseModel<Subscription>
toUnescapedModel
in interface SubscriptionModel
toUnescapedModel
in class BaseModelImpl<Subscription>
public Object clone()
BaseModel
clone
in interface BaseModel<Subscription>
clone
in interface SubscriptionModel
clone
in class BaseModelImpl<Subscription>
public int compareTo(Subscription subscription)
compareTo
in interface SubscriptionModel
compareTo
in interface Comparable<Subscription>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface SubscriptionModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Subscription>
resetOriginalValues
in class BaseModelImpl<Subscription>
public CacheModel<Subscription> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Subscription>
toCacheModel
in interface SubscriptionModel
toCacheModel
in class BaseModelImpl<Subscription>
public String toString()
toString
in interface SubscriptionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Subscription>
toXmlString
in interface SubscriptionModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |