001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * 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.
021     *
022     * @author Brian Wing Shun Chan
023     * @see LayoutSetModel
024     * @see com.liferay.portal.model.impl.LayoutSetImpl
025     * @see com.liferay.portal.model.impl.LayoutSetModelImpl
026     * @generated
027     */
028    @ProviderType
029    public interface LayoutSet extends LayoutSetModel, PersistedModel {
030            /*
031             * NOTE FOR DEVELOPERS:
032             *
033             * Never modify this interface directly. Add methods to {@link com.liferay.portal.model.impl.LayoutSetImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
034             */
035    
036            /**
037            * Returns the layout set's color scheme.
038            *
039            * <p>
040            * Just like themes, color schemes can be configured on the layout set
041            * level. The layout set's color scheme can be overridden on the layout
042            * level.
043            * </p>
044            *
045            * @return the layout set's color scheme
046            */
047            public com.liferay.portal.model.ColorScheme getColorScheme();
048    
049            public java.lang.String getCompanyFallbackVirtualHostname();
050    
051            /**
052            * Returns the layout set's group.
053            *
054            * @return the layout set's group
055            * @throws PortalException if a group with the primary key could not be
056            found
057            */
058            public com.liferay.portal.model.Group getGroup()
059                    throws com.liferay.portal.kernel.exception.PortalException;
060    
061            /**
062            * Returns the layout set prototype's ID, or <code>0</code> if it has no
063            * layout set prototype.
064            *
065            * <p>
066            * Prototype is Liferay's technical name for a site template.
067            * </p>
068            *
069            * @return the layout set prototype's ID, or <code>0</code> if it has no
070            layout set prototype
071            * @throws PortalException if a matching layout set prototype could not be
072            found
073            */
074            public long getLayoutSetPrototypeId()
075                    throws com.liferay.portal.kernel.exception.PortalException;
076    
077            public long getLiveLogoId();
078    
079            public boolean getLogo();
080    
081            public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties();
082    
083            public java.lang.String getSettingsProperty(java.lang.String key);
084    
085            public com.liferay.portal.model.Theme getTheme();
086    
087            public java.lang.String getThemeSetting(java.lang.String key,
088                    java.lang.String device);
089    
090            /**
091            * Returns the name of the layout set's virtual host.
092            *
093            * <p>
094            * When accessing a layout set that has a the virtual host, the URL elements
095            * "/web/sitename" or "/group/sitename" can be omitted.
096            * </p>
097            *
098            * @return the layout set's virtual host name, or an empty string if the
099            layout set has no virtual host configured
100            */
101            public java.lang.String getVirtualHostname();
102    
103            public com.liferay.portal.model.ColorScheme getWapColorScheme();
104    
105            public com.liferay.portal.model.Theme getWapTheme();
106    
107            public boolean isLayoutSetPrototypeLinkActive();
108    
109            public boolean isLogo();
110    
111            public void setCompanyFallbackVirtualHostname(
112                    java.lang.String companyFallbackVirtualHostname);
113    
114            public void setSettingsProperties(
115                    com.liferay.portal.kernel.util.UnicodeProperties settingsProperties);
116    
117            /**
118            * Sets the name of the layout set's virtual host.
119            *
120            * @param virtualHostname the name of the layout set's virtual host
121            * @see #getVirtualHostname()
122            */
123            public void setVirtualHostname(java.lang.String virtualHostname);
124    }