001    /**
002     * Copyright (c) 2000-2013 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 java.io.IOException;
018    import java.io.Serializable;
019    
020    import java.util.List;
021    
022    import javax.servlet.ServletContext;
023    
024    /**
025     * @author Brian Wing Shun Chan
026     */
027    public interface LayoutTemplate
028            extends Comparable<LayoutTemplate>, Plugin, Serializable {
029    
030            public List<String> getColumns();
031    
032            public String getContent();
033    
034            public String getContextPath();
035    
036            public String getLayoutTemplateId();
037    
038            public String getName();
039    
040            public String getServletContextName();
041    
042            public boolean getStandard();
043    
044            public String getStaticResourcePath();
045    
046            public String getTemplatePath();
047    
048            public String getThemeId();
049    
050            public String getThumbnailPath();
051    
052            public String getUncachedContent() throws IOException;
053    
054            public String getUncachedWapContent() throws IOException;
055    
056            public String getWapContent();
057    
058            public String getWapTemplatePath();
059    
060            public boolean getWARFile();
061    
062            public boolean hasSetContent();
063    
064            public boolean hasSetWapContent();
065    
066            public boolean isStandard();
067    
068            public boolean isWARFile();
069    
070            public void setColumns(List<String> columns);
071    
072            public void setContent(String content);
073    
074            public void setName(String name);
075    
076            public void setServletContext(ServletContext servletContext);
077    
078            public void setServletContextName(String servletContextName);
079    
080            public void setStandard(boolean standard);
081    
082            public void setTemplatePath(String templatePath);
083    
084            public void setThemeId(String themeId);
085    
086            public void setThumbnailPath(String thumbnailPath);
087    
088            public void setWapContent(String wapContent);
089    
090            public void setWapTemplatePath(String wapWapTemplatePath);
091    
092    }