|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.WebsiteWrapper
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)
|
String |
getClassName()
Gets the class name of the model instance this website is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this website. |
long |
getClassPK()
Gets the class p k of this website. |
long |
getCompanyId()
Gets the company id of this website. |
Date |
getCreateDate()
Gets the create date of this website. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Date |
getModifiedDate()
Gets the modified date of this website. |
boolean |
getPrimary()
Gets the primary of this website. |
long |
getPrimaryKey()
Gets the primary key of this website. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
ListType |
getType()
|
int |
getTypeId()
Gets the type id of this website. |
String |
getUrl()
Gets the url of this website. |
long |
getUserId()
Gets the user id of this website. |
String |
getUserName()
Gets the user name of this website. |
String |
getUserUuid()
Gets the user uuid of this website. |
long |
getWebsiteId()
Gets the website id of this website. |
Website |
getWrappedWebsite()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPrimary()
Determines whether this website is primary. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
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 {$entity.humanName} is primary. |
void |
setPrimaryKey(long pk)
Sets the primary key of this website |
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 |
setWebsiteId(long websiteId)
Sets the website id of this website. |
Website |
toEscapedModel()
Gets a copy of this website as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WebsiteWrapper(Website website)
Method Detail |
---|
public long getPrimaryKey()
WebsiteModel
getPrimaryKey
in interface WebsiteModel
public void setPrimaryKey(long pk)
WebsiteModel
setPrimaryKey
in interface WebsiteModel
pk
- the primary key of this websitepublic long getWebsiteId()
WebsiteModel
getWebsiteId
in interface WebsiteModel
public void setWebsiteId(long websiteId)
WebsiteModel
setWebsiteId
in interface WebsiteModel
websiteId
- the website id of this websitepublic long getCompanyId()
WebsiteModel
getCompanyId
in interface WebsiteModel
public void setCompanyId(long companyId)
WebsiteModel
setCompanyId
in interface WebsiteModel
companyId
- the company id of this websitepublic long getUserId()
WebsiteModel
getUserId
in interface WebsiteModel
public void setUserId(long userId)
WebsiteModel
setUserId
in interface WebsiteModel
userId
- the user id of this websitepublic String getUserUuid() throws SystemException
WebsiteModel
getUserUuid
in interface WebsiteModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
WebsiteModel
setUserUuid
in interface WebsiteModel
userUuid
- the user uuid of this websitepublic String getUserName()
WebsiteModel
getUserName
in interface WebsiteModel
public void setUserName(String userName)
WebsiteModel
setUserName
in interface WebsiteModel
userName
- the user name of this websitepublic Date getCreateDate()
WebsiteModel
getCreateDate
in interface WebsiteModel
public void setCreateDate(Date createDate)
WebsiteModel
setCreateDate
in interface WebsiteModel
createDate
- the create date of this websitepublic Date getModifiedDate()
WebsiteModel
getModifiedDate
in interface WebsiteModel
public void setModifiedDate(Date modifiedDate)
WebsiteModel
setModifiedDate
in interface WebsiteModel
modifiedDate
- the modified date of this websitepublic String getClassName()
WebsiteModel
getClassName
in interface WebsiteModel
public long getClassNameId()
WebsiteModel
getClassNameId
in interface WebsiteModel
public void setClassNameId(long classNameId)
WebsiteModel
setClassNameId
in interface WebsiteModel
classNameId
- the class name id of this websitepublic long getClassPK()
WebsiteModel
getClassPK
in interface WebsiteModel
public void setClassPK(long classPK)
WebsiteModel
setClassPK
in interface WebsiteModel
classPK
- the class p k of this websitepublic String getUrl()
WebsiteModel
getUrl
in interface WebsiteModel
public void setUrl(String url)
WebsiteModel
setUrl
in interface WebsiteModel
url
- the url of this websitepublic int getTypeId()
WebsiteModel
getTypeId
in interface WebsiteModel
public void setTypeId(int typeId)
WebsiteModel
setTypeId
in interface WebsiteModel
typeId
- the type id of this websitepublic boolean getPrimary()
WebsiteModel
getPrimary
in interface WebsiteModel
public boolean isPrimary()
WebsiteModel
isPrimary
in interface WebsiteModel
public void setPrimary(boolean primary)
WebsiteModel
setPrimary
in interface WebsiteModel
primary
- the primary of this websitepublic Website toEscapedModel()
WebsiteModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface WebsiteModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
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
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
isEscapedModel
in interface BaseModel<Website>
isEscapedModel
in interface WebsiteModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<Website>
setEscapedModel
in interface WebsiteModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Website>
getPrimaryKeyObj
in interface WebsiteModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Website>
getExpandoBridge
in interface WebsiteModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Website>
setExpandoBridgeAttributes
in interface WebsiteModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<Website>
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 String toString()
toString
in interface WebsiteModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Website>
toXmlString
in interface WebsiteModel
public ListType getType() throws PortalException, SystemException
getType
in interface Website
PortalException
SystemException
public Website getWrappedWebsite()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |