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 com.liferay.portal.kernel.annotation.AutoEscape;
18  import com.liferay.portal.service.ServiceContext;
19  
20  import com.liferay.portlet.expando.model.ExpandoBridge;
21  
22  import java.io.Serializable;
23  
24  /**
25   * <a href="LayoutModel.java.html"><b><i>View Source</i></b></a>
26   *
27   * <p>
28   * ServiceBuilder generated this class. Modifications in this class will be
29   * overwritten the next time is generated.
30   * </p>
31   *
32   * <p>
33   * This interface is a model that represents the Layout table in the
34   * database.
35   * </p>
36   *
37   * @author    Brian Wing Shun Chan
38   * @see       Layout
39   * @see       com.liferay.portal.model.impl.LayoutImpl
40   * @see       com.liferay.portal.model.impl.LayoutModelImpl
41   * @generated
42   */
43  public interface LayoutModel extends BaseModel<Layout> {
44      public long getPrimaryKey();
45  
46      public void setPrimaryKey(long pk);
47  
48      public long getPlid();
49  
50      public void setPlid(long plid);
51  
52      public long getGroupId();
53  
54      public void setGroupId(long groupId);
55  
56      public long getCompanyId();
57  
58      public void setCompanyId(long companyId);
59  
60      public boolean getPrivateLayout();
61  
62      public boolean isPrivateLayout();
63  
64      public void setPrivateLayout(boolean privateLayout);
65  
66      public long getLayoutId();
67  
68      public void setLayoutId(long layoutId);
69  
70      public long getParentLayoutId();
71  
72      public void setParentLayoutId(long parentLayoutId);
73  
74      @AutoEscape
75      public String getName();
76  
77      public void setName(String name);
78  
79      @AutoEscape
80      public String getTitle();
81  
82      public void setTitle(String title);
83  
84      @AutoEscape
85      public String getDescription();
86  
87      public void setDescription(String description);
88  
89      @AutoEscape
90      public String getType();
91  
92      public void setType(String type);
93  
94      @AutoEscape
95      public String getTypeSettings();
96  
97      public void setTypeSettings(String typeSettings);
98  
99      public boolean getHidden();
100 
101     public boolean isHidden();
102 
103     public void setHidden(boolean hidden);
104 
105     @AutoEscape
106     public String getFriendlyURL();
107 
108     public void setFriendlyURL(String friendlyURL);
109 
110     public boolean getIconImage();
111 
112     public boolean isIconImage();
113 
114     public void setIconImage(boolean iconImage);
115 
116     public long getIconImageId();
117 
118     public void setIconImageId(long iconImageId);
119 
120     @AutoEscape
121     public String getThemeId();
122 
123     public void setThemeId(String themeId);
124 
125     @AutoEscape
126     public String getColorSchemeId();
127 
128     public void setColorSchemeId(String colorSchemeId);
129 
130     @AutoEscape
131     public String getWapThemeId();
132 
133     public void setWapThemeId(String wapThemeId);
134 
135     @AutoEscape
136     public String getWapColorSchemeId();
137 
138     public void setWapColorSchemeId(String wapColorSchemeId);
139 
140     @AutoEscape
141     public String getCss();
142 
143     public void setCss(String css);
144 
145     public int getPriority();
146 
147     public void setPriority(int priority);
148 
149     public long getDlFolderId();
150 
151     public void setDlFolderId(long dlFolderId);
152 
153     public boolean isNew();
154 
155     public boolean setNew(boolean n);
156 
157     public boolean isCachedModel();
158 
159     public void setCachedModel(boolean cachedModel);
160 
161     public boolean isEscapedModel();
162 
163     public void setEscapedModel(boolean escapedModel);
164 
165     public Serializable getPrimaryKeyObj();
166 
167     public ExpandoBridge getExpandoBridge();
168 
169     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
170 
171     public Object clone();
172 
173     public int compareTo(Layout layout);
174 
175     public int hashCode();
176 
177     public Layout toEscapedModel();
178 
179     public String toString();
180 
181     public String toXmlString();
182 }