001 /** 002 * Copyright (c) 2000-2011 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 com.liferay.portal.kernel.bean.AutoEscape; 018 import com.liferay.portal.service.ServiceContext; 019 020 import com.liferay.portlet.expando.model.ExpandoBridge; 021 022 import java.io.Serializable; 023 024 /** 025 * The base model interface for the LayoutSet service. Represents a row in the "LayoutSet" database table, with each column mapped to a property of this class. 026 * 027 * <p> 028 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.LayoutSetModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.LayoutSetImpl}. 029 * </p> 030 * 031 * @author Brian Wing Shun Chan 032 * @see LayoutSet 033 * @see com.liferay.portal.model.impl.LayoutSetImpl 034 * @see com.liferay.portal.model.impl.LayoutSetModelImpl 035 * @generated 036 */ 037 public interface LayoutSetModel extends BaseModel<LayoutSet> { 038 /* 039 * NOTE FOR DEVELOPERS: 040 * 041 * Never modify or reference this interface directly. All methods that expect a layout set model instance should use the {@link LayoutSet} interface instead. 042 */ 043 044 /** 045 * Returns the primary key of this layout set. 046 * 047 * @return the primary key of this layout set 048 */ 049 public long getPrimaryKey(); 050 051 /** 052 * Sets the primary key of this layout set. 053 * 054 * @param primaryKey the primary key of this layout set 055 */ 056 public void setPrimaryKey(long primaryKey); 057 058 /** 059 * Returns the layout set ID of this layout set. 060 * 061 * @return the layout set ID of this layout set 062 */ 063 public long getLayoutSetId(); 064 065 /** 066 * Sets the layout set ID of this layout set. 067 * 068 * @param layoutSetId the layout set ID of this layout set 069 */ 070 public void setLayoutSetId(long layoutSetId); 071 072 /** 073 * Returns the group ID of this layout set. 074 * 075 * @return the group ID of this layout set 076 */ 077 public long getGroupId(); 078 079 /** 080 * Sets the group ID of this layout set. 081 * 082 * @param groupId the group ID of this layout set 083 */ 084 public void setGroupId(long groupId); 085 086 /** 087 * Returns the company ID of this layout set. 088 * 089 * @return the company ID of this layout set 090 */ 091 public long getCompanyId(); 092 093 /** 094 * Sets the company ID of this layout set. 095 * 096 * @param companyId the company ID of this layout set 097 */ 098 public void setCompanyId(long companyId); 099 100 /** 101 * Returns the private layout of this layout set. 102 * 103 * @return the private layout of this layout set 104 */ 105 public boolean getPrivateLayout(); 106 107 /** 108 * Returns <code>true</code> if this layout set is private layout. 109 * 110 * @return <code>true</code> if this layout set is private layout; <code>false</code> otherwise 111 */ 112 public boolean isPrivateLayout(); 113 114 /** 115 * Sets whether this layout set is private layout. 116 * 117 * @param privateLayout the private layout of this layout set 118 */ 119 public void setPrivateLayout(boolean privateLayout); 120 121 /** 122 * Returns the logo of this layout set. 123 * 124 * @return the logo of this layout set 125 */ 126 public boolean getLogo(); 127 128 /** 129 * Returns <code>true</code> if this layout set is logo. 130 * 131 * @return <code>true</code> if this layout set is logo; <code>false</code> otherwise 132 */ 133 public boolean isLogo(); 134 135 /** 136 * Sets whether this layout set is logo. 137 * 138 * @param logo the logo of this layout set 139 */ 140 public void setLogo(boolean logo); 141 142 /** 143 * Returns the logo ID of this layout set. 144 * 145 * @return the logo ID of this layout set 146 */ 147 public long getLogoId(); 148 149 /** 150 * Sets the logo ID of this layout set. 151 * 152 * @param logoId the logo ID of this layout set 153 */ 154 public void setLogoId(long logoId); 155 156 /** 157 * Returns the theme ID of this layout set. 158 * 159 * @return the theme ID of this layout set 160 */ 161 @AutoEscape 162 public String getThemeId(); 163 164 /** 165 * Sets the theme ID of this layout set. 166 * 167 * @param themeId the theme ID of this layout set 168 */ 169 public void setThemeId(String themeId); 170 171 /** 172 * Returns the color scheme ID of this layout set. 173 * 174 * @return the color scheme ID of this layout set 175 */ 176 @AutoEscape 177 public String getColorSchemeId(); 178 179 /** 180 * Sets the color scheme ID of this layout set. 181 * 182 * @param colorSchemeId the color scheme ID of this layout set 183 */ 184 public void setColorSchemeId(String colorSchemeId); 185 186 /** 187 * Returns the wap theme ID of this layout set. 188 * 189 * @return the wap theme ID of this layout set 190 */ 191 @AutoEscape 192 public String getWapThemeId(); 193 194 /** 195 * Sets the wap theme ID of this layout set. 196 * 197 * @param wapThemeId the wap theme ID of this layout set 198 */ 199 public void setWapThemeId(String wapThemeId); 200 201 /** 202 * Returns the wap color scheme ID of this layout set. 203 * 204 * @return the wap color scheme ID of this layout set 205 */ 206 @AutoEscape 207 public String getWapColorSchemeId(); 208 209 /** 210 * Sets the wap color scheme ID of this layout set. 211 * 212 * @param wapColorSchemeId the wap color scheme ID of this layout set 213 */ 214 public void setWapColorSchemeId(String wapColorSchemeId); 215 216 /** 217 * Returns the css of this layout set. 218 * 219 * @return the css of this layout set 220 */ 221 @AutoEscape 222 public String getCss(); 223 224 /** 225 * Sets the css of this layout set. 226 * 227 * @param css the css of this layout set 228 */ 229 public void setCss(String css); 230 231 /** 232 * Returns the page count of this layout set. 233 * 234 * @return the page count of this layout set 235 */ 236 public int getPageCount(); 237 238 /** 239 * Sets the page count of this layout set. 240 * 241 * @param pageCount the page count of this layout set 242 */ 243 public void setPageCount(int pageCount); 244 245 /** 246 * Returns the settings of this layout set. 247 * 248 * @return the settings of this layout set 249 */ 250 @AutoEscape 251 public String getSettings(); 252 253 /** 254 * Sets the settings of this layout set. 255 * 256 * @param settings the settings of this layout set 257 */ 258 public void setSettings(String settings); 259 260 /** 261 * Returns the layout set prototype uuid of this layout set. 262 * 263 * @return the layout set prototype uuid of this layout set 264 */ 265 @AutoEscape 266 public String getLayoutSetPrototypeUuid(); 267 268 /** 269 * Sets the layout set prototype uuid of this layout set. 270 * 271 * @param layoutSetPrototypeUuid the layout set prototype uuid of this layout set 272 */ 273 public void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid); 274 275 /** 276 * Returns the layout set prototype link enabled of this layout set. 277 * 278 * @return the layout set prototype link enabled of this layout set 279 */ 280 public boolean getLayoutSetPrototypeLinkEnabled(); 281 282 /** 283 * Returns <code>true</code> if this layout set is layout set prototype link enabled. 284 * 285 * @return <code>true</code> if this layout set is layout set prototype link enabled; <code>false</code> otherwise 286 */ 287 public boolean isLayoutSetPrototypeLinkEnabled(); 288 289 /** 290 * Sets whether this layout set is layout set prototype link enabled. 291 * 292 * @param layoutSetPrototypeLinkEnabled the layout set prototype link enabled of this layout set 293 */ 294 public void setLayoutSetPrototypeLinkEnabled( 295 boolean layoutSetPrototypeLinkEnabled); 296 297 public boolean isNew(); 298 299 public void setNew(boolean n); 300 301 public boolean isCachedModel(); 302 303 public void setCachedModel(boolean cachedModel); 304 305 public boolean isEscapedModel(); 306 307 public Serializable getPrimaryKeyObj(); 308 309 public void setPrimaryKeyObj(Serializable primaryKeyObj); 310 311 public ExpandoBridge getExpandoBridge(); 312 313 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 314 315 public Object clone(); 316 317 public int compareTo(LayoutSet layoutSet); 318 319 public int hashCode(); 320 321 public CacheModel<LayoutSet> toCacheModel(); 322 323 public LayoutSet toEscapedModel(); 324 325 public String toString(); 326 327 public String toXmlString(); 328 }