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 import java.util.Date; 027 028 /** 029 * The base model interface for the SystemEvent service. Represents a row in the "SystemEvent" database table, with each column mapped to a property of this class. 030 * 031 * <p> 032 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.SystemEventModelImpl} 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.SystemEventImpl}. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see SystemEvent 037 * @see com.liferay.portal.model.impl.SystemEventImpl 038 * @see com.liferay.portal.model.impl.SystemEventModelImpl 039 * @generated 040 */ 041 @ProviderType 042 public interface SystemEventModel extends AttachedModel, BaseModel<SystemEvent>, 043 MVCCModel { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify or reference this interface directly. All methods that expect a system event model instance should use the {@link SystemEvent} interface instead. 048 */ 049 050 /** 051 * Returns the primary key of this system event. 052 * 053 * @return the primary key of this system event 054 */ 055 public long getPrimaryKey(); 056 057 /** 058 * Sets the primary key of this system event. 059 * 060 * @param primaryKey the primary key of this system event 061 */ 062 public void setPrimaryKey(long primaryKey); 063 064 /** 065 * Returns the mvcc version of this system event. 066 * 067 * @return the mvcc version of this system event 068 */ 069 @Override 070 public long getMvccVersion(); 071 072 /** 073 * Sets the mvcc version of this system event. 074 * 075 * @param mvccVersion the mvcc version of this system event 076 */ 077 @Override 078 public void setMvccVersion(long mvccVersion); 079 080 /** 081 * Returns the system event ID of this system event. 082 * 083 * @return the system event ID of this system event 084 */ 085 public long getSystemEventId(); 086 087 /** 088 * Sets the system event ID of this system event. 089 * 090 * @param systemEventId the system event ID of this system event 091 */ 092 public void setSystemEventId(long systemEventId); 093 094 /** 095 * Returns the group ID of this system event. 096 * 097 * @return the group ID of this system event 098 */ 099 public long getGroupId(); 100 101 /** 102 * Sets the group ID of this system event. 103 * 104 * @param groupId the group ID of this system event 105 */ 106 public void setGroupId(long groupId); 107 108 /** 109 * Returns the company ID of this system event. 110 * 111 * @return the company ID of this system event 112 */ 113 public long getCompanyId(); 114 115 /** 116 * Sets the company ID of this system event. 117 * 118 * @param companyId the company ID of this system event 119 */ 120 public void setCompanyId(long companyId); 121 122 /** 123 * Returns the user ID of this system event. 124 * 125 * @return the user ID of this system event 126 */ 127 public long getUserId(); 128 129 /** 130 * Sets the user ID of this system event. 131 * 132 * @param userId the user ID of this system event 133 */ 134 public void setUserId(long userId); 135 136 /** 137 * Returns the user uuid of this system event. 138 * 139 * @return the user uuid of this system event 140 */ 141 public String getUserUuid(); 142 143 /** 144 * Sets the user uuid of this system event. 145 * 146 * @param userUuid the user uuid of this system event 147 */ 148 public void setUserUuid(String userUuid); 149 150 /** 151 * Returns the user name of this system event. 152 * 153 * @return the user name of this system event 154 */ 155 @AutoEscape 156 public String getUserName(); 157 158 /** 159 * Sets the user name of this system event. 160 * 161 * @param userName the user name of this system event 162 */ 163 public void setUserName(String userName); 164 165 /** 166 * Returns the create date of this system event. 167 * 168 * @return the create date of this system event 169 */ 170 public Date getCreateDate(); 171 172 /** 173 * Sets the create date of this system event. 174 * 175 * @param createDate the create date of this system event 176 */ 177 public void setCreateDate(Date createDate); 178 179 /** 180 * Returns the fully qualified class name of this system event. 181 * 182 * @return the fully qualified class name of this system event 183 */ 184 @Override 185 public String getClassName(); 186 187 public void setClassName(String className); 188 189 /** 190 * Returns the class name ID of this system event. 191 * 192 * @return the class name ID of this system event 193 */ 194 @Override 195 public long getClassNameId(); 196 197 /** 198 * Sets the class name ID of this system event. 199 * 200 * @param classNameId the class name ID of this system event 201 */ 202 @Override 203 public void setClassNameId(long classNameId); 204 205 /** 206 * Returns the class p k of this system event. 207 * 208 * @return the class p k of this system event 209 */ 210 @Override 211 public long getClassPK(); 212 213 /** 214 * Sets the class p k of this system event. 215 * 216 * @param classPK the class p k of this system event 217 */ 218 @Override 219 public void setClassPK(long classPK); 220 221 /** 222 * Returns the class uuid of this system event. 223 * 224 * @return the class uuid of this system event 225 */ 226 @AutoEscape 227 public String getClassUuid(); 228 229 /** 230 * Sets the class uuid of this system event. 231 * 232 * @param classUuid the class uuid of this system event 233 */ 234 public void setClassUuid(String classUuid); 235 236 /** 237 * Returns the referrer class name ID of this system event. 238 * 239 * @return the referrer class name ID of this system event 240 */ 241 public long getReferrerClassNameId(); 242 243 /** 244 * Sets the referrer class name ID of this system event. 245 * 246 * @param referrerClassNameId the referrer class name ID of this system event 247 */ 248 public void setReferrerClassNameId(long referrerClassNameId); 249 250 /** 251 * Returns the parent system event ID of this system event. 252 * 253 * @return the parent system event ID of this system event 254 */ 255 public long getParentSystemEventId(); 256 257 /** 258 * Sets the parent system event ID of this system event. 259 * 260 * @param parentSystemEventId the parent system event ID of this system event 261 */ 262 public void setParentSystemEventId(long parentSystemEventId); 263 264 /** 265 * Returns the system event set key of this system event. 266 * 267 * @return the system event set key of this system event 268 */ 269 public long getSystemEventSetKey(); 270 271 /** 272 * Sets the system event set key of this system event. 273 * 274 * @param systemEventSetKey the system event set key of this system event 275 */ 276 public void setSystemEventSetKey(long systemEventSetKey); 277 278 /** 279 * Returns the type of this system event. 280 * 281 * @return the type of this system event 282 */ 283 public int getType(); 284 285 /** 286 * Sets the type of this system event. 287 * 288 * @param type the type of this system event 289 */ 290 public void setType(int type); 291 292 /** 293 * Returns the extra data of this system event. 294 * 295 * @return the extra data of this system event 296 */ 297 @AutoEscape 298 public String getExtraData(); 299 300 /** 301 * Sets the extra data of this system event. 302 * 303 * @param extraData the extra data of this system event 304 */ 305 public void setExtraData(String extraData); 306 307 @Override 308 public boolean isNew(); 309 310 @Override 311 public void setNew(boolean n); 312 313 @Override 314 public boolean isCachedModel(); 315 316 @Override 317 public void setCachedModel(boolean cachedModel); 318 319 @Override 320 public boolean isEscapedModel(); 321 322 @Override 323 public Serializable getPrimaryKeyObj(); 324 325 @Override 326 public void setPrimaryKeyObj(Serializable primaryKeyObj); 327 328 @Override 329 public ExpandoBridge getExpandoBridge(); 330 331 @Override 332 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 333 334 @Override 335 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 336 337 @Override 338 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 339 340 @Override 341 public Object clone(); 342 343 @Override 344 public int compareTo(com.liferay.portal.model.SystemEvent systemEvent); 345 346 @Override 347 public int hashCode(); 348 349 @Override 350 public CacheModel<com.liferay.portal.model.SystemEvent> toCacheModel(); 351 352 @Override 353 public com.liferay.portal.model.SystemEvent toEscapedModel(); 354 355 @Override 356 public com.liferay.portal.model.SystemEvent toUnescapedModel(); 357 358 @Override 359 public String toString(); 360 361 @Override 362 public String toXmlString(); 363 }