001 /** 002 * Copyright (c) 2000-present 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>, MVCCModel { 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 mvcc version of this layout set. 065 * 066 * @return the mvcc version of this layout set 067 */ 068 @Override 069 public long getMvccVersion(); 070 071 /** 072 * Sets the mvcc version of this layout set. 073 * 074 * @param mvccVersion the mvcc version of this layout set 075 */ 076 @Override 077 public void setMvccVersion(long mvccVersion); 078 079 /** 080 * Returns the layout set ID of this layout set. 081 * 082 * @return the layout set ID of this layout set 083 */ 084 public long getLayoutSetId(); 085 086 /** 087 * Sets the layout set ID of this layout set. 088 * 089 * @param layoutSetId the layout set ID of this layout set 090 */ 091 public void setLayoutSetId(long layoutSetId); 092 093 /** 094 * Returns the group ID of this layout set. 095 * 096 * @return the group ID of this layout set 097 */ 098 public long getGroupId(); 099 100 /** 101 * Sets the group ID of this layout set. 102 * 103 * @param groupId the group ID of this layout set 104 */ 105 public void setGroupId(long groupId); 106 107 /** 108 * Returns the company ID of this layout set. 109 * 110 * @return the company ID of this layout set 111 */ 112 public long getCompanyId(); 113 114 /** 115 * Sets the company ID of this layout set. 116 * 117 * @param companyId the company ID of this layout set 118 */ 119 public void setCompanyId(long companyId); 120 121 /** 122 * Returns the create date of this layout set. 123 * 124 * @return the create date of this layout set 125 */ 126 public Date getCreateDate(); 127 128 /** 129 * Sets the create date of this layout set. 130 * 131 * @param createDate the create date of this layout set 132 */ 133 public void setCreateDate(Date createDate); 134 135 /** 136 * Returns the modified date of this layout set. 137 * 138 * @return the modified date of this layout set 139 */ 140 public Date getModifiedDate(); 141 142 /** 143 * Sets the modified date of this layout set. 144 * 145 * @param modifiedDate the modified date of this layout set 146 */ 147 public void setModifiedDate(Date modifiedDate); 148 149 /** 150 * Returns the private layout of this layout set. 151 * 152 * @return the private layout of this layout set 153 */ 154 public boolean getPrivateLayout(); 155 156 /** 157 * Returns <code>true</code> if this layout set is private layout. 158 * 159 * @return <code>true</code> if this layout set is private layout; <code>false</code> otherwise 160 */ 161 public boolean isPrivateLayout(); 162 163 /** 164 * Sets whether this layout set is private layout. 165 * 166 * @param privateLayout the private layout of this layout set 167 */ 168 public void setPrivateLayout(boolean privateLayout); 169 170 /** 171 * Returns the logo ID of this layout set. 172 * 173 * @return the logo ID of this layout set 174 */ 175 public long getLogoId(); 176 177 /** 178 * Sets the logo ID of this layout set. 179 * 180 * @param logoId the logo ID of this layout set 181 */ 182 public void setLogoId(long logoId); 183 184 /** 185 * Returns the theme ID of this layout set. 186 * 187 * @return the theme ID of this layout set 188 */ 189 @AutoEscape 190 public String getThemeId(); 191 192 /** 193 * Sets the theme ID of this layout set. 194 * 195 * @param themeId the theme ID of this layout set 196 */ 197 public void setThemeId(String themeId); 198 199 /** 200 * Returns the color scheme ID of this layout set. 201 * 202 * @return the color scheme ID of this layout set 203 */ 204 @AutoEscape 205 public String getColorSchemeId(); 206 207 /** 208 * Sets the color scheme ID of this layout set. 209 * 210 * @param colorSchemeId the color scheme ID of this layout set 211 */ 212 public void setColorSchemeId(String colorSchemeId); 213 214 /** 215 * Returns the wap theme ID of this layout set. 216 * 217 * @return the wap theme ID of this layout set 218 */ 219 @AutoEscape 220 public String getWapThemeId(); 221 222 /** 223 * Sets the wap theme ID of this layout set. 224 * 225 * @param wapThemeId the wap theme ID of this layout set 226 */ 227 public void setWapThemeId(String wapThemeId); 228 229 /** 230 * Returns the wap color scheme ID of this layout set. 231 * 232 * @return the wap color scheme ID of this layout set 233 */ 234 @AutoEscape 235 public String getWapColorSchemeId(); 236 237 /** 238 * Sets the wap color scheme ID of this layout set. 239 * 240 * @param wapColorSchemeId the wap color scheme ID of this layout set 241 */ 242 public void setWapColorSchemeId(String wapColorSchemeId); 243 244 /** 245 * Returns the css of this layout set. 246 * 247 * @return the css of this layout set 248 */ 249 @AutoEscape 250 public String getCss(); 251 252 /** 253 * Sets the css of this layout set. 254 * 255 * @param css the css of this layout set 256 */ 257 public void setCss(String css); 258 259 /** 260 * Returns the page count of this layout set. 261 * 262 * @return the page count of this layout set 263 */ 264 public int getPageCount(); 265 266 /** 267 * Sets the page count of this layout set. 268 * 269 * @param pageCount the page count of this layout set 270 */ 271 public void setPageCount(int pageCount); 272 273 /** 274 * Returns the settings of this layout set. 275 * 276 * @return the settings of this layout set 277 */ 278 @AutoEscape 279 public String getSettings(); 280 281 /** 282 * Sets the settings of this layout set. 283 * 284 * @param settings the settings of this layout set 285 */ 286 public void setSettings(String settings); 287 288 /** 289 * Returns the layout set prototype uuid of this layout set. 290 * 291 * @return the layout set prototype uuid of this layout set 292 */ 293 @AutoEscape 294 public String getLayoutSetPrototypeUuid(); 295 296 /** 297 * Sets the layout set prototype uuid of this layout set. 298 * 299 * @param layoutSetPrototypeUuid the layout set prototype uuid of this layout set 300 */ 301 public void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid); 302 303 /** 304 * Returns the layout set prototype link enabled of this layout set. 305 * 306 * @return the layout set prototype link enabled of this layout set 307 */ 308 public boolean getLayoutSetPrototypeLinkEnabled(); 309 310 /** 311 * Returns <code>true</code> if this layout set is layout set prototype link enabled. 312 * 313 * @return <code>true</code> if this layout set is layout set prototype link enabled; <code>false</code> otherwise 314 */ 315 public boolean isLayoutSetPrototypeLinkEnabled(); 316 317 /** 318 * Sets whether this layout set is layout set prototype link enabled. 319 * 320 * @param layoutSetPrototypeLinkEnabled the layout set prototype link enabled of this layout set 321 */ 322 public void setLayoutSetPrototypeLinkEnabled( 323 boolean layoutSetPrototypeLinkEnabled); 324 325 @Override 326 public boolean isNew(); 327 328 @Override 329 public void setNew(boolean n); 330 331 @Override 332 public boolean isCachedModel(); 333 334 @Override 335 public void setCachedModel(boolean cachedModel); 336 337 @Override 338 public boolean isEscapedModel(); 339 340 @Override 341 public Serializable getPrimaryKeyObj(); 342 343 @Override 344 public void setPrimaryKeyObj(Serializable primaryKeyObj); 345 346 @Override 347 public ExpandoBridge getExpandoBridge(); 348 349 @Override 350 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 351 352 @Override 353 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 354 355 @Override 356 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 357 358 @Override 359 public Object clone(); 360 361 @Override 362 public int compareTo(com.liferay.portal.model.LayoutSet layoutSet); 363 364 @Override 365 public int hashCode(); 366 367 @Override 368 public CacheModel<com.liferay.portal.model.LayoutSet> toCacheModel(); 369 370 @Override 371 public com.liferay.portal.model.LayoutSet toEscapedModel(); 372 373 @Override 374 public com.liferay.portal.model.LayoutSet toUnescapedModel(); 375 376 @Override 377 public String toString(); 378 379 @Override 380 public String toXmlString(); 381 }