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