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