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 public long getGroupId(); 082 083 /** 084 * Sets the group ID of this layout set branch. 085 * 086 * @param groupId the group ID of this layout set branch 087 */ 088 public void setGroupId(long groupId); 089 090 /** 091 * Returns the company ID of this layout set branch. 092 * 093 * @return the company ID of this layout set branch 094 */ 095 public long getCompanyId(); 096 097 /** 098 * Sets the company ID of this layout set branch. 099 * 100 * @param companyId the company ID of this layout set branch 101 */ 102 public void setCompanyId(long companyId); 103 104 /** 105 * Returns the user ID of this layout set branch. 106 * 107 * @return the user ID of this layout set branch 108 */ 109 public long getUserId(); 110 111 /** 112 * Sets the user ID of this layout set branch. 113 * 114 * @param userId the user ID of this layout set branch 115 */ 116 public void setUserId(long userId); 117 118 /** 119 * Returns the user uuid of this layout set branch. 120 * 121 * @return the user uuid of this layout set branch 122 * @throws SystemException if a system exception occurred 123 */ 124 public String getUserUuid() throws SystemException; 125 126 /** 127 * Sets the user uuid of this layout set branch. 128 * 129 * @param userUuid the user uuid of this layout set branch 130 */ 131 public void setUserUuid(String userUuid); 132 133 /** 134 * Returns the user name of this layout set branch. 135 * 136 * @return the user name of this layout set branch 137 */ 138 @AutoEscape 139 public String getUserName(); 140 141 /** 142 * Sets the user name of this layout set branch. 143 * 144 * @param userName the user name of this layout set branch 145 */ 146 public void setUserName(String userName); 147 148 /** 149 * Returns the create date of this layout set branch. 150 * 151 * @return the create date of this layout set branch 152 */ 153 public Date getCreateDate(); 154 155 /** 156 * Sets the create date of this layout set branch. 157 * 158 * @param createDate the create date of this layout set branch 159 */ 160 public void setCreateDate(Date createDate); 161 162 /** 163 * Returns the modified date of this layout set branch. 164 * 165 * @return the modified date of this layout set branch 166 */ 167 public Date getModifiedDate(); 168 169 /** 170 * Sets the modified date of this layout set branch. 171 * 172 * @param modifiedDate the modified date of this layout set branch 173 */ 174 public void setModifiedDate(Date modifiedDate); 175 176 /** 177 * Returns the private layout of this layout set branch. 178 * 179 * @return the private layout of this layout set branch 180 */ 181 public boolean getPrivateLayout(); 182 183 /** 184 * Returns <code>true</code> if this layout set branch is private layout. 185 * 186 * @return <code>true</code> if this layout set branch is private layout; <code>false</code> otherwise 187 */ 188 public boolean isPrivateLayout(); 189 190 /** 191 * Sets whether this layout set branch is private layout. 192 * 193 * @param privateLayout the private layout of this layout set branch 194 */ 195 public void setPrivateLayout(boolean privateLayout); 196 197 /** 198 * Returns the name of this layout set branch. 199 * 200 * @return the name of this layout set branch 201 */ 202 @AutoEscape 203 public String getName(); 204 205 /** 206 * Sets the name of this layout set branch. 207 * 208 * @param name the name of this layout set branch 209 */ 210 public void setName(String name); 211 212 /** 213 * Returns the description of this layout set branch. 214 * 215 * @return the description of this layout set branch 216 */ 217 @AutoEscape 218 public String getDescription(); 219 220 /** 221 * Sets the description of this layout set branch. 222 * 223 * @param description the description of this layout set branch 224 */ 225 public void setDescription(String description); 226 227 /** 228 * Returns the master of this layout set branch. 229 * 230 * @return the master of this layout set branch 231 */ 232 public boolean getMaster(); 233 234 /** 235 * Returns <code>true</code> if this layout set branch is master. 236 * 237 * @return <code>true</code> if this layout set branch is master; <code>false</code> otherwise 238 */ 239 public boolean isMaster(); 240 241 /** 242 * Sets whether this layout set branch is master. 243 * 244 * @param master the master of this layout set branch 245 */ 246 public void setMaster(boolean master); 247 248 /** 249 * Returns the logo of this layout set branch. 250 * 251 * @return the logo of this layout set branch 252 */ 253 public boolean getLogo(); 254 255 /** 256 * Returns <code>true</code> if this layout set branch is logo. 257 * 258 * @return <code>true</code> if this layout set branch is logo; <code>false</code> otherwise 259 */ 260 public boolean isLogo(); 261 262 /** 263 * Sets whether this layout set branch is logo. 264 * 265 * @param logo the logo of this layout set branch 266 */ 267 public void setLogo(boolean logo); 268 269 /** 270 * Returns the logo ID of this layout set branch. 271 * 272 * @return the logo ID of this layout set branch 273 */ 274 public long getLogoId(); 275 276 /** 277 * Sets the logo ID of this layout set branch. 278 * 279 * @param logoId the logo ID of this layout set branch 280 */ 281 public void setLogoId(long logoId); 282 283 /** 284 * Returns the theme ID of this layout set branch. 285 * 286 * @return the theme ID of this layout set branch 287 */ 288 @AutoEscape 289 public String getThemeId(); 290 291 /** 292 * Sets the theme ID of this layout set branch. 293 * 294 * @param themeId the theme ID of this layout set branch 295 */ 296 public void setThemeId(String themeId); 297 298 /** 299 * Returns the color scheme ID of this layout set branch. 300 * 301 * @return the color scheme ID of this layout set branch 302 */ 303 @AutoEscape 304 public String getColorSchemeId(); 305 306 /** 307 * Sets the color scheme ID of this layout set branch. 308 * 309 * @param colorSchemeId the color scheme ID of this layout set branch 310 */ 311 public void setColorSchemeId(String colorSchemeId); 312 313 /** 314 * Returns the wap theme ID of this layout set branch. 315 * 316 * @return the wap theme ID of this layout set branch 317 */ 318 @AutoEscape 319 public String getWapThemeId(); 320 321 /** 322 * Sets the wap theme ID of this layout set branch. 323 * 324 * @param wapThemeId the wap theme ID of this layout set branch 325 */ 326 public void setWapThemeId(String wapThemeId); 327 328 /** 329 * Returns the wap color scheme ID of this layout set branch. 330 * 331 * @return the wap color scheme ID of this layout set branch 332 */ 333 @AutoEscape 334 public String getWapColorSchemeId(); 335 336 /** 337 * Sets the wap color scheme ID of this layout set branch. 338 * 339 * @param wapColorSchemeId the wap color scheme ID of this layout set branch 340 */ 341 public void setWapColorSchemeId(String wapColorSchemeId); 342 343 /** 344 * Returns the css of this layout set branch. 345 * 346 * @return the css of this layout set branch 347 */ 348 @AutoEscape 349 public String getCss(); 350 351 /** 352 * Sets the css of this layout set branch. 353 * 354 * @param css the css of this layout set branch 355 */ 356 public void setCss(String css); 357 358 /** 359 * Returns the settings of this layout set branch. 360 * 361 * @return the settings of this layout set branch 362 */ 363 @AutoEscape 364 public String getSettings(); 365 366 /** 367 * Sets the settings of this layout set branch. 368 * 369 * @param settings the settings of this layout set branch 370 */ 371 public void setSettings(String settings); 372 373 /** 374 * Returns the layout set prototype uuid of this layout set branch. 375 * 376 * @return the layout set prototype uuid of this layout set branch 377 */ 378 @AutoEscape 379 public String getLayoutSetPrototypeUuid(); 380 381 /** 382 * Sets the layout set prototype uuid of this layout set branch. 383 * 384 * @param layoutSetPrototypeUuid the layout set prototype uuid of this layout set branch 385 */ 386 public void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid); 387 388 /** 389 * Returns the layout set prototype link enabled of this layout set branch. 390 * 391 * @return the layout set prototype link enabled of this layout set branch 392 */ 393 public boolean getLayoutSetPrototypeLinkEnabled(); 394 395 /** 396 * Returns <code>true</code> if this layout set branch is layout set prototype link enabled. 397 * 398 * @return <code>true</code> if this layout set branch is layout set prototype link enabled; <code>false</code> otherwise 399 */ 400 public boolean isLayoutSetPrototypeLinkEnabled(); 401 402 /** 403 * Sets whether this layout set branch is layout set prototype link enabled. 404 * 405 * @param layoutSetPrototypeLinkEnabled the layout set prototype link enabled of this layout set branch 406 */ 407 public void setLayoutSetPrototypeLinkEnabled( 408 boolean layoutSetPrototypeLinkEnabled); 409 410 public boolean isNew(); 411 412 public void setNew(boolean n); 413 414 public boolean isCachedModel(); 415 416 public void setCachedModel(boolean cachedModel); 417 418 public boolean isEscapedModel(); 419 420 public Serializable getPrimaryKeyObj(); 421 422 public void setPrimaryKeyObj(Serializable primaryKeyObj); 423 424 public ExpandoBridge getExpandoBridge(); 425 426 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 427 428 public Object clone(); 429 430 public int compareTo(LayoutSetBranch layoutSetBranch); 431 432 public int hashCode(); 433 434 public CacheModel<LayoutSetBranch> toCacheModel(); 435 436 public LayoutSetBranch toEscapedModel(); 437 438 public LayoutSetBranch toUnescapedModel(); 439 440 public String toString(); 441 442 public String toXmlString(); 443 }