|
Liferay 6.0.4 | |||||||||
| 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
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.
Never modify or reference this class directly. All methods that expect a website model instance should use the Website interface instead.
WebsiteImpl,
Website,
WebsiteModel,
Serialized Form| Field Summary | |
|---|---|
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 String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| 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()
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. |
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. |
int |
hashCode()
|
boolean |
isPrimary()
Determines whether this website is primary. |
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 |
setModifiedDate(Date modifiedDate)
Sets the modified date of this website. |
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. |
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()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| 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, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
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 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 pk)
WebsiteModel
setPrimaryKey in interface WebsiteModelpk - the primary key of this websitepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Website>getPrimaryKeyObj in interface WebsiteModelpublic long getWebsiteId()
WebsiteModel
getWebsiteId in interface WebsiteModelpublic void setWebsiteId(long websiteId)
WebsiteModel
setWebsiteId in interface WebsiteModelwebsiteId - the website id of this websitepublic long getCompanyId()
WebsiteModel
getCompanyId in interface WebsiteModelpublic void setCompanyId(long companyId)
WebsiteModel
setCompanyId in interface WebsiteModelcompanyId - the company id of this websitepublic long getUserId()
WebsiteModel
getUserId in interface WebsiteModelpublic void setUserId(long userId)
WebsiteModel
setUserId in interface WebsiteModeluserId - the user id of this website
public String getUserUuid()
throws SystemException
WebsiteModel
getUserUuid in interface WebsiteModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
WebsiteModel
setUserUuid in interface WebsiteModeluserUuid - the user uuid of this websitepublic String getUserName()
WebsiteModel
getUserName in interface WebsiteModelpublic void setUserName(String userName)
WebsiteModel
setUserName in interface WebsiteModeluserName - the user name of this websitepublic Date getCreateDate()
WebsiteModel
getCreateDate in interface WebsiteModelpublic void setCreateDate(Date createDate)
WebsiteModel
setCreateDate in interface WebsiteModelcreateDate - the create date of this websitepublic Date getModifiedDate()
WebsiteModel
getModifiedDate in interface WebsiteModelpublic void setModifiedDate(Date modifiedDate)
WebsiteModel
setModifiedDate in interface WebsiteModelmodifiedDate - the modified date of this websitepublic String getClassName()
WebsiteModel
getClassName in interface WebsiteModelpublic long getClassNameId()
WebsiteModel
getClassNameId in interface WebsiteModelpublic void setClassNameId(long classNameId)
WebsiteModel
setClassNameId in interface WebsiteModelclassNameId - the class name id of this websitepublic long getClassPK()
WebsiteModel
getClassPK in interface WebsiteModelpublic void setClassPK(long classPK)
WebsiteModel
setClassPK in interface WebsiteModelclassPK - the class p k of this websitepublic String getUrl()
WebsiteModel
getUrl in interface WebsiteModelpublic void setUrl(String url)
WebsiteModel
setUrl in interface WebsiteModelurl - the url of this websitepublic int getTypeId()
WebsiteModel
getTypeId in interface WebsiteModelpublic void setTypeId(int typeId)
WebsiteModel
setTypeId in interface WebsiteModeltypeId - the type id of this websitepublic boolean getPrimary()
WebsiteModel
getPrimary in interface WebsiteModelpublic boolean isPrimary()
WebsiteModel
isPrimary in interface WebsiteModelpublic void setPrimary(boolean primary)
WebsiteModel
setPrimary in interface WebsiteModelprimary - the primary of this websitepublic Website toEscapedModel()
WebsiteModelAutoEscapeBeanHandler.
toEscapedModel in interface WebsiteModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Website>getExpandoBridge 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 retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Website>clone 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 String toString()
toString in interface WebsiteModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Website>toXmlString in interface WebsiteModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||