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            * @throws SystemException if a system exception occurred
047            */
048            public com.liferay.portal.model.ColorScheme getColorScheme();
049    
050            /**
051            * Returns the layout set's group.
052            *
053            * @return the layout set's group
054            * @throws PortalException if a group with the primary key could not be
055            found
056            * @throws SystemException if a system exception occurred
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 layout
063            * 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 layout
070            set prototype
071            * @throws PortalException if a matching layout set prototype could not be
072            found
073            * @throws SystemException if a system exception occurred
074            */
075            public long getLayoutSetPrototypeId()
076                    throws com.liferay.portal.kernel.exception.PortalException;
077    
078            public long getLiveLogoId();
079    
080            public boolean getLogo();
081    
082            public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties();
083    
084            public java.lang.String getSettingsProperty(java.lang.String key);
085    
086            public com.liferay.portal.model.Theme getTheme();
087    
088            public java.lang.String getThemeSetting(java.lang.String key,
089                    java.lang.String device);
090    
091            /**
092            * Returns the name of the layout set's virtual host.
093            *
094            * <p>
095            * When accessing a layout set that has a the virtual host, the URL elements
096            * "/web/sitename" or "/group/sitename" can be omitted.
097            * </p>
098            *
099            * @return the layout set's virtual host name, or an empty string if the layout
100            set has no virtual host configured
101            */
102            public java.lang.String getVirtualHostname();
103    
104            public com.liferay.portal.model.ColorScheme getWapColorScheme();
105    
106            public com.liferay.portal.model.Theme getWapTheme();
107    
108            public boolean isLayoutSetPrototypeLinkActive();
109    
110            public boolean isLogo();
111    
112            public void setSettingsProperties(
113                    com.liferay.portal.kernel.util.UnicodeProperties settingsProperties);
114    
115            /**
116            * Sets the name of the layout set's virtual host.
117            *
118            * @param virtualHostname the name of the layout set's virtual host
119            * @see #getVirtualHostname()
120            */
121            public void setVirtualHostname(java.lang.String virtualHostname);
122    }