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.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 Release service. Represents a row in the "Release_" 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.ReleaseModelImpl} 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.ReleaseImpl}.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see Release
037     * @see com.liferay.portal.model.impl.ReleaseImpl
038     * @see com.liferay.portal.model.impl.ReleaseModelImpl
039     * @generated
040     */
041    @ProviderType
042    public interface ReleaseModel extends BaseModel<Release> {
043            /*
044             * NOTE FOR DEVELOPERS:
045             *
046             * Never modify or reference this interface directly. All methods that expect a release model instance should use the {@link Release} interface instead.
047             */
048    
049            /**
050             * Returns the primary key of this release.
051             *
052             * @return the primary key of this release
053             */
054            public long getPrimaryKey();
055    
056            /**
057             * Sets the primary key of this release.
058             *
059             * @param primaryKey the primary key of this release
060             */
061            public void setPrimaryKey(long primaryKey);
062    
063            /**
064             * Returns the release ID of this release.
065             *
066             * @return the release ID of this release
067             */
068            public long getReleaseId();
069    
070            /**
071             * Sets the release ID of this release.
072             *
073             * @param releaseId the release ID of this release
074             */
075            public void setReleaseId(long releaseId);
076    
077            /**
078             * Returns the create date of this release.
079             *
080             * @return the create date of this release
081             */
082            public Date getCreateDate();
083    
084            /**
085             * Sets the create date of this release.
086             *
087             * @param createDate the create date of this release
088             */
089            public void setCreateDate(Date createDate);
090    
091            /**
092             * Returns the modified date of this release.
093             *
094             * @return the modified date of this release
095             */
096            public Date getModifiedDate();
097    
098            /**
099             * Sets the modified date of this release.
100             *
101             * @param modifiedDate the modified date of this release
102             */
103            public void setModifiedDate(Date modifiedDate);
104    
105            /**
106             * Returns the servlet context name of this release.
107             *
108             * @return the servlet context name of this release
109             */
110            @AutoEscape
111            public String getServletContextName();
112    
113            /**
114             * Sets the servlet context name of this release.
115             *
116             * @param servletContextName the servlet context name of this release
117             */
118            public void setServletContextName(String servletContextName);
119    
120            /**
121             * Returns the build number of this release.
122             *
123             * @return the build number of this release
124             */
125            public int getBuildNumber();
126    
127            /**
128             * Sets the build number of this release.
129             *
130             * @param buildNumber the build number of this release
131             */
132            public void setBuildNumber(int buildNumber);
133    
134            /**
135             * Returns the build date of this release.
136             *
137             * @return the build date of this release
138             */
139            public Date getBuildDate();
140    
141            /**
142             * Sets the build date of this release.
143             *
144             * @param buildDate the build date of this release
145             */
146            public void setBuildDate(Date buildDate);
147    
148            /**
149             * Returns the verified of this release.
150             *
151             * @return the verified of this release
152             */
153            public boolean getVerified();
154    
155            /**
156             * Returns <code>true</code> if this release is verified.
157             *
158             * @return <code>true</code> if this release is verified; <code>false</code> otherwise
159             */
160            public boolean isVerified();
161    
162            /**
163             * Sets whether this release is verified.
164             *
165             * @param verified the verified of this release
166             */
167            public void setVerified(boolean verified);
168    
169            /**
170             * Returns the state of this release.
171             *
172             * @return the state of this release
173             */
174            public int getState();
175    
176            /**
177             * Sets the state of this release.
178             *
179             * @param state the state of this release
180             */
181            public void setState(int state);
182    
183            /**
184             * Returns the test string of this release.
185             *
186             * @return the test string of this release
187             */
188            @AutoEscape
189            public String getTestString();
190    
191            /**
192             * Sets the test string of this release.
193             *
194             * @param testString the test string of this release
195             */
196            public void setTestString(String testString);
197    
198            @Override
199            public boolean isNew();
200    
201            @Override
202            public void setNew(boolean n);
203    
204            @Override
205            public boolean isCachedModel();
206    
207            @Override
208            public void setCachedModel(boolean cachedModel);
209    
210            @Override
211            public boolean isEscapedModel();
212    
213            @Override
214            public Serializable getPrimaryKeyObj();
215    
216            @Override
217            public void setPrimaryKeyObj(Serializable primaryKeyObj);
218    
219            @Override
220            public ExpandoBridge getExpandoBridge();
221    
222            @Override
223            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
224    
225            @Override
226            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
227    
228            @Override
229            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
230    
231            @Override
232            public Object clone();
233    
234            @Override
235            public int compareTo(Release release);
236    
237            @Override
238            public int hashCode();
239    
240            @Override
241            public CacheModel<Release> toCacheModel();
242    
243            @Override
244            public Release toEscapedModel();
245    
246            @Override
247            public Release toUnescapedModel();
248    
249            @Override
250            public String toString();
251    
252            @Override
253            public String toXmlString();
254    }