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