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    import com.liferay.portal.kernel.util.UnicodeProperties;
020    
021    import java.io.Serializable;
022    
023    import java.util.Map;
024    
025    /**
026     * @author Brian Wing Shun Chan
027     * @author Raymond Aug??
028     */
029    @ProviderType
030    public interface LayoutType extends Serializable {
031    
032            public String[] getConfigurationActionDelete();
033    
034            public String[] getConfigurationActionUpdate();
035    
036            public Layout getLayout();
037    
038            public LayoutTypeAccessPolicy getLayoutTypeAccessPolicy();
039    
040            public LayoutTypeController getLayoutTypeController();
041    
042            public UnicodeProperties getTypeSettingsProperties();
043    
044            public String getTypeSettingsProperty(String key);
045    
046            public String getTypeSettingsProperty(String key, String defaultValue);
047    
048            public String getURL(Map<String, String> variables);
049    
050            public boolean isBrowsable();
051    
052            public boolean isFirstPageable();
053    
054            public boolean isParentable();
055    
056            public boolean isSitemapable();
057    
058            public boolean isURLFriendliable();
059    
060            /**
061             * @deprecated As of 7.0.0, with no direct replacement
062             */
063            @Deprecated
064            public void setLayout(Layout layout);
065    
066            public void setTypeSettingsProperty(String key, String value);
067    
068    }