|
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<Website>
com.liferay.portal.model.impl.WebsiteModelImpl
@JSON(strict=true) @ProviderType public class WebsiteModelImpl
The base model implementation for the Website service. Represents a row in the "Website" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface WebsiteModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in WebsiteImpl.
WebsiteImpl,
Website,
WebsiteModel,
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 long |
CREATEDATE_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PRIMARY_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
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
|
static long |
UUID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
WebsiteModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Website website)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this website. |
long |
getClassNameId()
Returns the class name ID of this website. |
long |
getClassPK()
Returns the class p k of this website. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this website. |
Date |
getCreateDate()
Returns the create date of this website. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Date |
getLastPublishDate()
Returns the last publish date of this website. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this website. |
long |
getMvccVersion()
Returns the mvcc version of this website. |
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
boolean |
getOriginalPrimary()
|
long |
getOriginalUserId()
|
String |
getOriginalUuid()
|
boolean |
getPrimary()
Returns the primary of this website. |
long |
getPrimaryKey()
Returns the primary key of this website. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
StagedModelType |
getStagedModelType()
|
long |
getTypeId()
Returns the type ID of this website. |
String |
getUrl()
Returns the url of this website. |
long |
getUserId()
Returns the user ID of this website. |
String |
getUserName()
Returns the user name of this website. |
String |
getUserUuid()
Returns the user uuid of this website. |
String |
getUuid()
Returns the uuid of this website. |
long |
getWebsiteId()
Returns the website ID of this website. |
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. |
boolean |
isPrimary()
Returns true if this website is primary. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this website. |
void |
setClassPK(long classPK)
Sets the class p k of this website. |
void |
setCompanyId(long companyId)
Sets the company ID of this website. |
void |
setCreateDate(Date createDate)
Sets the create date of this website. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this website. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this website. |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this website. |
void |
setPrimary(boolean primary)
Sets whether this website is primary. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this website. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setTypeId(long typeId)
Sets the type ID of this website. |
void |
setUrl(String url)
Sets the url of this website. |
void |
setUserId(long userId)
Sets the user ID of this website. |
void |
setUserName(String userName)
Sets the user name of this website. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this website. |
void |
setUuid(String uuid)
Sets the uuid of this website. |
void |
setWebsiteId(long websiteId)
Sets the website ID of this website. |
CacheModel<Website> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Website |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static Website |
toModel(WebsiteSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Website> |
toModels(WebsiteSoap[] soapModels)
Converts the soap model instances into normal model instances. |
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.WebsiteModel |
|---|
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 PRIMARY_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long CREATEDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public WebsiteModelImpl()
| Method Detail |
|---|
public static Website toModel(WebsiteSoap soapModel)
soapModel - the soap model instance to convert
public static List<Website> toModels(WebsiteSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
WebsiteModel
getPrimaryKey in interface WebsiteModelpublic void setPrimaryKey(long primaryKey)
WebsiteModel
setPrimaryKey in interface WebsiteModelprimaryKey - the primary key of this websitepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Website>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface WebsiteModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Website>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface WebsiteModelprimaryKeyObj - 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<Website>getModelAttributes in class BaseModelImpl<Website>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Website>setModelAttributes in class BaseModelImpl<Website>@JSON public long getMvccVersion()
WebsiteModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface WebsiteModelpublic void setMvccVersion(long mvccVersion)
WebsiteModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface WebsiteModelmvccVersion - the mvcc version of this website@JSON public String getUuid()
WebsiteModel
getUuid in interface StagedModelgetUuid in interface WebsiteModelpublic void setUuid(String uuid)
WebsiteModel
setUuid in interface StagedModelsetUuid in interface WebsiteModeluuid - the uuid of this websitepublic String getOriginalUuid()
@JSON public long getWebsiteId()
WebsiteModel
getWebsiteId in interface WebsiteModelpublic void setWebsiteId(long websiteId)
WebsiteModel
setWebsiteId in interface WebsiteModelwebsiteId - the website ID of this website@JSON public long getCompanyId()
WebsiteModel
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface WebsiteModelpublic void setCompanyId(long companyId)
WebsiteModel
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface WebsiteModelcompanyId - the company ID of this websitepublic long getOriginalCompanyId()
@JSON public long getUserId()
WebsiteModel
getUserId in interface AuditedModelgetUserId in interface WebsiteModelpublic void setUserId(long userId)
WebsiteModel
setUserId in interface AuditedModelsetUserId in interface WebsiteModeluserId - the user ID of this websitepublic String getUserUuid()
WebsiteModel
getUserUuid in interface AuditedModelgetUserUuid in interface WebsiteModelpublic void setUserUuid(String userUuid)
WebsiteModel
setUserUuid in interface AuditedModelsetUserUuid in interface WebsiteModeluserUuid - the user uuid of this websitepublic long getOriginalUserId()
@JSON public String getUserName()
WebsiteModel
getUserName in interface AuditedModelgetUserName in interface WebsiteModelpublic void setUserName(String userName)
WebsiteModel
setUserName in interface AuditedModelsetUserName in interface WebsiteModeluserName - the user name of this website@JSON public Date getCreateDate()
WebsiteModel
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface WebsiteModelpublic void setCreateDate(Date createDate)
WebsiteModel
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface WebsiteModelcreateDate - the create date of this website@JSON public Date getModifiedDate()
WebsiteModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface WebsiteModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
WebsiteModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface WebsiteModelmodifiedDate - the modified date of this websitepublic String getClassName()
WebsiteModel
getClassName in interface TypedModelgetClassName in interface WebsiteModelpublic void setClassName(String className)
setClassName in interface WebsiteModel@JSON public long getClassNameId()
WebsiteModel
getClassNameId in interface TypedModelgetClassNameId in interface WebsiteModelpublic void setClassNameId(long classNameId)
WebsiteModel
setClassNameId in interface TypedModelsetClassNameId in interface WebsiteModelclassNameId - the class name ID of this websitepublic long getOriginalClassNameId()
@JSON public long getClassPK()
WebsiteModel
getClassPK in interface AttachedModelgetClassPK in interface WebsiteModelpublic void setClassPK(long classPK)
WebsiteModel
setClassPK in interface AttachedModelsetClassPK in interface WebsiteModelclassPK - the class p k of this websitepublic long getOriginalClassPK()
@JSON public String getUrl()
WebsiteModel
getUrl in interface WebsiteModelpublic void setUrl(String url)
WebsiteModel
setUrl in interface WebsiteModelurl - the url of this website@JSON public long getTypeId()
WebsiteModel
getTypeId in interface WebsiteModelpublic void setTypeId(long typeId)
WebsiteModel
setTypeId in interface WebsiteModeltypeId - the type ID of this website@JSON public boolean getPrimary()
WebsiteModel
getPrimary in interface WebsiteModelpublic boolean isPrimary()
WebsiteModeltrue if this website is primary.
isPrimary in interface WebsiteModeltrue if this website is primary; false otherwisepublic void setPrimary(boolean primary)
WebsiteModel
setPrimary in interface WebsiteModelprimary - the primary of this websitepublic boolean getOriginalPrimary()
@JSON public Date getLastPublishDate()
WebsiteModel
getLastPublishDate in interface WebsiteModelpublic void setLastPublishDate(Date lastPublishDate)
WebsiteModel
setLastPublishDate in interface WebsiteModellastPublishDate - the last publish date of this websitepublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Website>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface WebsiteModelgetExpandoBridge in class BaseModelImpl<Website>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Website>setExpandoBridgeAttributes in interface WebsiteModelsetExpandoBridgeAttributes in class BaseModelImpl<Website>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public Website toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Website>toEscapedModel in interface WebsiteModeltoEscapedModel in class BaseModelImpl<Website>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<Website>clone in interface StagedModelclone in interface WebsiteModelclone in class BaseModelImpl<Website>public int compareTo(Website website)
compareTo in interface WebsiteModelcompareTo in interface Comparable<Website>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface WebsiteModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Website>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<Website>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Website>resetOriginalValues in class BaseModelImpl<Website>public CacheModel<Website> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Website>toCacheModel in interface WebsiteModeltoCacheModel in class BaseModelImpl<Website>public String toString()
toString in interface WebsiteModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Website>toXmlString in interface WebsiteModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||