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 LayoutSetBranch service. Represents a row in the "LayoutSetBranch" 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.LayoutSetBranchModelImpl} 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.LayoutSetBranchImpl}. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see LayoutSetBranch 037 * @see com.liferay.portal.model.impl.LayoutSetBranchImpl 038 * @see com.liferay.portal.model.impl.LayoutSetBranchModelImpl 039 * @generated 040 */ 041 @ProviderType 042 public interface LayoutSetBranchModel extends BaseModel<LayoutSetBranch>, 043 GroupedModel, MVCCModel, ShardedModel { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify or reference this interface directly. All methods that expect a layout set branch model instance should use the {@link LayoutSetBranch} interface instead. 048 */ 049 050 /** 051 * Returns the primary key of this layout set branch. 052 * 053 * @return the primary key of this layout set branch 054 */ 055 public long getPrimaryKey(); 056 057 /** 058 * Sets the primary key of this layout set branch. 059 * 060 * @param primaryKey the primary key of this layout set branch 061 */ 062 public void setPrimaryKey(long primaryKey); 063 064 /** 065 * Returns the mvcc version of this layout set branch. 066 * 067 * @return the mvcc version of this layout set branch 068 */ 069 @Override 070 public long getMvccVersion(); 071 072 /** 073 * Sets the mvcc version of this layout set branch. 074 * 075 * @param mvccVersion the mvcc version of this layout set branch 076 */ 077 @Override 078 public void setMvccVersion(long mvccVersion); 079 080 /** 081 * Returns the layout set branch ID of this layout set branch. 082 * 083 * @return the layout set branch ID of this layout set branch 084 */ 085 public long getLayoutSetBranchId(); 086 087 /** 088 * Sets the layout set branch ID of this layout set branch. 089 * 090 * @param layoutSetBranchId the layout set branch ID of this layout set branch 091 */ 092 public void setLayoutSetBranchId(long layoutSetBranchId); 093 094 /** 095 * Returns the group ID of this layout set branch. 096 * 097 * @return the group ID of this layout set branch 098 */ 099 @Override 100 public long getGroupId(); 101 102 /** 103 * Sets the group ID of this layout set branch. 104 * 105 * @param groupId the group ID of this layout set branch 106 */ 107 @Override 108 public void setGroupId(long groupId); 109 110 /** 111 * Returns the company ID of this layout set branch. 112 * 113 * @return the company ID of this layout set branch 114 */ 115 @Override 116 public long getCompanyId(); 117 118 /** 119 * Sets the company ID of this layout set branch. 120 * 121 * @param companyId the company ID of this layout set branch 122 */ 123 @Override 124 public void setCompanyId(long companyId); 125 126 /** 127 * Returns the user ID of this layout set branch. 128 * 129 * @return the user ID of this layout set branch 130 */ 131 @Override 132 public long getUserId(); 133 134 /** 135 * Sets the user ID of this layout set branch. 136 * 137 * @param userId the user ID of this layout set branch 138 */ 139 @Override 140 public void setUserId(long userId); 141 142 /** 143 * Returns the user uuid of this layout set branch. 144 * 145 * @return the user uuid of this layout set branch 146 */ 147 @Override 148 public String getUserUuid(); 149 150 /** 151 * Sets the user uuid of this layout set branch. 152 * 153 * @param userUuid the user uuid of this layout set branch 154 */ 155 @Override 156 public void setUserUuid(String userUuid); 157 158 /** 159 * Returns the user name of this layout set branch. 160 * 161 * @return the user name of this layout set branch 162 */ 163 @AutoEscape 164 @Override 165 public String getUserName(); 166 167 /** 168 * Sets the user name of this layout set branch. 169 * 170 * @param userName the user name of this layout set branch 171 */ 172 @Override 173 public void setUserName(String userName); 174 175 /** 176 * Returns the create date of this layout set branch. 177 * 178 * @return the create date of this layout set branch 179 */ 180 @Override 181 public Date getCreateDate(); 182 183 /** 184 * Sets the create date of this layout set branch. 185 * 186 * @param createDate the create date of this layout set branch 187 */ 188 @Override 189 public void setCreateDate(Date createDate); 190 191 /** 192 * Returns the modified date of this layout set branch. 193 * 194 * @return the modified date of this layout set branch 195 */ 196 @Override 197 public Date getModifiedDate(); 198 199 /** 200 * Sets the modified date of this layout set branch. 201 * 202 * @param modifiedDate the modified date of this layout set branch 203 */ 204 @Override 205 public void setModifiedDate(Date modifiedDate); 206 207 /** 208 * Returns the private layout of this layout set branch. 209 * 210 * @return the private layout of this layout set branch 211 */ 212 public boolean getPrivateLayout(); 213 214 /** 215 * Returns <code>true</code> if this layout set branch is private layout. 216 * 217 * @return <code>true</code> if this layout set branch is private layout; <code>false</code> otherwise 218 */ 219 public boolean isPrivateLayout(); 220 221 /** 222 * Sets whether this layout set branch is private layout. 223 * 224 * @param privateLayout the private layout of this layout set branch 225 */ 226 public void setPrivateLayout(boolean privateLayout); 227 228 /** 229 * Returns the name of this layout set branch. 230 * 231 * @return the name of this layout set branch 232 */ 233 @AutoEscape 234 public String getName(); 235 236 /** 237 * Sets the name of this layout set branch. 238 * 239 * @param name the name of this layout set branch 240 */ 241 public void setName(String name); 242 243 /** 244 * Returns the description of this layout set branch. 245 * 246 * @return the description of this layout set branch 247 */ 248 @AutoEscape 249 public String getDescription(); 250 251 /** 252 * Sets the description of this layout set branch. 253 * 254 * @param description the description of this layout set branch 255 */ 256 public void setDescription(String description); 257 258 /** 259 * Returns the master of this layout set branch. 260 * 261 * @return the master of this layout set branch 262 */ 263 public boolean getMaster(); 264 265 /** 266 * Returns <code>true</code> if this layout set branch is master. 267 * 268 * @return <code>true</code> if this layout set branch is master; <code>false</code> otherwise 269 */ 270 public boolean isMaster(); 271 272 /** 273 * Sets whether this layout set branch is master. 274 * 275 * @param master the master of this layout set branch 276 */ 277 public void setMaster(boolean master); 278 279 /** 280 * Returns the logo ID of this layout set branch. 281 * 282 * @return the logo ID of this layout set branch 283 */ 284 public long getLogoId(); 285 286 /** 287 * Sets the logo ID of this layout set branch. 288 * 289 * @param logoId the logo ID of this layout set branch 290 */ 291 public void setLogoId(long logoId); 292 293 /** 294 * Returns the theme ID of this layout set branch. 295 * 296 * @return the theme ID of this layout set branch 297 */ 298 @AutoEscape 299 public String getThemeId(); 300 301 /** 302 * Sets the theme ID of this layout set branch. 303 * 304 * @param themeId the theme ID of this layout set branch 305 */ 306 public void setThemeId(String themeId); 307 308 /** 309 * Returns the color scheme ID of this layout set branch. 310 * 311 * @return the color scheme ID of this layout set branch 312 */ 313 @AutoEscape 314 public String getColorSchemeId(); 315 316 /** 317 * Sets the color scheme ID of this layout set branch. 318 * 319 * @param colorSchemeId the color scheme ID of this layout set branch 320 */ 321 public void setColorSchemeId(String colorSchemeId); 322 323 /** 324 * Returns the wap theme ID of this layout set branch. 325 * 326 * @return the wap theme ID of this layout set branch 327 */ 328 @AutoEscape 329 public String getWapThemeId(); 330 331 /** 332 * Sets the wap theme ID of this layout set branch. 333 * 334 * @param wapThemeId the wap theme ID of this layout set branch 335 */ 336 public void setWapThemeId(String wapThemeId); 337 338 /** 339 * Returns the wap color scheme ID of this layout set branch. 340 * 341 * @return the wap color scheme ID of this layout set branch 342 */ 343 @AutoEscape 344 public String getWapColorSchemeId(); 345 346 /** 347 * Sets the wap color scheme ID of this layout set branch. 348 * 349 * @param wapColorSchemeId the wap color scheme ID of this layout set branch 350 */ 351 public void setWapColorSchemeId(String wapColorSchemeId); 352 353 /** 354 * Returns the css of this layout set branch. 355 * 356 * @return the css of this layout set branch 357 */ 358 @AutoEscape 359 public String getCss(); 360 361 /** 362 * Sets the css of this layout set branch. 363 * 364 * @param css the css of this layout set branch 365 */ 366 public void setCss(String css); 367 368 /** 369 * Returns the settings of this layout set branch. 370 * 371 * @return the settings of this layout set branch 372 */ 373 @AutoEscape 374 public String getSettings(); 375 376 /** 377 * Sets the settings of this layout set branch. 378 * 379 * @param settings the settings of this layout set branch 380 */ 381 public void setSettings(String settings); 382 383 /** 384 * Returns the layout set prototype uuid of this layout set branch. 385 * 386 * @return the layout set prototype uuid of this layout set branch 387 */ 388 @AutoEscape 389 public String getLayoutSetPrototypeUuid(); 390 391 /** 392 * Sets the layout set prototype uuid of this layout set branch. 393 * 394 * @param layoutSetPrototypeUuid the layout set prototype uuid of this layout set branch 395 */ 396 public void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid); 397 398 /** 399 * Returns the layout set prototype link enabled of this layout set branch. 400 * 401 * @return the layout set prototype link enabled of this layout set branch 402 */ 403 public boolean getLayoutSetPrototypeLinkEnabled(); 404 405 /** 406 * Returns <code>true</code> if this layout set branch is layout set prototype link enabled. 407 * 408 * @return <code>true</code> if this layout set branch is layout set prototype link enabled; <code>false</code> otherwise 409 */ 410 public boolean isLayoutSetPrototypeLinkEnabled(); 411 412 /** 413 * Sets whether this layout set branch is layout set prototype link enabled. 414 * 415 * @param layoutSetPrototypeLinkEnabled the layout set prototype link enabled of this layout set branch 416 */ 417 public void setLayoutSetPrototypeLinkEnabled( 418 boolean layoutSetPrototypeLinkEnabled); 419 420 @Override 421 public boolean isNew(); 422 423 @Override 424 public void setNew(boolean n); 425 426 @Override 427 public boolean isCachedModel(); 428 429 @Override 430 public void setCachedModel(boolean cachedModel); 431 432 @Override 433 public boolean isEscapedModel(); 434 435 @Override 436 public Serializable getPrimaryKeyObj(); 437 438 @Override 439 public void setPrimaryKeyObj(Serializable primaryKeyObj); 440 441 @Override 442 public ExpandoBridge getExpandoBridge(); 443 444 @Override 445 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 446 447 @Override 448 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 449 450 @Override 451 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 452 453 @Override 454 public Object clone(); 455 456 @Override 457 public int compareTo( 458 com.liferay.portal.model.LayoutSetBranch layoutSetBranch); 459 460 @Override 461 public int hashCode(); 462 463 @Override 464 public CacheModel<com.liferay.portal.model.LayoutSetBranch> toCacheModel(); 465 466 @Override 467 public com.liferay.portal.model.LayoutSetBranch toEscapedModel(); 468 469 @Override 470 public com.liferay.portal.model.LayoutSetBranch toUnescapedModel(); 471 472 @Override 473 public String toString(); 474 475 @Override 476 public String toXmlString(); 477 }