Liferay 6.2-ce-ga5

com.liferay.portal.model.impl
Class LayoutRevisionImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<LayoutRevision>
      extended by com.liferay.portal.model.impl.LayoutRevisionModelImpl
          extended by com.liferay.portal.model.impl.LayoutRevisionBaseImpl
              extended by com.liferay.portal.model.impl.LayoutRevisionImpl
All Implemented Interfaces:
AuditedModel, BaseModel<LayoutRevision>, ClassedModel, GroupedModel, LayoutRevision, LayoutRevisionModel, PersistedModel, WorkflowedModel, Serializable, Cloneable, Comparable<LayoutRevision>

public class LayoutRevisionImpl
extends LayoutRevisionBaseImpl

See Also:
Serialized Form

Field Summary
 
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_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
LayoutRevisionImpl()
           
 
Method Summary
 List<LayoutRevision> getChildren()
           
 ColorScheme getColorScheme()
           
 String getCssText()
           
 String getHTMLTitle(Locale locale)
           
 String getHTMLTitle(String localeLanguageId)
           
 LayoutBranch getLayoutBranch()
           
 LayoutSet getLayoutSet()
           
 String getRegularURL(javax.servlet.http.HttpServletRequest request)
           
 Theme getTheme()
           
protected  Theme getTheme(String device)
           
 String getThemeSetting(String key, String device)
           
 String getTypeSettings()
          Returns the type settings of this layout revision.
 UnicodeProperties getTypeSettingsProperties()
           
 String getTypeSettingsProperty(String key)
           
 String getTypeSettingsProperty(String key, String defaultValue)
           
 ColorScheme getWapColorScheme()
           
 Theme getWapTheme()
           
 boolean hasChildren()
           
 boolean isContentDisplayPage()
           
 boolean isInheritLookAndFeel()
           
 boolean isInheritWapLookAndFeel()
           
 void setTypeSettings(String typeSettings)
          Sets the type settings of this layout revision.
 void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
           
 
Methods inherited from class com.liferay.portal.model.impl.LayoutRevisionBaseImpl
persist
 
Methods inherited from class com.liferay.portal.model.impl.LayoutRevisionModelImpl
clone, compareTo, equals, getApproved, getAvailableLanguageIds, getColorSchemeId, getColumnBitmask, getCompanyId, getCreateDate, getCss, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getHead, getIconImage, getIconImageId, getKeywords, getKeywords, getKeywords, getKeywords, getKeywords, getKeywordsCurrentLanguageId, getKeywordsCurrentValue, getKeywordsMap, getLayoutBranchId, getLayoutRevisionId, getLayoutSetBranchId, getMajor, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, 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, isApproved, isDenied, isDraft, isExpired, isHead, isIconImage, isInactive, isIncomplete, isMajor, isPending, isPrivateLayout, isScheduled, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, resetOriginalValues, setColorSchemeId, setCompanyId, setCreateDate, setCss, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setGroupId, setHead, setIconImage, setIconImageId, setKeywords, setKeywords, setKeywords, setKeywordsCurrentLanguageId, setKeywordsMap, setKeywordsMap, setLayoutBranchId, setLayoutRevisionId, setLayoutSetBranchId, setMajor, setModelAttributes, setModifiedDate, 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 class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.LayoutRevisionModel
clone, compareTo, getApproved, getAvailableLanguageIds, getColorSchemeId, getCompanyId, getCreateDate, getCss, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getHead, getIconImage, getIconImageId, getKeywords, getKeywords, getKeywords, getKeywords, getKeywords, getKeywordsCurrentLanguageId, getKeywordsCurrentValue, getKeywordsMap, getLayoutBranchId, getLayoutRevisionId, getLayoutSetBranchId, getMajor, getModifiedDate, 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, isIconImage, 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, setIconImage, setIconImageId, setKeywords, setKeywords, setKeywords, setKeywordsCurrentLanguageId, setKeywordsMap, setKeywordsMap, setLayoutBranchId, setLayoutRevisionId, setLayoutSetBranchId, setMajor, setModifiedDate, 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
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

LayoutRevisionImpl

public LayoutRevisionImpl()
Method Detail

getChildren

public List<LayoutRevision> getChildren()
                                 throws SystemException
Throws:
SystemException

getColorScheme

public ColorScheme getColorScheme()
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getCssText

public String getCssText()
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

getHTMLTitle

public String getHTMLTitle(Locale locale)

getHTMLTitle

public String getHTMLTitle(String localeLanguageId)

getLayoutBranch

public LayoutBranch getLayoutBranch()
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getLayoutSet

public LayoutSet getLayoutSet()
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getRegularURL

public String getRegularURL(javax.servlet.http.HttpServletRequest request)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getTheme

public Theme getTheme()
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

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,
                                     SystemException
Throws:
PortalException
SystemException

getWapTheme

public Theme getWapTheme()
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

hasChildren

public boolean hasChildren()
                    throws SystemException
Throws:
SystemException

isContentDisplayPage

public boolean isContentDisplayPage()

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,
                         SystemException
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5