Interface LayoutSet

All Superinterfaces:
BaseModel<LayoutSet>, ClassedModel, Cloneable, Comparable<LayoutSet>, CTModel<LayoutSet>, LayoutSetModel, MVCCModel, PersistedModel, Serializable, ShardedModel
All Known Implementing Classes:
LayoutSetWrapper

@ProviderType public interface LayoutSet extends LayoutSetModel, PersistedModel
The extended model interface for the LayoutSet service. Represents a row in the "LayoutSet" database table, with each column mapped to a property of this class.
Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Field Details

  • Method Details

    • getColorScheme

      ColorScheme getColorScheme()
      Returns the layout set's color scheme.

      Just like themes, color schemes can be configured on the layout set level. The layout set's color scheme can be overridden on the layout level.

      Returns:
      the layout set's color scheme
    • getCompanyFallbackVirtualHostname

      String getCompanyFallbackVirtualHostname()
    • getFaviconURL

      String getFaviconURL()
    • getGroup

      Group getGroup() throws PortalException
      Returns the layout set's group.
      Returns:
      the layout set's group
      Throws:
      PortalException
    • getLayoutSetPrototypeId

      long getLayoutSetPrototypeId() throws PortalException
      Returns the layout set prototype's ID, or 0 if it has no layout set prototype.

      Prototype is Liferay's technical name for a site template.

      Returns:
      the layout set prototype's ID, or 0 if it has no layout set prototype
      Throws:
      PortalException
    • getLiveLogoId

      long getLiveLogoId()
    • getLogo

      boolean getLogo()
    • getMergeFailFriendlyURLLayouts

      List<Layout> getMergeFailFriendlyURLLayouts()
    • getPageCount

      int getPageCount()
    • getSettingsProperties

      UnicodeProperties getSettingsProperties()
    • getSettingsProperty

      String getSettingsProperty(String key)
    • getTheme

      Theme getTheme()
    • getThemeSetting

      String getThemeSetting(String key, String device)
    • getVirtualHostnames

      TreeMap<String,String> getVirtualHostnames()
      Returns the names of the layout set's virtual hosts.

      When accessing a layout set that has a virtual host, the URL elements "/web/sitename" or "/group/sitename" can be omitted.

      Returns:
      a map from the layout set's virtual host names to the language ids configured for them. If the virtual host is configured for the default language, it will map to the empty string instead of a language id. If the layout set has no virtual hosts configured, the returned map will be empty.
    • hasSetModifiedDate

      boolean hasSetModifiedDate()
    • isLayoutSetPrototypeLinkActive

      boolean isLayoutSetPrototypeLinkActive()
    • isLayoutSetPrototypeUpdateable

      boolean isLayoutSetPrototypeUpdateable()
    • isLayoutSetReadyForPropagation

      boolean isLayoutSetReadyForPropagation()
    • isLogo

      boolean isLogo()
    • setCompanyFallbackVirtualHostname

      void setCompanyFallbackVirtualHostname(String companyFallbackVirtualHostname)
    • setSettingsProperties

      void setSettingsProperties(UnicodeProperties settingsUnicodeProperties)
    • setVirtualHostnames

      void setVirtualHostnames(TreeMap<String,String> virtualHostnames)
      Sets the names of the layout set's virtual host name and language IDs.
      Parameters:
      virtualHostnames - the map of the layout set's virtual host name and language IDs
      See Also: