001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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 String getLayoutTemplateId();
031    
032            public boolean getStandard();
033    
034            public boolean isStandard();
035    
036            public void setStandard(boolean standard);
037    
038            public String getThemeId();
039    
040            public void setThemeId(String themeId);
041    
042            public String getName();
043    
044            public void setName(String name);
045    
046            public String getTemplatePath();
047    
048            public void setTemplatePath(String templatePath);
049    
050            public String getWapTemplatePath();
051    
052            public void setWapTemplatePath(String wapWapTemplatePath);
053    
054            public String getThumbnailPath();
055    
056            public void setThumbnailPath(String thumbnailPath);
057    
058            public String getContent();
059    
060            public void setContent(String content);
061    
062            public boolean hasSetContent();
063    
064            public String getUncachedContent() throws IOException;
065    
066            public String getWapContent();
067    
068            public void setWapContent(String wapContent);
069    
070            public boolean hasSetWapContent();
071    
072            public String getUncachedWapContent() throws IOException;
073    
074            public List<String> getColumns();
075    
076            public void setColumns(List<String> columns);
077    
078            public void setServletContext(ServletContext servletContext);
079    
080            public String getServletContextName();
081    
082            public void setServletContextName(String servletContextName);
083    
084            public boolean getWARFile();
085    
086            public boolean isWARFile();
087    
088            public String getContextPath();
089    
090    }