com.liferay.portal.model.impl
Class LayoutRevisionImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<LayoutRevision>
com.liferay.portal.model.impl.LayoutRevisionModelImpl
com.liferay.portal.model.impl.LayoutRevisionBaseImpl
com.liferay.portal.model.impl.LayoutRevisionImpl
- All Implemented Interfaces:
- AuditedModel, BaseModel<LayoutRevision>, ClassedModel, GroupedModel, LayoutRevision, LayoutRevisionModel, LocalizedModel, MVCCModel, PersistedModel, ShardedModel, WorkflowedModel, Serializable, Cloneable, Comparable<LayoutRevision>
public class LayoutRevisionImpl
- extends LayoutRevisionBaseImpl
- See Also:
- Serialized Form
| Fields inherited from class com.liferay.portal.model.impl.LayoutRevisionModelImpl |
COLUMN_BITMASK_ENABLED, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, HEAD_COLUMN_BITMASK, LAYOUTBRANCHID_COLUMN_BITMASK, LAYOUTSETBRANCHID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, MODIFIEDDATE_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, PARENTLAYOUTREVISIONID_COLUMN_BITMASK, PLID_COLUMN_BITMASK, SESSION_FACTORY, STATUS_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER |
| Methods inherited from class com.liferay.portal.model.impl.LayoutRevisionModelImpl |
clone, compareTo, equals, getAvailableLanguageIds, getColorSchemeId, getColumnBitmask, getCompanyId, getCreateDate, getCss, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getHead, getIconImageId, getKeywords, getKeywords, getKeywords, getKeywords, getKeywords, getKeywordsCurrentLanguageId, getKeywordsCurrentValue, getKeywordsMap, getLayoutBranchId, getLayoutRevisionId, getLayoutSetBranchId, getMajor, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getMvccVersion, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getOriginalHead, getOriginalLayoutBranchId, getOriginalLayoutSetBranchId, getOriginalParentLayoutRevisionId, getOriginalPlid, getOriginalStatus, getParentLayoutRevisionId, getPlid, getPrimaryKey, getPrimaryKeyObj, getPrivateLayout, getRobots, getRobots, getRobots, getRobots, getRobots, getRobotsCurrentLanguageId, getRobotsCurrentValue, getRobotsMap, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getThemeId, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getWapColorSchemeId, getWapThemeId, hashCode, hasSetModifiedDate, isApproved, isDenied, isDraft, isEntityCacheEnabled, isExpired, isFinderCacheEnabled, isHead, isInactive, isIncomplete, isMajor, isPending, isPrivateLayout, isScheduled, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, resetOriginalValues, setColorSchemeId, setCompanyId, setCreateDate, setCss, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setGroupId, setHead, setIconImageId, setKeywords, setKeywords, setKeywords, setKeywordsCurrentLanguageId, setKeywordsMap, setKeywordsMap, setLayoutBranchId, setLayoutRevisionId, setLayoutSetBranchId, setMajor, setModelAttributes, setModifiedDate, setMvccVersion, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setParentLayoutRevisionId, setPlid, setPrimaryKey, setPrimaryKeyObj, setPrivateLayout, setRobots, setRobots, setRobots, setRobotsCurrentLanguageId, setRobotsMap, setRobotsMap, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setThemeId, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setWapColorSchemeId, setWapThemeId, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString |
| Methods inherited from interface com.liferay.portal.model.LayoutRevisionModel |
clone, compareTo, getAvailableLanguageIds, getColorSchemeId, getCompanyId, getCreateDate, getCss, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getHead, getIconImageId, getKeywords, getKeywords, getKeywords, getKeywords, getKeywords, getKeywordsCurrentLanguageId, getKeywordsCurrentValue, getKeywordsMap, getLayoutBranchId, getLayoutRevisionId, getLayoutSetBranchId, getMajor, getModifiedDate, getMvccVersion, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getParentLayoutRevisionId, getPlid, getPrimaryKey, getPrimaryKeyObj, getPrivateLayout, getRobots, getRobots, getRobots, getRobots, getRobots, getRobotsCurrentLanguageId, getRobotsCurrentValue, getRobotsMap, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getThemeId, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getWapColorSchemeId, getWapThemeId, hashCode, isApproved, isCachedModel, isDenied, isDraft, isEscapedModel, isExpired, isHead, isInactive, isIncomplete, isMajor, isNew, isPending, isPrivateLayout, isScheduled, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setCachedModel, setColorSchemeId, setCompanyId, setCreateDate, setCss, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setGroupId, setHead, setIconImageId, setKeywords, setKeywords, setKeywords, setKeywordsCurrentLanguageId, setKeywordsMap, setKeywordsMap, setLayoutBranchId, setLayoutRevisionId, setLayoutSetBranchId, setMajor, setModifiedDate, setMvccVersion, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setNew, setParentLayoutRevisionId, setPlid, setPrimaryKey, setPrimaryKeyObj, setPrivateLayout, setRobots, setRobots, setRobots, setRobotsCurrentLanguageId, setRobotsMap, setRobotsMap, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setThemeId, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setWapColorSchemeId, setWapThemeId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString |
LayoutRevisionImpl
public LayoutRevisionImpl()
getChildren
public List<LayoutRevision> getChildren()
getColorScheme
public ColorScheme getColorScheme()
throws PortalException
- Throws:
PortalException
getCssText
public String getCssText()
throws PortalException
- Throws:
PortalException
getHTMLTitle
public String getHTMLTitle(Locale locale)
getHTMLTitle
public String getHTMLTitle(String localeLanguageId)
getIconImage
public boolean getIconImage()
getLayoutBranch
public LayoutBranch getLayoutBranch()
throws PortalException
- Throws:
PortalException
getLayoutSet
public LayoutSet getLayoutSet()
throws PortalException
- Throws:
PortalException
getRegularURL
public String getRegularURL(javax.servlet.http.HttpServletRequest request)
throws PortalException
- Throws:
PortalException
getTheme
public Theme getTheme()
throws PortalException
- Throws:
PortalException
getThemeSetting
public String getThemeSetting(String key,
String device)
getTypeSettings
public String getTypeSettings()
- Description copied from interface:
LayoutRevisionModel
- Returns the type settings of this layout revision.
- Specified by:
getTypeSettings in interface LayoutRevisionModel- Overrides:
getTypeSettings in class LayoutRevisionModelImpl
- Returns:
- the type settings of this layout revision
getTypeSettingsProperties
public UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperty
public String getTypeSettingsProperty(String key)
getTypeSettingsProperty
public String getTypeSettingsProperty(String key,
String defaultValue)
getWapColorScheme
public ColorScheme getWapColorScheme()
throws PortalException
- Throws:
PortalException
getWapTheme
public Theme getWapTheme()
throws PortalException
- Throws:
PortalException
hasChildren
public boolean hasChildren()
isContentDisplayPage
public boolean isContentDisplayPage()
isIconImage
public boolean isIconImage()
isInheritLookAndFeel
public boolean isInheritLookAndFeel()
isInheritWapLookAndFeel
public boolean isInheritWapLookAndFeel()
setTypeSettings
public void setTypeSettings(String typeSettings)
- Description copied from interface:
LayoutRevisionModel
- Sets the type settings of this layout revision.
- Specified by:
setTypeSettings in interface LayoutRevisionModel- Overrides:
setTypeSettings in class LayoutRevisionModelImpl
- Parameters:
typeSettings - the type settings of this layout revision
setTypeSettingsProperties
public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
getTheme
protected Theme getTheme(String device)
throws PortalException
- Throws:
PortalException