001    /**
002     * Copyright (c) 2000-2010 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.annotation.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     * <p>
034     * Never modify or reference this interface directly. All methods that expect a release model instance should use the {@link Release} interface instead.
035     * </p>
036     *
037     * @author Brian Wing Shun Chan
038     * @see Release
039     * @see com.liferay.portal.model.impl.ReleaseImpl
040     * @see com.liferay.portal.model.impl.ReleaseModelImpl
041     * @generated
042     */
043    public interface ReleaseModel extends BaseModel<Release> {
044            /**
045             * Gets the primary key of this release.
046             *
047             * @return the primary key of this release
048             */
049            public long getPrimaryKey();
050    
051            /**
052             * Sets the primary key of this release
053             *
054             * @param pk the primary key of this release
055             */
056            public void setPrimaryKey(long pk);
057    
058            /**
059             * Gets the release id of this release.
060             *
061             * @return the release id of this release
062             */
063            public long getReleaseId();
064    
065            /**
066             * Sets the release id of this release.
067             *
068             * @param releaseId the release id of this release
069             */
070            public void setReleaseId(long releaseId);
071    
072            /**
073             * Gets the create date of this release.
074             *
075             * @return the create date of this release
076             */
077            public Date getCreateDate();
078    
079            /**
080             * Sets the create date of this release.
081             *
082             * @param createDate the create date of this release
083             */
084            public void setCreateDate(Date createDate);
085    
086            /**
087             * Gets the modified date of this release.
088             *
089             * @return the modified date of this release
090             */
091            public Date getModifiedDate();
092    
093            /**
094             * Sets the modified date of this release.
095             *
096             * @param modifiedDate the modified date of this release
097             */
098            public void setModifiedDate(Date modifiedDate);
099    
100            /**
101             * Gets the servlet context name of this release.
102             *
103             * @return the servlet context name of this release
104             */
105            @AutoEscape
106            public String getServletContextName();
107    
108            /**
109             * Sets the servlet context name of this release.
110             *
111             * @param servletContextName the servlet context name of this release
112             */
113            public void setServletContextName(String servletContextName);
114    
115            /**
116             * Gets the build number of this release.
117             *
118             * @return the build number of this release
119             */
120            public int getBuildNumber();
121    
122            /**
123             * Sets the build number of this release.
124             *
125             * @param buildNumber the build number of this release
126             */
127            public void setBuildNumber(int buildNumber);
128    
129            /**
130             * Gets the build date of this release.
131             *
132             * @return the build date of this release
133             */
134            public Date getBuildDate();
135    
136            /**
137             * Sets the build date of this release.
138             *
139             * @param buildDate the build date of this release
140             */
141            public void setBuildDate(Date buildDate);
142    
143            /**
144             * Gets the verified of this release.
145             *
146             * @return the verified of this release
147             */
148            public boolean getVerified();
149    
150            /**
151             * Determines whether this release is verified.
152             *
153             * @return whether this release is verified
154             */
155            public boolean isVerified();
156    
157            /**
158             * Sets whether this {$entity.humanName} is verified.
159             *
160             * @param verified the verified of this release
161             */
162            public void setVerified(boolean verified);
163    
164            /**
165             * Gets the test string of this release.
166             *
167             * @return the test string of this release
168             */
169            @AutoEscape
170            public String getTestString();
171    
172            /**
173             * Sets the test string of this release.
174             *
175             * @param testString the test string of this release
176             */
177            public void setTestString(String testString);
178    
179            /**
180             * Gets a copy of this release as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
181             *
182             * @return the escaped model instance
183             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
184             */
185            public Release toEscapedModel();
186    
187            public boolean isNew();
188    
189            public void setNew(boolean n);
190    
191            public boolean isCachedModel();
192    
193            public void setCachedModel(boolean cachedModel);
194    
195            public boolean isEscapedModel();
196    
197            public void setEscapedModel(boolean escapedModel);
198    
199            public Serializable getPrimaryKeyObj();
200    
201            public ExpandoBridge getExpandoBridge();
202    
203            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
204    
205            public Object clone();
206    
207            public int compareTo(Release release);
208    
209            public int hashCode();
210    
211            public String toString();
212    
213            public String toXmlString();
214    }