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