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 TasksProposal service. Represents a row in the "TasksProposal" 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.TasksProposalModelImpl} 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.TasksProposalImpl}.
035     * </p>
036     *
037     * @author Brian Wing Shun Chan
038     * @see TasksProposal
039     * @see com.liferay.portlet.tasks.model.impl.TasksProposalImpl
040     * @see com.liferay.portlet.tasks.model.impl.TasksProposalModelImpl
041     * @generated
042     */
043    public interface TasksProposalModel extends BaseModel<TasksProposal>,
044            GroupedModel {
045            /*
046             * NOTE FOR DEVELOPERS:
047             *
048             * Never modify or reference this interface directly. All methods that expect a tasks proposal model instance should use the {@link TasksProposal} interface instead.
049             */
050    
051            /**
052             * Gets the primary key of this tasks proposal.
053             *
054             * @return the primary key of this tasks proposal
055             */
056            public long getPrimaryKey();
057    
058            /**
059             * Sets the primary key of this tasks proposal
060             *
061             * @param primaryKey the primary key of this tasks proposal
062             */
063            public void setPrimaryKey(long primaryKey);
064    
065            /**
066             * Gets the proposal ID of this tasks proposal.
067             *
068             * @return the proposal ID of this tasks proposal
069             */
070            public long getProposalId();
071    
072            /**
073             * Sets the proposal ID of this tasks proposal.
074             *
075             * @param proposalId the proposal ID of this tasks proposal
076             */
077            public void setProposalId(long proposalId);
078    
079            /**
080             * Gets the group ID of this tasks proposal.
081             *
082             * @return the group ID of this tasks proposal
083             */
084            public long getGroupId();
085    
086            /**
087             * Sets the group ID of this tasks proposal.
088             *
089             * @param groupId the group ID of this tasks proposal
090             */
091            public void setGroupId(long groupId);
092    
093            /**
094             * Gets the company ID of this tasks proposal.
095             *
096             * @return the company ID of this tasks proposal
097             */
098            public long getCompanyId();
099    
100            /**
101             * Sets the company ID of this tasks proposal.
102             *
103             * @param companyId the company ID of this tasks proposal
104             */
105            public void setCompanyId(long companyId);
106    
107            /**
108             * Gets the user ID of this tasks proposal.
109             *
110             * @return the user ID of this tasks proposal
111             */
112            public long getUserId();
113    
114            /**
115             * Sets the user ID of this tasks proposal.
116             *
117             * @param userId the user ID of this tasks proposal
118             */
119            public void setUserId(long userId);
120    
121            /**
122             * Gets the user uuid of this tasks proposal.
123             *
124             * @return the user uuid of this tasks proposal
125             * @throws SystemException if a system exception occurred
126             */
127            public String getUserUuid() throws SystemException;
128    
129            /**
130             * Sets the user uuid of this tasks proposal.
131             *
132             * @param userUuid the user uuid of this tasks proposal
133             */
134            public void setUserUuid(String userUuid);
135    
136            /**
137             * Gets the user name of this tasks proposal.
138             *
139             * @return the user name of this tasks proposal
140             */
141            @AutoEscape
142            public String getUserName();
143    
144            /**
145             * Sets the user name of this tasks proposal.
146             *
147             * @param userName the user name of this tasks proposal
148             */
149            public void setUserName(String userName);
150    
151            /**
152             * Gets the create date of this tasks proposal.
153             *
154             * @return the create date of this tasks proposal
155             */
156            public Date getCreateDate();
157    
158            /**
159             * Sets the create date of this tasks proposal.
160             *
161             * @param createDate the create date of this tasks proposal
162             */
163            public void setCreateDate(Date createDate);
164    
165            /**
166             * Gets the modified date of this tasks proposal.
167             *
168             * @return the modified date of this tasks proposal
169             */
170            public Date getModifiedDate();
171    
172            /**
173             * Sets the modified date of this tasks proposal.
174             *
175             * @param modifiedDate the modified date of this tasks proposal
176             */
177            public void setModifiedDate(Date modifiedDate);
178    
179            /**
180             * Gets the class name of the model instance this tasks proposal is polymorphically associated with.
181             *
182             * @return the class name of the model instance this tasks proposal is polymorphically associated with
183             */
184            public String getClassName();
185    
186            /**
187             * Gets the class name ID of this tasks proposal.
188             *
189             * @return the class name ID of this tasks proposal
190             */
191            public long getClassNameId();
192    
193            /**
194             * Sets the class name ID of this tasks proposal.
195             *
196             * @param classNameId the class name ID of this tasks proposal
197             */
198            public void setClassNameId(long classNameId);
199    
200            /**
201             * Gets the class p k of this tasks proposal.
202             *
203             * @return the class p k of this tasks proposal
204             */
205            @AutoEscape
206            public String getClassPK();
207    
208            /**
209             * Sets the class p k of this tasks proposal.
210             *
211             * @param classPK the class p k of this tasks proposal
212             */
213            public void setClassPK(String classPK);
214    
215            /**
216             * Gets the name of this tasks proposal.
217             *
218             * @return the name of this tasks proposal
219             */
220            @AutoEscape
221            public String getName();
222    
223            /**
224             * Sets the name of this tasks proposal.
225             *
226             * @param name the name of this tasks proposal
227             */
228            public void setName(String name);
229    
230            /**
231             * Gets the description of this tasks proposal.
232             *
233             * @return the description of this tasks proposal
234             */
235            @AutoEscape
236            public String getDescription();
237    
238            /**
239             * Sets the description of this tasks proposal.
240             *
241             * @param description the description of this tasks proposal
242             */
243            public void setDescription(String description);
244    
245            /**
246             * Gets the publish date of this tasks proposal.
247             *
248             * @return the publish date of this tasks proposal
249             */
250            public Date getPublishDate();
251    
252            /**
253             * Sets the publish date of this tasks proposal.
254             *
255             * @param publishDate the publish date of this tasks proposal
256             */
257            public void setPublishDate(Date publishDate);
258    
259            /**
260             * Gets the due date of this tasks proposal.
261             *
262             * @return the due date of this tasks proposal
263             */
264            public Date getDueDate();
265    
266            /**
267             * Sets the due date of this tasks proposal.
268             *
269             * @param dueDate the due date of this tasks proposal
270             */
271            public void setDueDate(Date dueDate);
272    
273            public boolean isNew();
274    
275            public void setNew(boolean n);
276    
277            public boolean isCachedModel();
278    
279            public void setCachedModel(boolean cachedModel);
280    
281            public boolean isEscapedModel();
282    
283            public void setEscapedModel(boolean escapedModel);
284    
285            public Serializable getPrimaryKeyObj();
286    
287            public void setPrimaryKeyObj(Serializable primaryKeyObj);
288    
289            public ExpandoBridge getExpandoBridge();
290    
291            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
292    
293            public Object clone();
294    
295            public int compareTo(TasksProposal tasksProposal);
296    
297            public int hashCode();
298    
299            public CacheModel<TasksProposal> toCacheModel();
300    
301            public TasksProposal toEscapedModel();
302    
303            public String toString();
304    
305            public String toXmlString();
306    }