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