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