|
Liferay 7.0-ce-b4 | |||||||||
| 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
@ProviderType 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 Form| Field 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 |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static long |
SUBSCRIPTIONID_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
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. |
long |
getGroupId()
Returns the group ID of this subscription. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this subscription. |
long |
getMvccVersion()
Returns the mvcc version of this subscription. |
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
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()
|
boolean |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 |
setGroupId(long groupId)
Sets the group ID of this subscription. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this subscription. |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version 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()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long SUBSCRIPTIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public SubscriptionModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
SubscriptionModel
getPrimaryKey in interface SubscriptionModelpublic void setPrimaryKey(long primaryKey)
SubscriptionModel
setPrimaryKey in interface SubscriptionModelprimaryKey - the primary key of this subscriptionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Subscription>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SubscriptionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Subscription>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SubscriptionModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 getMvccVersion()
SubscriptionModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface SubscriptionModelpublic void setMvccVersion(long mvccVersion)
SubscriptionModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface SubscriptionModelmvccVersion - the mvcc version of this subscriptionpublic long getSubscriptionId()
SubscriptionModel
getSubscriptionId in interface SubscriptionModelpublic void setSubscriptionId(long subscriptionId)
SubscriptionModel
setSubscriptionId in interface SubscriptionModelsubscriptionId - the subscription ID of this subscriptionpublic long getGroupId()
SubscriptionModel
getGroupId in interface GroupedModelgetGroupId in interface SubscriptionModelpublic void setGroupId(long groupId)
SubscriptionModel
setGroupId in interface GroupedModelsetGroupId in interface SubscriptionModelgroupId - the group ID of this subscriptionpublic long getOriginalGroupId()
public long getCompanyId()
SubscriptionModel
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface SubscriptionModelpublic void setCompanyId(long companyId)
SubscriptionModel
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface SubscriptionModelcompanyId - the company ID of this subscriptionpublic long getOriginalCompanyId()
public long getUserId()
SubscriptionModel
getUserId in interface AuditedModelgetUserId in interface SubscriptionModelpublic void setUserId(long userId)
SubscriptionModel
setUserId in interface AuditedModelsetUserId in interface SubscriptionModeluserId - the user ID of this subscriptionpublic String getUserUuid()
SubscriptionModel
getUserUuid in interface AuditedModelgetUserUuid in interface SubscriptionModelpublic void setUserUuid(String userUuid)
SubscriptionModel
setUserUuid in interface AuditedModelsetUserUuid in interface SubscriptionModeluserUuid - the user uuid of this subscriptionpublic long getOriginalUserId()
public String getUserName()
SubscriptionModel
getUserName in interface AuditedModelgetUserName in interface SubscriptionModelpublic void setUserName(String userName)
SubscriptionModel
setUserName in interface AuditedModelsetUserName in interface SubscriptionModeluserName - the user name of this subscriptionpublic Date getCreateDate()
SubscriptionModel
getCreateDate in interface AuditedModelgetCreateDate in interface SubscriptionModelpublic void setCreateDate(Date createDate)
SubscriptionModel
setCreateDate in interface AuditedModelsetCreateDate in interface SubscriptionModelcreateDate - the create date of this subscriptionpublic Date getModifiedDate()
SubscriptionModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface SubscriptionModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
SubscriptionModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface SubscriptionModelmodifiedDate - the modified date of this subscriptionpublic String getClassName()
SubscriptionModel
getClassName in interface SubscriptionModelgetClassName in interface TypedModelpublic void setClassName(String className)
setClassName in interface SubscriptionModelpublic long getClassNameId()
SubscriptionModel
getClassNameId in interface SubscriptionModelgetClassNameId in interface TypedModelpublic void setClassNameId(long classNameId)
SubscriptionModel
setClassNameId in interface SubscriptionModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this subscriptionpublic long getOriginalClassNameId()
public long getClassPK()
SubscriptionModel
getClassPK in interface AttachedModelgetClassPK in interface SubscriptionModelpublic void setClassPK(long classPK)
SubscriptionModel
setClassPK in interface AttachedModelsetClassPK 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 long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Subscription>getExpandoBridge in interface ClassedModelgetExpandoBridge 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 be appliedServiceContext.getExpandoBridgeAttributes()public Subscription toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Subscription>toEscapedModel in interface SubscriptionModeltoEscapedModel in class BaseModelImpl<Subscription>AutoEscapeBeanHandlerpublic 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 boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Subscription>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<Subscription>true if this model's finder cache is enabled;
false otherwisepublic 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 SubscriptionModeltoCacheModel in class BaseModelImpl<Subscription>public String toString()
toString in interface SubscriptionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Subscription>toXmlString in interface SubscriptionModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||