|
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<LayoutSet>
com.liferay.portal.model.impl.LayoutSetModelImpl
public class LayoutSetModelImpl
The base model implementation for the LayoutSet service. Represents a row in the "LayoutSet" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface LayoutSetModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutSetImpl.
Never modify or reference this class directly. All methods that expect a layout set model instance should use the LayoutSet interface instead.
LayoutSetImpl,
LayoutSet,
LayoutSetModel,
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 |
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 | |
|---|---|
LayoutSetModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(LayoutSet layoutSet)
|
boolean |
equals(Object obj)
|
String |
getColorSchemeId()
Gets the color scheme id of this layout set. |
long |
getCompanyId()
Gets the company id of this layout set. |
String |
getCss()
Gets the css of this layout set. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this layout set. |
long |
getLayoutSetId()
Gets the layout set id of this layout set. |
long |
getLayoutSetPrototypeId()
Gets the layout set prototype id of this layout set. |
boolean |
getLogo()
Gets the logo of this layout set. |
long |
getLogoId()
Gets the logo id of this layout set. |
long |
getOriginalGroupId()
|
boolean |
getOriginalPrivateLayout()
|
String |
getOriginalVirtualHost()
|
int |
getPageCount()
Gets the page count of this layout set. |
long |
getPrimaryKey()
Gets the primary key of this layout set. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
boolean |
getPrivateLayout()
Gets the private layout of this layout set. |
String |
getSettings()
Gets the settings of this layout set. |
String |
getThemeId()
Gets the theme id of this layout set. |
String |
getVirtualHost()
Gets the virtual host of this layout set. |
String |
getWapColorSchemeId()
Gets the wap color scheme id of this layout set. |
String |
getWapThemeId()
Gets the wap theme id of this layout set. |
int |
hashCode()
|
boolean |
isLogo()
Determines whether this layout set is logo. |
boolean |
isPrivateLayout()
Determines whether this layout set is private layout. |
void |
setColorSchemeId(String colorSchemeId)
Sets the color scheme id of this layout set. |
void |
setCompanyId(long companyId)
Sets the company id of this layout set. |
void |
setCss(String css)
Sets the css of this layout set. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group id of this layout set. |
void |
setLayoutSetId(long layoutSetId)
Sets the layout set id of this layout set. |
void |
setLayoutSetPrototypeId(long layoutSetPrototypeId)
Sets the layout set prototype id of this layout set. |
void |
setLogo(boolean logo)
Sets whether this {$entity.humanName} is logo. |
void |
setLogoId(long logoId)
Sets the logo id of this layout set. |
void |
setPageCount(int pageCount)
Sets the page count of this layout set. |
void |
setPrimaryKey(long pk)
Sets the primary key of this layout set |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this {$entity.humanName} is private layout. |
void |
setSettings(String settings)
Sets the settings of this layout set. |
void |
setThemeId(String themeId)
Sets the theme id of this layout set. |
void |
setVirtualHost(String virtualHost)
Sets the virtual host of this layout set. |
void |
setWapColorSchemeId(String wapColorSchemeId)
Sets the wap color scheme id of this layout set. |
void |
setWapThemeId(String wapThemeId)
Sets the wap theme id of this layout set. |
LayoutSet |
toEscapedModel()
Gets a copy of this layout set as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static LayoutSet |
toModel(LayoutSetSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<LayoutSet> |
toModels(LayoutSetSoap[] 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.LayoutSetModel |
|---|
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 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 LayoutSetModelImpl()
| Method Detail |
|---|
public static LayoutSet toModel(LayoutSetSoap soapModel)
soapModel - the soap model instance to convert
public static List<LayoutSet> toModels(LayoutSetSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
LayoutSetModel
getPrimaryKey in interface LayoutSetModelpublic void setPrimaryKey(long pk)
LayoutSetModel
setPrimaryKey in interface LayoutSetModelpk - the primary key of this layout setpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<LayoutSet>getPrimaryKeyObj in interface LayoutSetModelpublic long getLayoutSetId()
LayoutSetModel
getLayoutSetId in interface LayoutSetModelpublic void setLayoutSetId(long layoutSetId)
LayoutSetModel
setLayoutSetId in interface LayoutSetModellayoutSetId - the layout set id of this layout setpublic long getGroupId()
LayoutSetModel
getGroupId in interface LayoutSetModelpublic void setGroupId(long groupId)
LayoutSetModel
setGroupId in interface LayoutSetModelgroupId - the group id of this layout setpublic long getOriginalGroupId()
public long getCompanyId()
LayoutSetModel
getCompanyId in interface LayoutSetModelpublic void setCompanyId(long companyId)
LayoutSetModel
setCompanyId in interface LayoutSetModelcompanyId - the company id of this layout setpublic boolean getPrivateLayout()
LayoutSetModel
getPrivateLayout in interface LayoutSetModelpublic boolean isPrivateLayout()
LayoutSetModel
isPrivateLayout in interface LayoutSetModelpublic void setPrivateLayout(boolean privateLayout)
LayoutSetModel
setPrivateLayout in interface LayoutSetModelprivateLayout - the private layout of this layout setpublic boolean getOriginalPrivateLayout()
public boolean getLogo()
LayoutSetModel
getLogo in interface LayoutSetModelpublic boolean isLogo()
LayoutSetModel
isLogo in interface LayoutSetModelpublic void setLogo(boolean logo)
LayoutSetModel
setLogo in interface LayoutSetModellogo - the logo of this layout setpublic long getLogoId()
LayoutSetModel
getLogoId in interface LayoutSetModelpublic void setLogoId(long logoId)
LayoutSetModel
setLogoId in interface LayoutSetModellogoId - the logo id of this layout setpublic String getThemeId()
LayoutSetModel
getThemeId in interface LayoutSetModelpublic void setThemeId(String themeId)
LayoutSetModel
setThemeId in interface LayoutSetModelthemeId - the theme id of this layout setpublic String getColorSchemeId()
LayoutSetModel
getColorSchemeId in interface LayoutSetModelpublic void setColorSchemeId(String colorSchemeId)
LayoutSetModel
setColorSchemeId in interface LayoutSetModelcolorSchemeId - the color scheme id of this layout setpublic String getWapThemeId()
LayoutSetModel
getWapThemeId in interface LayoutSetModelpublic void setWapThemeId(String wapThemeId)
LayoutSetModel
setWapThemeId in interface LayoutSetModelwapThemeId - the wap theme id of this layout setpublic String getWapColorSchemeId()
LayoutSetModel
getWapColorSchemeId in interface LayoutSetModelpublic void setWapColorSchemeId(String wapColorSchemeId)
LayoutSetModel
setWapColorSchemeId in interface LayoutSetModelwapColorSchemeId - the wap color scheme id of this layout setpublic String getCss()
LayoutSetModel
getCss in interface LayoutSetModelpublic void setCss(String css)
LayoutSetModel
setCss in interface LayoutSetModelcss - the css of this layout setpublic int getPageCount()
LayoutSetModel
getPageCount in interface LayoutSetModelpublic void setPageCount(int pageCount)
LayoutSetModel
setPageCount in interface LayoutSetModelpageCount - the page count of this layout setpublic String getVirtualHost()
LayoutSetModel
getVirtualHost in interface LayoutSetModelpublic void setVirtualHost(String virtualHost)
LayoutSetModel
setVirtualHost in interface LayoutSetModelvirtualHost - the virtual host of this layout setpublic String getOriginalVirtualHost()
public String getSettings()
LayoutSetModel
getSettings in interface LayoutSetModelpublic void setSettings(String settings)
LayoutSetModel
setSettings in interface LayoutSetModelsettings - the settings of this layout setpublic long getLayoutSetPrototypeId()
LayoutSetModel
getLayoutSetPrototypeId in interface LayoutSetModelpublic void setLayoutSetPrototypeId(long layoutSetPrototypeId)
LayoutSetModel
setLayoutSetPrototypeId in interface LayoutSetModellayoutSetPrototypeId - the layout set prototype id of this layout setpublic LayoutSet toEscapedModel()
LayoutSetModelAutoEscapeBeanHandler.
toEscapedModel in interface LayoutSetModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<LayoutSet>getExpandoBridge in interface LayoutSetModelgetExpandoBridge in class BaseModelImpl<LayoutSet>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<LayoutSet>setExpandoBridgeAttributes in interface LayoutSetModelsetExpandoBridgeAttributes in class BaseModelImpl<LayoutSet>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<LayoutSet>clone in interface LayoutSetModelclone in class BaseModelImpl<LayoutSet>public int compareTo(LayoutSet layoutSet)
compareTo in interface LayoutSetModelcompareTo in interface Comparable<LayoutSet>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface LayoutSetModelhashCode in class Objectpublic String toString()
toString in interface LayoutSetModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<LayoutSet>toXmlString in interface LayoutSetModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||