|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.WebsiteWrapper
@ProviderType public class WebsiteWrapper
This class is a wrapper for Website
.
Website
,
Serialized FormConstructor Summary | |
---|---|
WebsiteWrapper(Website website)
|
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 |
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this website. |
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()
|
ListType |
getType()
|
int |
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. |
Website |
getWrappedModel()
|
Website |
getWrappedWebsite()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPrimary()
Returns true if this website is primary. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this website. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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(int 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 . |
String |
toString()
|
Website |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WebsiteWrapper(Website website)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Website>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Website>
public long getPrimaryKey()
getPrimaryKey
in interface WebsiteModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface WebsiteModel
primaryKey
- the primary key of this websitepublic String getUuid()
getUuid
in interface StagedModel
getUuid
in interface WebsiteModel
public void setUuid(String uuid)
setUuid
in interface StagedModel
setUuid
in interface WebsiteModel
uuid
- the uuid of this websitepublic long getWebsiteId()
getWebsiteId
in interface WebsiteModel
public void setWebsiteId(long websiteId)
setWebsiteId
in interface WebsiteModel
websiteId
- the website ID of this websitepublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface WebsiteModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface WebsiteModel
companyId
- the company ID of this websitepublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface WebsiteModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface WebsiteModel
userId
- the user ID of this websitepublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface WebsiteModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface WebsiteModel
userUuid
- the user uuid of this websitepublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface WebsiteModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface WebsiteModel
userName
- the user name of this websitepublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface WebsiteModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface WebsiteModel
createDate
- the create date of this websitepublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface WebsiteModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface WebsiteModel
modifiedDate
- the modified date of this websitepublic String getClassName()
getClassName
in interface TypedModel
getClassName
in interface WebsiteModel
public void setClassName(String className)
setClassName
in interface WebsiteModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface WebsiteModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface WebsiteModel
classNameId
- the class name ID of this websitepublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface WebsiteModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface WebsiteModel
classPK
- the class p k of this websitepublic String getUrl()
getUrl
in interface WebsiteModel
public void setUrl(String url)
setUrl
in interface WebsiteModel
url
- the url of this websitepublic int getTypeId()
getTypeId
in interface WebsiteModel
public void setTypeId(int typeId)
setTypeId
in interface WebsiteModel
typeId
- the type ID of this websitepublic boolean getPrimary()
getPrimary
in interface WebsiteModel
public boolean isPrimary()
true
if this website is primary.
isPrimary
in interface WebsiteModel
true
if this website is primary; false
otherwisepublic void setPrimary(boolean primary)
setPrimary
in interface WebsiteModel
primary
- the primary of this websitepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<Website>
isNew
in interface WebsiteModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<Website>
setNew
in interface WebsiteModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<Website>
isCachedModel
in interface WebsiteModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<Website>
setCachedModel
in interface WebsiteModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<Website>
isEscapedModel
in interface WebsiteModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Website>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface WebsiteModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Website>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface WebsiteModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Website>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface WebsiteModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<Website>
setExpandoBridgeAttributes
in interface WebsiteModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<Website>
setExpandoBridgeAttributes
in interface WebsiteModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Website>
setExpandoBridgeAttributes
in interface WebsiteModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<Website>
clone
in interface StagedModel
clone
in interface WebsiteModel
clone
in class Object
public int compareTo(Website website)
compareTo
in interface WebsiteModel
compareTo
in interface Comparable<Website>
public int hashCode()
hashCode
in interface WebsiteModel
hashCode
in class Object
public CacheModel<Website> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Website>
toCacheModel
in interface WebsiteModel
public Website toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Website>
toEscapedModel
in interface WebsiteModel
AutoEscapeBeanHandler
public Website toUnescapedModel()
toUnescapedModel
in interface BaseModel<Website>
toUnescapedModel
in interface WebsiteModel
public String toString()
toString
in interface WebsiteModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Website>
toXmlString
in interface WebsiteModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic ListType getType() throws PortalException, SystemException
getType
in interface Website
PortalException
SystemException
public boolean equals(Object obj)
equals
in class Object
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public Website getWrappedWebsite()
getWrappedModel()
public Website getWrappedModel()
getWrappedModel
in interface ModelWrapper<Website>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Website>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |