|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.WebsiteWrapper
public class WebsiteWrapper
This class is a wrapper for Website.
Website,
Serialized Form| Constructor Summary | |
|---|---|
WebsiteWrapper(Website website)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Website website)
|
String |
getClassName()
|
long |
getClassNameId()
|
long |
getClassPK()
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Date |
getModifiedDate()
|
boolean |
getPrimary()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
ListType |
getType()
|
int |
getTypeId()
|
String |
getUrl()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
long |
getWebsiteId()
|
Website |
getWrappedWebsite()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPrimary()
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassNameId(long classNameId)
|
void |
setClassPK(long classPK)
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimary(boolean primary)
|
void |
setPrimaryKey(long pk)
|
void |
setTypeId(int typeId)
|
void |
setUrl(String url)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
void |
setWebsiteId(long websiteId)
|
Website |
toEscapedModel()
|
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()
getPrimaryKey in interface WebsiteModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface WebsiteModelpublic long getWebsiteId()
getWebsiteId in interface WebsiteModelpublic void setWebsiteId(long websiteId)
setWebsiteId in interface WebsiteModelpublic long getCompanyId()
getCompanyId in interface WebsiteModelpublic void setCompanyId(long companyId)
setCompanyId in interface WebsiteModelpublic long getUserId()
getUserId in interface WebsiteModelpublic void setUserId(long userId)
setUserId in interface WebsiteModel
public String getUserUuid()
throws SystemException
getUserUuid in interface WebsiteModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface WebsiteModelpublic String getUserName()
getUserName in interface WebsiteModelpublic void setUserName(String userName)
setUserName in interface WebsiteModelpublic Date getCreateDate()
getCreateDate in interface WebsiteModelpublic void setCreateDate(Date createDate)
setCreateDate in interface WebsiteModelpublic Date getModifiedDate()
getModifiedDate in interface WebsiteModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface WebsiteModelpublic String getClassName()
getClassName in interface WebsiteModelpublic long getClassNameId()
getClassNameId in interface WebsiteModelpublic void setClassNameId(long classNameId)
setClassNameId in interface WebsiteModelpublic long getClassPK()
getClassPK in interface WebsiteModelpublic void setClassPK(long classPK)
setClassPK in interface WebsiteModelpublic String getUrl()
getUrl in interface WebsiteModelpublic void setUrl(String url)
setUrl in interface WebsiteModelpublic int getTypeId()
getTypeId in interface WebsiteModelpublic void setTypeId(int typeId)
setTypeId in interface WebsiteModelpublic boolean getPrimary()
getPrimary in interface WebsiteModelpublic boolean isPrimary()
isPrimary in interface WebsiteModelpublic void setPrimary(boolean primary)
setPrimary in interface WebsiteModelpublic Website toEscapedModel()
toEscapedModel in interface WebsiteModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<Website>isNew in interface WebsiteModeltrue 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 WebsiteModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Website>isCachedModel in interface WebsiteModeltrue 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 WebsiteModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Website>isEscapedModel in interface WebsiteModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Website>setEscapedModel in interface WebsiteModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Website>getPrimaryKeyObj in interface WebsiteModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Website>getExpandoBridge in interface WebsiteModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Website>setExpandoBridgeAttributes in interface WebsiteModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Website>clone in interface WebsiteModelclone in class Objectpublic int compareTo(Website website)
compareTo in interface WebsiteModelcompareTo in interface Comparable<Website>public int hashCode()
hashCode in interface WebsiteModelhashCode in class Objectpublic String toString()
toString in interface WebsiteModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Website>toXmlString in interface WebsiteModel
public ListType getType()
throws PortalException,
SystemException
getType in interface WebsitePortalException
SystemExceptionpublic Website getWrappedWebsite()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||