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.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.service.ServiceContext;
024    
025    import com.liferay.portlet.expando.model.ExpandoBridge;
026    
027    import java.io.Serializable;
028    
029    /**
030     * The base model interface for the TrashVersion service. Represents a row in the "TrashVersion" 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.portlet.trash.model.impl.TrashVersionModelImpl} 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.TrashVersionImpl}.
034     * </p>
035     *
036     * @author Brian Wing Shun Chan
037     * @see TrashVersion
038     * @see com.liferay.portlet.trash.model.impl.TrashVersionImpl
039     * @see com.liferay.portlet.trash.model.impl.TrashVersionModelImpl
040     * @generated
041     */
042    @ProviderType
043    public interface TrashVersionModel extends AttachedModel, BaseModel<TrashVersion> {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. All methods that expect a trash version model instance should use the {@link TrashVersion} interface instead.
048             */
049    
050            /**
051             * Returns the primary key of this trash version.
052             *
053             * @return the primary key of this trash version
054             */
055            public long getPrimaryKey();
056    
057            /**
058             * Sets the primary key of this trash version.
059             *
060             * @param primaryKey the primary key of this trash version
061             */
062            public void setPrimaryKey(long primaryKey);
063    
064            /**
065             * Returns the version ID of this trash version.
066             *
067             * @return the version ID of this trash version
068             */
069            public long getVersionId();
070    
071            /**
072             * Sets the version ID of this trash version.
073             *
074             * @param versionId the version ID of this trash version
075             */
076            public void setVersionId(long versionId);
077    
078            /**
079             * Returns the entry ID of this trash version.
080             *
081             * @return the entry ID of this trash version
082             */
083            public long getEntryId();
084    
085            /**
086             * Sets the entry ID of this trash version.
087             *
088             * @param entryId the entry ID of this trash version
089             */
090            public void setEntryId(long entryId);
091    
092            /**
093             * Returns the fully qualified class name of this trash version.
094             *
095             * @return the fully qualified class name of this trash version
096             */
097            @Override
098            public String getClassName();
099    
100            public void setClassName(String className);
101    
102            /**
103             * Returns the class name ID of this trash version.
104             *
105             * @return the class name ID of this trash version
106             */
107            @Override
108            public long getClassNameId();
109    
110            /**
111             * Sets the class name ID of this trash version.
112             *
113             * @param classNameId the class name ID of this trash version
114             */
115            @Override
116            public void setClassNameId(long classNameId);
117    
118            /**
119             * Returns the class p k of this trash version.
120             *
121             * @return the class p k of this trash version
122             */
123            @Override
124            public long getClassPK();
125    
126            /**
127             * Sets the class p k of this trash version.
128             *
129             * @param classPK the class p k of this trash version
130             */
131            @Override
132            public void setClassPK(long classPK);
133    
134            /**
135             * Returns the type settings of this trash version.
136             *
137             * @return the type settings of this trash version
138             */
139            @AutoEscape
140            public String getTypeSettings();
141    
142            /**
143             * Sets the type settings of this trash version.
144             *
145             * @param typeSettings the type settings of this trash version
146             */
147            public void setTypeSettings(String typeSettings);
148    
149            /**
150             * Returns the status of this trash version.
151             *
152             * @return the status of this trash version
153             */
154            public int getStatus();
155    
156            /**
157             * Sets the status of this trash version.
158             *
159             * @param status the status of this trash version
160             */
161            public void setStatus(int status);
162    
163            @Override
164            public boolean isNew();
165    
166            @Override
167            public void setNew(boolean n);
168    
169            @Override
170            public boolean isCachedModel();
171    
172            @Override
173            public void setCachedModel(boolean cachedModel);
174    
175            @Override
176            public boolean isEscapedModel();
177    
178            @Override
179            public Serializable getPrimaryKeyObj();
180    
181            @Override
182            public void setPrimaryKeyObj(Serializable primaryKeyObj);
183    
184            @Override
185            public ExpandoBridge getExpandoBridge();
186    
187            @Override
188            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
189    
190            @Override
191            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
192    
193            @Override
194            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
195    
196            @Override
197            public Object clone();
198    
199            @Override
200            public int compareTo(TrashVersion trashVersion);
201    
202            @Override
203            public int hashCode();
204    
205            @Override
206            public CacheModel<TrashVersion> toCacheModel();
207    
208            @Override
209            public TrashVersion toEscapedModel();
210    
211            @Override
212            public TrashVersion toUnescapedModel();
213    
214            @Override
215            public String toString();
216    
217            @Override
218            public String toXmlString();
219    }