1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
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 getLayoutPrototypeId();
150 
151     public void setLayoutPrototypeId(long layoutPrototypeId);
152 
153     public long getDlFolderId();
154 
155     public void setDlFolderId(long dlFolderId);
156 
157     public Layout toEscapedModel();
158 
159     public boolean isNew();
160 
161     public boolean setNew(boolean n);
162 
163     public boolean isCachedModel();
164 
165     public void setCachedModel(boolean cachedModel);
166 
167     public boolean isEscapedModel();
168 
169     public void setEscapedModel(boolean escapedModel);
170 
171     public Serializable getPrimaryKeyObj();
172 
173     public ExpandoBridge getExpandoBridge();
174 
175     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
176 
177     public Object clone();
178 
179     public int compareTo(Layout layout);
180 
181     public int hashCode();
182 
183     public String toString();
184 
185     public String toXmlString();
186 }