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