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.portlet.tasks.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.model.BaseModel;
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     * <p>
030     * This interface is a model that represents the TasksProposal table in the
031     * database.
032     * </p>
033     *
034     * @author    Brian Wing Shun Chan
035     * @see       TasksProposal
036     * @see       com.liferay.portlet.tasks.model.impl.TasksProposalImpl
037     * @see       com.liferay.portlet.tasks.model.impl.TasksProposalModelImpl
038     * @generated
039     */
040    public interface TasksProposalModel extends BaseModel<TasksProposal> {
041            public long getPrimaryKey();
042    
043            public void setPrimaryKey(long pk);
044    
045            public long getProposalId();
046    
047            public void setProposalId(long proposalId);
048    
049            public long getGroupId();
050    
051            public void setGroupId(long groupId);
052    
053            public long getCompanyId();
054    
055            public void setCompanyId(long companyId);
056    
057            public long getUserId();
058    
059            public void setUserId(long userId);
060    
061            public String getUserUuid() throws SystemException;
062    
063            public void setUserUuid(String userUuid);
064    
065            @AutoEscape
066            public String getUserName();
067    
068            public void setUserName(String userName);
069    
070            public Date getCreateDate();
071    
072            public void setCreateDate(Date createDate);
073    
074            public Date getModifiedDate();
075    
076            public void setModifiedDate(Date modifiedDate);
077    
078            public String getClassName();
079    
080            public long getClassNameId();
081    
082            public void setClassNameId(long classNameId);
083    
084            @AutoEscape
085            public String getClassPK();
086    
087            public void setClassPK(String classPK);
088    
089            @AutoEscape
090            public String getName();
091    
092            public void setName(String name);
093    
094            @AutoEscape
095            public String getDescription();
096    
097            public void setDescription(String description);
098    
099            public Date getPublishDate();
100    
101            public void setPublishDate(Date publishDate);
102    
103            public Date getDueDate();
104    
105            public void setDueDate(Date dueDate);
106    
107            public TasksProposal toEscapedModel();
108    
109            public boolean isNew();
110    
111            public void setNew(boolean n);
112    
113            public boolean isCachedModel();
114    
115            public void setCachedModel(boolean cachedModel);
116    
117            public boolean isEscapedModel();
118    
119            public void setEscapedModel(boolean escapedModel);
120    
121            public Serializable getPrimaryKeyObj();
122    
123            public ExpandoBridge getExpandoBridge();
124    
125            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
126    
127            public Object clone();
128    
129            public int compareTo(TasksProposal tasksProposal);
130    
131            public int hashCode();
132    
133            public String toString();
134    
135            public String toXmlString();
136    }