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