@JSON(strict=true)
@ProviderType
public class WebsiteModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Website>
implements com.liferay.portal.model.WebsiteModel
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| Modifier and Type | Field and Description |
|---|---|
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 java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static long |
PRIMARY_COLUMN_BITMASK |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
USERID_COLUMN_BITMASK |
static long |
UUID_COLUMN_BITMASK |
| Constructor and Description |
|---|
WebsiteModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portal.model.Website website) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
long |
getCompanyId() |
java.util.Date |
getCreateDate() |
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
java.util.Date |
getLastPublishDate() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
long |
getMvccVersion() |
long |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
long |
getOriginalCompanyId() |
boolean |
getOriginalPrimary() |
long |
getOriginalUserId() |
java.lang.String |
getOriginalUuid() |
boolean |
getPrimary() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
com.liferay.portlet.exportimport.lar.StagedModelType |
getStagedModelType() |
long |
getTypeId() |
java.lang.String |
getUrl() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
java.lang.String |
getUuid() |
long |
getWebsiteId() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isPrimary() |
void |
resetOriginalValues() |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId) |
void |
setClassPK(long classPK) |
void |
setCompanyId(long companyId) |
void |
setCreateDate(java.util.Date createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext) |
void |
setLastPublishDate(java.util.Date lastPublishDate) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setMvccVersion(long mvccVersion) |
void |
setPrimary(boolean primary) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setTypeId(long typeId) |
void |
setUrl(java.lang.String url) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
void |
setUuid(java.lang.String uuid) |
void |
setWebsiteId(long websiteId) |
com.liferay.portal.model.CacheModel<com.liferay.portal.model.Website> |
toCacheModel() |
com.liferay.portal.model.Website |
toEscapedModel() |
static com.liferay.portal.model.Website |
toModel(com.liferay.portal.model.WebsiteSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.portal.model.Website> |
toModels(com.liferay.portal.model.WebsiteSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.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
public static com.liferay.portal.model.Website toModel(com.liferay.portal.model.WebsiteSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.portal.model.Website> toModels(com.liferay.portal.model.WebsiteSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.model.WebsiteModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.model.WebsiteModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portal.model.WebsiteModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portal.model.WebsiteModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Website>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Website>@JSON public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.model.MVCCModelgetMvccVersion in interface com.liferay.portal.model.WebsiteModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.model.MVCCModelsetMvccVersion in interface com.liferay.portal.model.WebsiteModel@JSON public java.lang.String getUuid()
getUuid in interface com.liferay.portal.model.StagedModelgetUuid in interface com.liferay.portal.model.WebsiteModelpublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.model.StagedModelsetUuid in interface com.liferay.portal.model.WebsiteModelpublic java.lang.String getOriginalUuid()
@JSON public long getWebsiteId()
getWebsiteId in interface com.liferay.portal.model.WebsiteModelpublic void setWebsiteId(long websiteId)
setWebsiteId in interface com.liferay.portal.model.WebsiteModel@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.model.AuditedModelgetCompanyId in interface com.liferay.portal.model.ShardedModelgetCompanyId in interface com.liferay.portal.model.StagedModelgetCompanyId in interface com.liferay.portal.model.WebsiteModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.model.AuditedModelsetCompanyId in interface com.liferay.portal.model.ShardedModelsetCompanyId in interface com.liferay.portal.model.StagedModelsetCompanyId in interface com.liferay.portal.model.WebsiteModelpublic long getOriginalCompanyId()
@JSON public long getUserId()
getUserId in interface com.liferay.portal.model.AuditedModelgetUserId in interface com.liferay.portal.model.WebsiteModelpublic void setUserId(long userId)
setUserId in interface com.liferay.portal.model.AuditedModelsetUserId in interface com.liferay.portal.model.WebsiteModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.model.AuditedModelgetUserUuid in interface com.liferay.portal.model.WebsiteModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.model.AuditedModelsetUserUuid in interface com.liferay.portal.model.WebsiteModelpublic long getOriginalUserId()
@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.portal.model.AuditedModelgetUserName in interface com.liferay.portal.model.WebsiteModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.model.AuditedModelsetUserName in interface com.liferay.portal.model.WebsiteModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.model.AuditedModelgetCreateDate in interface com.liferay.portal.model.StagedModelgetCreateDate in interface com.liferay.portal.model.WebsiteModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.model.AuditedModelsetCreateDate in interface com.liferay.portal.model.StagedModelsetCreateDate in interface com.liferay.portal.model.WebsiteModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.model.AuditedModelgetModifiedDate in interface com.liferay.portal.model.StagedModelgetModifiedDate in interface com.liferay.portal.model.WebsiteModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.model.AuditedModelsetModifiedDate in interface com.liferay.portal.model.StagedModelsetModifiedDate in interface com.liferay.portal.model.WebsiteModelpublic java.lang.String getClassName()
getClassName in interface com.liferay.portal.model.TypedModelgetClassName in interface com.liferay.portal.model.WebsiteModelpublic void setClassName(java.lang.String className)
setClassName in interface com.liferay.portal.model.WebsiteModel@JSON public long getClassNameId()
getClassNameId in interface com.liferay.portal.model.TypedModelgetClassNameId in interface com.liferay.portal.model.WebsiteModelpublic void setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.model.TypedModelsetClassNameId in interface com.liferay.portal.model.WebsiteModelpublic long getOriginalClassNameId()
@JSON public long getClassPK()
getClassPK in interface com.liferay.portal.model.AttachedModelgetClassPK in interface com.liferay.portal.model.WebsiteModelpublic void setClassPK(long classPK)
setClassPK in interface com.liferay.portal.model.AttachedModelsetClassPK in interface com.liferay.portal.model.WebsiteModelpublic long getOriginalClassPK()
@JSON public java.lang.String getUrl()
getUrl in interface com.liferay.portal.model.WebsiteModelpublic void setUrl(java.lang.String url)
setUrl in interface com.liferay.portal.model.WebsiteModel@JSON public long getTypeId()
getTypeId in interface com.liferay.portal.model.WebsiteModelpublic void setTypeId(long typeId)
setTypeId in interface com.liferay.portal.model.WebsiteModel@JSON public boolean getPrimary()
getPrimary in interface com.liferay.portal.model.WebsiteModelpublic boolean isPrimary()
isPrimary in interface com.liferay.portal.model.WebsiteModelpublic void setPrimary(boolean primary)
setPrimary in interface com.liferay.portal.model.WebsiteModelpublic boolean getOriginalPrimary()
@JSON public java.util.Date getLastPublishDate()
getLastPublishDate in interface com.liferay.portal.model.WebsiteModelpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface com.liferay.portal.model.WebsiteModelpublic com.liferay.portlet.exportimport.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.model.StagedModelpublic long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portal.model.WebsiteModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Website>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>setExpandoBridgeAttributes in interface com.liferay.portal.model.WebsiteModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Website>public com.liferay.portal.model.Website toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>toEscapedModel in interface com.liferay.portal.model.WebsiteModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Website>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>clone in interface com.liferay.portal.model.StagedModelclone in interface com.liferay.portal.model.WebsiteModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Website>public int compareTo(com.liferay.portal.model.Website website)
compareTo in interface com.liferay.portal.model.WebsiteModelcompareTo in interface java.lang.Comparable<com.liferay.portal.model.Website>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portal.model.WebsiteModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Website>public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Website> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>toCacheModel in interface com.liferay.portal.model.WebsiteModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Website>public java.lang.String toString()
toString in interface com.liferay.portal.model.WebsiteModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Website>toXmlString in interface com.liferay.portal.model.WebsiteModel