1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.model;
16  
17  import java.io.IOException;
18  import java.io.Serializable;
19  
20  import java.util.List;
21  
22  import javax.servlet.ServletContext;
23  
24  /**
25   * <a href="LayoutTemplate.java.html"><b><i>View Source</i></b></a>
26   *
27   * @author Brian Wing Shun Chan
28   */
29  public interface LayoutTemplate
30      extends Comparable<LayoutTemplate>, Plugin, Serializable {
31  
32      public String getLayoutTemplateId();
33  
34      public boolean getStandard();
35  
36      public boolean isStandard();
37  
38      public void setStandard(boolean standard);
39  
40      public String getThemeId();
41  
42      public void setThemeId(String themeId);
43  
44      public String getName();
45  
46      public void setName(String name);
47  
48      public String getTemplatePath();
49  
50      public void setTemplatePath(String templatePath);
51  
52      public String getWapTemplatePath();
53  
54      public void setWapTemplatePath(String wapWapTemplatePath);
55  
56      public String getThumbnailPath();
57  
58      public void setThumbnailPath(String thumbnailPath);
59  
60      public String getContent();
61  
62      public void setContent(String content);
63  
64      public boolean hasSetContent();
65  
66      public String getUncachedContent() throws IOException;
67  
68      public String getWapContent();
69  
70      public void setWapContent(String wapContent);
71  
72      public boolean hasSetWapContent();
73  
74      public String getUncachedWapContent() throws IOException;
75  
76      public List<String> getColumns();
77  
78      public void setColumns(List<String> columns);
79  
80      public void setServletContext(ServletContext servletContext);
81  
82      public String getServletContextName();
83  
84      public void setServletContextName(String servletContextName);
85  
86      public boolean getWARFile();
87  
88      public boolean isWARFile();
89  
90      public String getContextPath();
91  
92  }