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 /** 027 * The base model interface for the LayoutBranch service. Represents a row in the "LayoutBranch" database table, with each column mapped to a property of this class. 028 * 029 * <p> 030 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.LayoutBranchModelImpl} 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.LayoutBranchImpl}. 031 * </p> 032 * 033 * @author Brian Wing Shun Chan 034 * @see LayoutBranch 035 * @see com.liferay.portal.model.impl.LayoutBranchImpl 036 * @see com.liferay.portal.model.impl.LayoutBranchModelImpl 037 * @generated 038 */ 039 @ProviderType 040 public interface LayoutBranchModel extends BaseModel<LayoutBranch>, MVCCModel { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify or reference this interface directly. All methods that expect a layout branch model instance should use the {@link LayoutBranch} interface instead. 045 */ 046 047 /** 048 * Returns the primary key of this layout branch. 049 * 050 * @return the primary key of this layout branch 051 */ 052 public long getPrimaryKey(); 053 054 /** 055 * Sets the primary key of this layout branch. 056 * 057 * @param primaryKey the primary key of this layout branch 058 */ 059 public void setPrimaryKey(long primaryKey); 060 061 /** 062 * Returns the mvcc version of this layout branch. 063 * 064 * @return the mvcc version of this layout branch 065 */ 066 @Override 067 public long getMvccVersion(); 068 069 /** 070 * Sets the mvcc version of this layout branch. 071 * 072 * @param mvccVersion the mvcc version of this layout branch 073 */ 074 @Override 075 public void setMvccVersion(long mvccVersion); 076 077 /** 078 * Returns the layout branch ID of this layout branch. 079 * 080 * @return the layout branch ID of this layout branch 081 */ 082 public long getLayoutBranchId(); 083 084 /** 085 * Sets the layout branch ID of this layout branch. 086 * 087 * @param layoutBranchId the layout branch ID of this layout branch 088 */ 089 public void setLayoutBranchId(long layoutBranchId); 090 091 /** 092 * Returns the group ID of this layout branch. 093 * 094 * @return the group ID of this layout branch 095 */ 096 public long getGroupId(); 097 098 /** 099 * Sets the group ID of this layout branch. 100 * 101 * @param groupId the group ID of this layout branch 102 */ 103 public void setGroupId(long groupId); 104 105 /** 106 * Returns the company ID of this layout branch. 107 * 108 * @return the company ID of this layout branch 109 */ 110 public long getCompanyId(); 111 112 /** 113 * Sets the company ID of this layout branch. 114 * 115 * @param companyId the company ID of this layout branch 116 */ 117 public void setCompanyId(long companyId); 118 119 /** 120 * Returns the user ID of this layout branch. 121 * 122 * @return the user ID of this layout branch 123 */ 124 public long getUserId(); 125 126 /** 127 * Sets the user ID of this layout branch. 128 * 129 * @param userId the user ID of this layout branch 130 */ 131 public void setUserId(long userId); 132 133 /** 134 * Returns the user uuid of this layout branch. 135 * 136 * @return the user uuid of this layout branch 137 */ 138 public String getUserUuid(); 139 140 /** 141 * Sets the user uuid of this layout branch. 142 * 143 * @param userUuid the user uuid of this layout branch 144 */ 145 public void setUserUuid(String userUuid); 146 147 /** 148 * Returns the user name of this layout branch. 149 * 150 * @return the user name of this layout branch 151 */ 152 @AutoEscape 153 public String getUserName(); 154 155 /** 156 * Sets the user name of this layout branch. 157 * 158 * @param userName the user name of this layout branch 159 */ 160 public void setUserName(String userName); 161 162 /** 163 * Returns the layout set branch ID of this layout branch. 164 * 165 * @return the layout set branch ID of this layout branch 166 */ 167 public long getLayoutSetBranchId(); 168 169 /** 170 * Sets the layout set branch ID of this layout branch. 171 * 172 * @param layoutSetBranchId the layout set branch ID of this layout branch 173 */ 174 public void setLayoutSetBranchId(long layoutSetBranchId); 175 176 /** 177 * Returns the plid of this layout branch. 178 * 179 * @return the plid of this layout branch 180 */ 181 public long getPlid(); 182 183 /** 184 * Sets the plid of this layout branch. 185 * 186 * @param plid the plid of this layout branch 187 */ 188 public void setPlid(long plid); 189 190 /** 191 * Returns the name of this layout branch. 192 * 193 * @return the name of this layout branch 194 */ 195 @AutoEscape 196 public String getName(); 197 198 /** 199 * Sets the name of this layout branch. 200 * 201 * @param name the name of this layout branch 202 */ 203 public void setName(String name); 204 205 /** 206 * Returns the description of this layout branch. 207 * 208 * @return the description of this layout branch 209 */ 210 @AutoEscape 211 public String getDescription(); 212 213 /** 214 * Sets the description of this layout branch. 215 * 216 * @param description the description of this layout branch 217 */ 218 public void setDescription(String description); 219 220 /** 221 * Returns the master of this layout branch. 222 * 223 * @return the master of this layout branch 224 */ 225 public boolean getMaster(); 226 227 /** 228 * Returns <code>true</code> if this layout branch is master. 229 * 230 * @return <code>true</code> if this layout branch is master; <code>false</code> otherwise 231 */ 232 public boolean isMaster(); 233 234 /** 235 * Sets whether this layout branch is master. 236 * 237 * @param master the master of this layout branch 238 */ 239 public void setMaster(boolean master); 240 241 @Override 242 public boolean isNew(); 243 244 @Override 245 public void setNew(boolean n); 246 247 @Override 248 public boolean isCachedModel(); 249 250 @Override 251 public void setCachedModel(boolean cachedModel); 252 253 @Override 254 public boolean isEscapedModel(); 255 256 @Override 257 public Serializable getPrimaryKeyObj(); 258 259 @Override 260 public void setPrimaryKeyObj(Serializable primaryKeyObj); 261 262 @Override 263 public ExpandoBridge getExpandoBridge(); 264 265 @Override 266 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 267 268 @Override 269 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 270 271 @Override 272 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 273 274 @Override 275 public Object clone(); 276 277 @Override 278 public int compareTo(com.liferay.portal.model.LayoutBranch layoutBranch); 279 280 @Override 281 public int hashCode(); 282 283 @Override 284 public CacheModel<com.liferay.portal.model.LayoutBranch> toCacheModel(); 285 286 @Override 287 public com.liferay.portal.model.LayoutBranch toEscapedModel(); 288 289 @Override 290 public com.liferay.portal.model.LayoutBranch toUnescapedModel(); 291 292 @Override 293 public String toString(); 294 295 @Override 296 public String toXmlString(); 297 }