001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portal.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.service.ServiceContext; 021 022 import com.liferay.portlet.expando.model.ExpandoBridge; 023 024 import java.io.Serializable; 025 026 import java.util.Date; 027 028 /** 029 * 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. 030 * 031 * <p> 032 * 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}. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see LayoutSet 037 * @see com.liferay.portal.model.impl.LayoutSetImpl 038 * @see com.liferay.portal.model.impl.LayoutSetModelImpl 039 * @generated 040 */ 041 @ProviderType 042 public interface LayoutSetModel extends BaseModel<LayoutSet> { 043 /* 044 * NOTE FOR DEVELOPERS: 045 * 046 * Never modify or reference this interface directly. All methods that expect a layout set model instance should use the {@link LayoutSet} interface instead. 047 */ 048 049 /** 050 * Returns the primary key of this layout set. 051 * 052 * @return the primary key of this layout set 053 */ 054 public long getPrimaryKey(); 055 056 /** 057 * Sets the primary key of this layout set. 058 * 059 * @param primaryKey the primary key of this layout set 060 */ 061 public void setPrimaryKey(long primaryKey); 062 063 /** 064 * Returns the layout set ID of this layout set. 065 * 066 * @return the layout set ID of this layout set 067 */ 068 public long getLayoutSetId(); 069 070 /** 071 * Sets the layout set ID of this layout set. 072 * 073 * @param layoutSetId the layout set ID of this layout set 074 */ 075 public void setLayoutSetId(long layoutSetId); 076 077 /** 078 * Returns the group ID of this layout set. 079 * 080 * @return the group ID of this layout set 081 */ 082 public long getGroupId(); 083 084 /** 085 * Sets the group ID of this layout set. 086 * 087 * @param groupId the group ID of this layout set 088 */ 089 public void setGroupId(long groupId); 090 091 /** 092 * Returns the company ID of this layout set. 093 * 094 * @return the company ID of this layout set 095 */ 096 public long getCompanyId(); 097 098 /** 099 * Sets the company ID of this layout set. 100 * 101 * @param companyId the company ID of this layout set 102 */ 103 public void setCompanyId(long companyId); 104 105 /** 106 * Returns the create date of this layout set. 107 * 108 * @return the create date of this layout set 109 */ 110 public Date getCreateDate(); 111 112 /** 113 * Sets the create date of this layout set. 114 * 115 * @param createDate the create date of this layout set 116 */ 117 public void setCreateDate(Date createDate); 118 119 /** 120 * Returns the modified date of this layout set. 121 * 122 * @return the modified date of this layout set 123 */ 124 public Date getModifiedDate(); 125 126 /** 127 * Sets the modified date of this layout set. 128 * 129 * @param modifiedDate the modified date of this layout set 130 */ 131 public void setModifiedDate(Date modifiedDate); 132 133 /** 134 * Returns the private layout of this layout set. 135 * 136 * @return the private layout of this layout set 137 */ 138 public boolean getPrivateLayout(); 139 140 /** 141 * Returns <code>true</code> if this layout set is private layout. 142 * 143 * @return <code>true</code> if this layout set is private layout; <code>false</code> otherwise 144 */ 145 public boolean isPrivateLayout(); 146 147 /** 148 * Sets whether this layout set is private layout. 149 * 150 * @param privateLayout the private layout of this layout set 151 */ 152 public void setPrivateLayout(boolean privateLayout); 153 154 /** 155 * Returns the logo of this layout set. 156 * 157 * @return the logo of this layout set 158 */ 159 public boolean getLogo(); 160 161 /** 162 * Returns <code>true</code> if this layout set is logo. 163 * 164 * @return <code>true</code> if this layout set is logo; <code>false</code> otherwise 165 */ 166 public boolean isLogo(); 167 168 /** 169 * Sets whether this layout set is logo. 170 * 171 * @param logo the logo of this layout set 172 */ 173 public void setLogo(boolean logo); 174 175 /** 176 * Returns the logo ID of this layout set. 177 * 178 * @return the logo ID of this layout set 179 */ 180 public long getLogoId(); 181 182 /** 183 * Sets the logo ID of this layout set. 184 * 185 * @param logoId the logo ID of this layout set 186 */ 187 public void setLogoId(long logoId); 188 189 /** 190 * Returns the theme ID of this layout set. 191 * 192 * @return the theme ID of this layout set 193 */ 194 @AutoEscape 195 public String getThemeId(); 196 197 /** 198 * Sets the theme ID of this layout set. 199 * 200 * @param themeId the theme ID of this layout set 201 */ 202 public void setThemeId(String themeId); 203 204 /** 205 * Returns the color scheme ID of this layout set. 206 * 207 * @return the color scheme ID of this layout set 208 */ 209 @AutoEscape 210 public String getColorSchemeId(); 211 212 /** 213 * Sets the color scheme ID of this layout set. 214 * 215 * @param colorSchemeId the color scheme ID of this layout set 216 */ 217 public void setColorSchemeId(String colorSchemeId); 218 219 /** 220 * Returns the wap theme ID of this layout set. 221 * 222 * @return the wap theme ID of this layout set 223 */ 224 @AutoEscape 225 public String getWapThemeId(); 226 227 /** 228 * Sets the wap theme ID of this layout set. 229 * 230 * @param wapThemeId the wap theme ID of this layout set 231 */ 232 public void setWapThemeId(String wapThemeId); 233 234 /** 235 * Returns the wap color scheme ID of this layout set. 236 * 237 * @return the wap color scheme ID of this layout set 238 */ 239 @AutoEscape 240 public String getWapColorSchemeId(); 241 242 /** 243 * Sets the wap color scheme ID of this layout set. 244 * 245 * @param wapColorSchemeId the wap color scheme ID of this layout set 246 */ 247 public void setWapColorSchemeId(String wapColorSchemeId); 248 249 /** 250 * Returns the css of this layout set. 251 * 252 * @return the css of this layout set 253 */ 254 @AutoEscape 255 public String getCss(); 256 257 /** 258 * Sets the css of this layout set. 259 * 260 * @param css the css of this layout set 261 */ 262 public void setCss(String css); 263 264 /** 265 * Returns the page count of this layout set. 266 * 267 * @return the page count of this layout set 268 */ 269 public int getPageCount(); 270 271 /** 272 * Sets the page count of this layout set. 273 * 274 * @param pageCount the page count of this layout set 275 */ 276 public void setPageCount(int pageCount); 277 278 /** 279 * Returns the settings of this layout set. 280 * 281 * @return the settings of this layout set 282 */ 283 @AutoEscape 284 public String getSettings(); 285 286 /** 287 * Sets the settings of this layout set. 288 * 289 * @param settings the settings of this layout set 290 */ 291 public void setSettings(String settings); 292 293 /** 294 * Returns the layout set prototype uuid of this layout set. 295 * 296 * @return the layout set prototype uuid of this layout set 297 */ 298 @AutoEscape 299 public String getLayoutSetPrototypeUuid(); 300 301 /** 302 * Sets the layout set prototype uuid of this layout set. 303 * 304 * @param layoutSetPrototypeUuid the layout set prototype uuid of this layout set 305 */ 306 public void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid); 307 308 /** 309 * Returns the layout set prototype link enabled of this layout set. 310 * 311 * @return the layout set prototype link enabled of this layout set 312 */ 313 public boolean getLayoutSetPrototypeLinkEnabled(); 314 315 /** 316 * Returns <code>true</code> if this layout set is layout set prototype link enabled. 317 * 318 * @return <code>true</code> if this layout set is layout set prototype link enabled; <code>false</code> otherwise 319 */ 320 public boolean isLayoutSetPrototypeLinkEnabled(); 321 322 /** 323 * Sets whether this layout set is layout set prototype link enabled. 324 * 325 * @param layoutSetPrototypeLinkEnabled the layout set prototype link enabled of this layout set 326 */ 327 public void setLayoutSetPrototypeLinkEnabled( 328 boolean layoutSetPrototypeLinkEnabled); 329 330 @Override 331 public boolean isNew(); 332 333 @Override 334 public void setNew(boolean n); 335 336 @Override 337 public boolean isCachedModel(); 338 339 @Override 340 public void setCachedModel(boolean cachedModel); 341 342 @Override 343 public boolean isEscapedModel(); 344 345 @Override 346 public Serializable getPrimaryKeyObj(); 347 348 @Override 349 public void setPrimaryKeyObj(Serializable primaryKeyObj); 350 351 @Override 352 public ExpandoBridge getExpandoBridge(); 353 354 @Override 355 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 356 357 @Override 358 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 359 360 @Override 361 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 362 363 @Override 364 public Object clone(); 365 366 @Override 367 public int compareTo(LayoutSet layoutSet); 368 369 @Override 370 public int hashCode(); 371 372 @Override 373 public CacheModel<LayoutSet> toCacheModel(); 374 375 @Override 376 public LayoutSet toEscapedModel(); 377 378 @Override 379 public LayoutSet toUnescapedModel(); 380 381 @Override 382 public String toString(); 383 384 @Override 385 public String toXmlString(); 386 }