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