001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.tasks.model;
016    
017    import com.liferay.portal.kernel.bean.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.model.BaseModel;
020    import com.liferay.portal.model.CacheModel;
021    import com.liferay.portal.model.GroupedModel;
022    import com.liferay.portal.service.ServiceContext;
023    
024    import com.liferay.portlet.expando.model.ExpandoBridge;
025    
026    import java.io.Serializable;
027    
028    import java.util.Date;
029    
030    /**
031     * The base model interface for the TasksReview service. Represents a row in the "TasksReview" 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.tasks.model.impl.TasksReviewModelImpl} 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.tasks.model.impl.TasksReviewImpl}.
035     * </p>
036     *
037     * @author Brian Wing Shun Chan
038     * @see TasksReview
039     * @see com.liferay.portlet.tasks.model.impl.TasksReviewImpl
040     * @see com.liferay.portlet.tasks.model.impl.TasksReviewModelImpl
041     * @generated
042     */
043    public interface TasksReviewModel extends BaseModel<TasksReview>, GroupedModel {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. All methods that expect a tasks review model instance should use the {@link TasksReview} interface instead.
048             */
049    
050            /**
051             * Gets the primary key of this tasks review.
052             *
053             * @return the primary key of this tasks review
054             */
055            public long getPrimaryKey();
056    
057            /**
058             * Sets the primary key of this tasks review
059             *
060             * @param primaryKey the primary key of this tasks review
061             */
062            public void setPrimaryKey(long primaryKey);
063    
064            /**
065             * Gets the review ID of this tasks review.
066             *
067             * @return the review ID of this tasks review
068             */
069            public long getReviewId();
070    
071            /**
072             * Sets the review ID of this tasks review.
073             *
074             * @param reviewId the review ID of this tasks review
075             */
076            public void setReviewId(long reviewId);
077    
078            /**
079             * Gets the group ID of this tasks review.
080             *
081             * @return the group ID of this tasks review
082             */
083            public long getGroupId();
084    
085            /**
086             * Sets the group ID of this tasks review.
087             *
088             * @param groupId the group ID of this tasks review
089             */
090            public void setGroupId(long groupId);
091    
092            /**
093             * Gets the company ID of this tasks review.
094             *
095             * @return the company ID of this tasks review
096             */
097            public long getCompanyId();
098    
099            /**
100             * Sets the company ID of this tasks review.
101             *
102             * @param companyId the company ID of this tasks review
103             */
104            public void setCompanyId(long companyId);
105    
106            /**
107             * Gets the user ID of this tasks review.
108             *
109             * @return the user ID of this tasks review
110             */
111            public long getUserId();
112    
113            /**
114             * Sets the user ID of this tasks review.
115             *
116             * @param userId the user ID of this tasks review
117             */
118            public void setUserId(long userId);
119    
120            /**
121             * Gets the user uuid of this tasks review.
122             *
123             * @return the user uuid of this tasks review
124             * @throws SystemException if a system exception occurred
125             */
126            public String getUserUuid() throws SystemException;
127    
128            /**
129             * Sets the user uuid of this tasks review.
130             *
131             * @param userUuid the user uuid of this tasks review
132             */
133            public void setUserUuid(String userUuid);
134    
135            /**
136             * Gets the user name of this tasks review.
137             *
138             * @return the user name of this tasks review
139             */
140            @AutoEscape
141            public String getUserName();
142    
143            /**
144             * Sets the user name of this tasks review.
145             *
146             * @param userName the user name of this tasks review
147             */
148            public void setUserName(String userName);
149    
150            /**
151             * Gets the create date of this tasks review.
152             *
153             * @return the create date of this tasks review
154             */
155            public Date getCreateDate();
156    
157            /**
158             * Sets the create date of this tasks review.
159             *
160             * @param createDate the create date of this tasks review
161             */
162            public void setCreateDate(Date createDate);
163    
164            /**
165             * Gets the modified date of this tasks review.
166             *
167             * @return the modified date of this tasks review
168             */
169            public Date getModifiedDate();
170    
171            /**
172             * Sets the modified date of this tasks review.
173             *
174             * @param modifiedDate the modified date of this tasks review
175             */
176            public void setModifiedDate(Date modifiedDate);
177    
178            /**
179             * Gets the proposal ID of this tasks review.
180             *
181             * @return the proposal ID of this tasks review
182             */
183            public long getProposalId();
184    
185            /**
186             * Sets the proposal ID of this tasks review.
187             *
188             * @param proposalId the proposal ID of this tasks review
189             */
190            public void setProposalId(long proposalId);
191    
192            /**
193             * Gets the assigned by user ID of this tasks review.
194             *
195             * @return the assigned by user ID of this tasks review
196             */
197            public long getAssignedByUserId();
198    
199            /**
200             * Sets the assigned by user ID of this tasks review.
201             *
202             * @param assignedByUserId the assigned by user ID of this tasks review
203             */
204            public void setAssignedByUserId(long assignedByUserId);
205    
206            /**
207             * Gets the assigned by user uuid of this tasks review.
208             *
209             * @return the assigned by user uuid of this tasks review
210             * @throws SystemException if a system exception occurred
211             */
212            public String getAssignedByUserUuid() throws SystemException;
213    
214            /**
215             * Sets the assigned by user uuid of this tasks review.
216             *
217             * @param assignedByUserUuid the assigned by user uuid of this tasks review
218             */
219            public void setAssignedByUserUuid(String assignedByUserUuid);
220    
221            /**
222             * Gets the assigned by user name of this tasks review.
223             *
224             * @return the assigned by user name of this tasks review
225             */
226            @AutoEscape
227            public String getAssignedByUserName();
228    
229            /**
230             * Sets the assigned by user name of this tasks review.
231             *
232             * @param assignedByUserName the assigned by user name of this tasks review
233             */
234            public void setAssignedByUserName(String assignedByUserName);
235    
236            /**
237             * Gets the stage of this tasks review.
238             *
239             * @return the stage of this tasks review
240             */
241            public int getStage();
242    
243            /**
244             * Sets the stage of this tasks review.
245             *
246             * @param stage the stage of this tasks review
247             */
248            public void setStage(int stage);
249    
250            /**
251             * Gets the completed of this tasks review.
252             *
253             * @return the completed of this tasks review
254             */
255            public boolean getCompleted();
256    
257            /**
258             * Determines if this tasks review is completed.
259             *
260             * @return <code>true</code> if this tasks review is completed; <code>false</code> otherwise
261             */
262            public boolean isCompleted();
263    
264            /**
265             * Sets whether this tasks review is completed.
266             *
267             * @param completed the completed of this tasks review
268             */
269            public void setCompleted(boolean completed);
270    
271            /**
272             * Gets the rejected of this tasks review.
273             *
274             * @return the rejected of this tasks review
275             */
276            public boolean getRejected();
277    
278            /**
279             * Determines if this tasks review is rejected.
280             *
281             * @return <code>true</code> if this tasks review is rejected; <code>false</code> otherwise
282             */
283            public boolean isRejected();
284    
285            /**
286             * Sets whether this tasks review is rejected.
287             *
288             * @param rejected the rejected of this tasks review
289             */
290            public void setRejected(boolean rejected);
291    
292            public boolean isNew();
293    
294            public void setNew(boolean n);
295    
296            public boolean isCachedModel();
297    
298            public void setCachedModel(boolean cachedModel);
299    
300            public boolean isEscapedModel();
301    
302            public void setEscapedModel(boolean escapedModel);
303    
304            public Serializable getPrimaryKeyObj();
305    
306            public void setPrimaryKeyObj(Serializable primaryKeyObj);
307    
308            public ExpandoBridge getExpandoBridge();
309    
310            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
311    
312            public Object clone();
313    
314            public int compareTo(TasksReview tasksReview);
315    
316            public int hashCode();
317    
318            public CacheModel<TasksReview> toCacheModel();
319    
320            public TasksReview toEscapedModel();
321    
322            public String toString();
323    
324            public String toXmlString();
325    }