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.kernel.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.annotation.ImplementationClassName;
020    import com.liferay.portal.kernel.util.Accessor;
021    
022    /**
023     * The extended model interface for the LayoutRevision service. Represents a row in the "LayoutRevision" database table, with each column mapped to a property of this class.
024     *
025     * @author Brian Wing Shun Chan
026     * @see LayoutRevisionModel
027     * @see com.liferay.portal.model.impl.LayoutRevisionImpl
028     * @see com.liferay.portal.model.impl.LayoutRevisionModelImpl
029     * @generated
030     */
031    @ImplementationClassName("com.liferay.portal.model.impl.LayoutRevisionImpl")
032    @ProviderType
033    public interface LayoutRevision extends LayoutRevisionModel, PersistedModel {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify this interface directly. Add methods to {@link com.liferay.portal.model.impl.LayoutRevisionImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
038             */
039            public static final Accessor<LayoutRevision, Long> LAYOUT_REVISION_ID_ACCESSOR =
040                    new Accessor<LayoutRevision, Long>() {
041                            @Override
042                            public Long get(LayoutRevision layoutRevision) {
043                                    return layoutRevision.getLayoutRevisionId();
044                            }
045    
046                            @Override
047                            public Class<Long> getAttributeClass() {
048                                    return Long.class;
049                            }
050    
051                            @Override
052                            public Class<LayoutRevision> getTypeClass() {
053                                    return LayoutRevision.class;
054                            }
055                    };
056    
057            public java.util.List<com.liferay.portal.kernel.model.LayoutRevision> getChildren();
058    
059            public com.liferay.portal.kernel.model.ColorScheme getColorScheme()
060                    throws com.liferay.portal.kernel.exception.PortalException;
061    
062            public java.lang.String getCssText()
063                    throws com.liferay.portal.kernel.exception.PortalException;
064    
065            public java.lang.String getHTMLTitle(java.util.Locale locale);
066    
067            public java.lang.String getHTMLTitle(java.lang.String localeLanguageId);
068    
069            public boolean getIconImage();
070    
071            public com.liferay.portal.kernel.model.LayoutBranch getLayoutBranch()
072                    throws com.liferay.portal.kernel.exception.PortalException;
073    
074            public com.liferay.portal.kernel.model.LayoutSet getLayoutSet()
075                    throws com.liferay.portal.kernel.exception.PortalException;
076    
077            public java.lang.String getRegularURL(
078                    javax.servlet.http.HttpServletRequest request)
079                    throws com.liferay.portal.kernel.exception.PortalException;
080    
081            public com.liferay.portal.kernel.model.Theme getTheme()
082                    throws com.liferay.portal.kernel.exception.PortalException;
083    
084            public java.lang.String getThemeSetting(java.lang.String key,
085                    java.lang.String device);
086    
087            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
088    
089            public java.lang.String getTypeSettingsProperty(java.lang.String key);
090    
091            public java.lang.String getTypeSettingsProperty(java.lang.String key,
092                    java.lang.String defaultValue);
093    
094            public boolean hasChildren();
095    
096            public boolean isContentDisplayPage();
097    
098            public boolean isIconImage();
099    
100            public boolean isInheritLookAndFeel();
101    
102            public void setTypeSettingsProperties(
103                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
104    }