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