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, ShardedModel {
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            @Override
114            public long getCompanyId();
115    
116            /**
117             * Sets the company ID of this system event.
118             *
119             * @param companyId the company ID of this system event
120             */
121            @Override
122            public void setCompanyId(long companyId);
123    
124            /**
125             * Returns the user ID of this system event.
126             *
127             * @return the user ID of this system event
128             */
129            public long getUserId();
130    
131            /**
132             * Sets the user ID of this system event.
133             *
134             * @param userId the user ID of this system event
135             */
136            public void setUserId(long userId);
137    
138            /**
139             * Returns the user uuid of this system event.
140             *
141             * @return the user uuid of this system event
142             */
143            public String getUserUuid();
144    
145            /**
146             * Sets the user uuid of this system event.
147             *
148             * @param userUuid the user uuid of this system event
149             */
150            public void setUserUuid(String userUuid);
151    
152            /**
153             * Returns the user name of this system event.
154             *
155             * @return the user name of this system event
156             */
157            @AutoEscape
158            public String getUserName();
159    
160            /**
161             * Sets the user name of this system event.
162             *
163             * @param userName the user name of this system event
164             */
165            public void setUserName(String userName);
166    
167            /**
168             * Returns the create date of this system event.
169             *
170             * @return the create date of this system event
171             */
172            public Date getCreateDate();
173    
174            /**
175             * Sets the create date of this system event.
176             *
177             * @param createDate the create date of this system event
178             */
179            public void setCreateDate(Date createDate);
180    
181            /**
182             * Returns the fully qualified class name of this system event.
183             *
184             * @return the fully qualified class name of this system event
185             */
186            @Override
187            public String getClassName();
188    
189            public void setClassName(String className);
190    
191            /**
192             * Returns the class name ID of this system event.
193             *
194             * @return the class name ID of this system event
195             */
196            @Override
197            public long getClassNameId();
198    
199            /**
200             * Sets the class name ID of this system event.
201             *
202             * @param classNameId the class name ID of this system event
203             */
204            @Override
205            public void setClassNameId(long classNameId);
206    
207            /**
208             * Returns the class p k of this system event.
209             *
210             * @return the class p k of this system event
211             */
212            @Override
213            public long getClassPK();
214    
215            /**
216             * Sets the class p k of this system event.
217             *
218             * @param classPK the class p k of this system event
219             */
220            @Override
221            public void setClassPK(long classPK);
222    
223            /**
224             * Returns the class uuid of this system event.
225             *
226             * @return the class uuid of this system event
227             */
228            @AutoEscape
229            public String getClassUuid();
230    
231            /**
232             * Sets the class uuid of this system event.
233             *
234             * @param classUuid the class uuid of this system event
235             */
236            public void setClassUuid(String classUuid);
237    
238            /**
239             * Returns the referrer class name ID of this system event.
240             *
241             * @return the referrer class name ID of this system event
242             */
243            public long getReferrerClassNameId();
244    
245            /**
246             * Sets the referrer class name ID of this system event.
247             *
248             * @param referrerClassNameId the referrer class name ID of this system event
249             */
250            public void setReferrerClassNameId(long referrerClassNameId);
251    
252            /**
253             * Returns the parent system event ID of this system event.
254             *
255             * @return the parent system event ID of this system event
256             */
257            public long getParentSystemEventId();
258    
259            /**
260             * Sets the parent system event ID of this system event.
261             *
262             * @param parentSystemEventId the parent system event ID of this system event
263             */
264            public void setParentSystemEventId(long parentSystemEventId);
265    
266            /**
267             * Returns the system event set key of this system event.
268             *
269             * @return the system event set key of this system event
270             */
271            public long getSystemEventSetKey();
272    
273            /**
274             * Sets the system event set key of this system event.
275             *
276             * @param systemEventSetKey the system event set key of this system event
277             */
278            public void setSystemEventSetKey(long systemEventSetKey);
279    
280            /**
281             * Returns the type of this system event.
282             *
283             * @return the type of this system event
284             */
285            public int getType();
286    
287            /**
288             * Sets the type of this system event.
289             *
290             * @param type the type of this system event
291             */
292            public void setType(int type);
293    
294            /**
295             * Returns the extra data of this system event.
296             *
297             * @return the extra data of this system event
298             */
299            @AutoEscape
300            public String getExtraData();
301    
302            /**
303             * Sets the extra data of this system event.
304             *
305             * @param extraData the extra data of this system event
306             */
307            public void setExtraData(String extraData);
308    
309            @Override
310            public boolean isNew();
311    
312            @Override
313            public void setNew(boolean n);
314    
315            @Override
316            public boolean isCachedModel();
317    
318            @Override
319            public void setCachedModel(boolean cachedModel);
320    
321            @Override
322            public boolean isEscapedModel();
323    
324            @Override
325            public Serializable getPrimaryKeyObj();
326    
327            @Override
328            public void setPrimaryKeyObj(Serializable primaryKeyObj);
329    
330            @Override
331            public ExpandoBridge getExpandoBridge();
332    
333            @Override
334            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
335    
336            @Override
337            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
338    
339            @Override
340            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
341    
342            @Override
343            public Object clone();
344    
345            @Override
346            public int compareTo(com.liferay.portal.model.SystemEvent systemEvent);
347    
348            @Override
349            public int hashCode();
350    
351            @Override
352            public CacheModel<com.liferay.portal.model.SystemEvent> toCacheModel();
353    
354            @Override
355            public com.liferay.portal.model.SystemEvent toEscapedModel();
356    
357            @Override
358            public com.liferay.portal.model.SystemEvent toUnescapedModel();
359    
360            @Override
361            public String toString();
362    
363            @Override
364            public String toXmlString();
365    }