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.kernel.exception.SystemException;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    import java.util.Date;
026    
027    /**
028     * The base model interface for the Team service. Represents a row in the "Team" database table, with each column mapped to a property of this class.
029     *
030     * <p>
031     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.TeamModelImpl} 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.TeamImpl}.
032     * </p>
033     *
034     * <p>
035     * Never modify or reference this interface directly. All methods that expect a team model instance should use the {@link Team} interface instead.
036     * </p>
037     *
038     * @author Brian Wing Shun Chan
039     * @see Team
040     * @see com.liferay.portal.model.impl.TeamImpl
041     * @see com.liferay.portal.model.impl.TeamModelImpl
042     * @generated
043     */
044    public interface TeamModel extends BaseModel<Team> {
045            /**
046             * Gets the primary key of this team.
047             *
048             * @return the primary key of this team
049             */
050            public long getPrimaryKey();
051    
052            /**
053             * Sets the primary key of this team
054             *
055             * @param pk the primary key of this team
056             */
057            public void setPrimaryKey(long pk);
058    
059            /**
060             * Gets the team id of this team.
061             *
062             * @return the team id of this team
063             */
064            public long getTeamId();
065    
066            /**
067             * Sets the team id of this team.
068             *
069             * @param teamId the team id of this team
070             */
071            public void setTeamId(long teamId);
072    
073            /**
074             * Gets the company id of this team.
075             *
076             * @return the company id of this team
077             */
078            public long getCompanyId();
079    
080            /**
081             * Sets the company id of this team.
082             *
083             * @param companyId the company id of this team
084             */
085            public void setCompanyId(long companyId);
086    
087            /**
088             * Gets the user id of this team.
089             *
090             * @return the user id of this team
091             */
092            public long getUserId();
093    
094            /**
095             * Sets the user id of this team.
096             *
097             * @param userId the user id of this team
098             */
099            public void setUserId(long userId);
100    
101            /**
102             * Gets the user uuid of this team.
103             *
104             * @return the user uuid of this team
105             * @throws SystemException if a system exception occurred
106             */
107            public String getUserUuid() throws SystemException;
108    
109            /**
110             * Sets the user uuid of this team.
111             *
112             * @param userUuid the user uuid of this team
113             */
114            public void setUserUuid(String userUuid);
115    
116            /**
117             * Gets the user name of this team.
118             *
119             * @return the user name of this team
120             */
121            @AutoEscape
122            public String getUserName();
123    
124            /**
125             * Sets the user name of this team.
126             *
127             * @param userName the user name of this team
128             */
129            public void setUserName(String userName);
130    
131            /**
132             * Gets the create date of this team.
133             *
134             * @return the create date of this team
135             */
136            public Date getCreateDate();
137    
138            /**
139             * Sets the create date of this team.
140             *
141             * @param createDate the create date of this team
142             */
143            public void setCreateDate(Date createDate);
144    
145            /**
146             * Gets the modified date of this team.
147             *
148             * @return the modified date of this team
149             */
150            public Date getModifiedDate();
151    
152            /**
153             * Sets the modified date of this team.
154             *
155             * @param modifiedDate the modified date of this team
156             */
157            public void setModifiedDate(Date modifiedDate);
158    
159            /**
160             * Gets the group id of this team.
161             *
162             * @return the group id of this team
163             */
164            public long getGroupId();
165    
166            /**
167             * Sets the group id of this team.
168             *
169             * @param groupId the group id of this team
170             */
171            public void setGroupId(long groupId);
172    
173            /**
174             * Gets the name of this team.
175             *
176             * @return the name of this team
177             */
178            @AutoEscape
179            public String getName();
180    
181            /**
182             * Sets the name of this team.
183             *
184             * @param name the name of this team
185             */
186            public void setName(String name);
187    
188            /**
189             * Gets the description of this team.
190             *
191             * @return the description of this team
192             */
193            @AutoEscape
194            public String getDescription();
195    
196            /**
197             * Sets the description of this team.
198             *
199             * @param description the description of this team
200             */
201            public void setDescription(String description);
202    
203            /**
204             * Gets a copy of this team as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
205             *
206             * @return the escaped model instance
207             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
208             */
209            public Team toEscapedModel();
210    
211            public boolean isNew();
212    
213            public void setNew(boolean n);
214    
215            public boolean isCachedModel();
216    
217            public void setCachedModel(boolean cachedModel);
218    
219            public boolean isEscapedModel();
220    
221            public void setEscapedModel(boolean escapedModel);
222    
223            public Serializable getPrimaryKeyObj();
224    
225            public ExpandoBridge getExpandoBridge();
226    
227            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
228    
229            public Object clone();
230    
231            public int compareTo(Team team);
232    
233            public int hashCode();
234    
235            public String toString();
236    
237            public String toXmlString();
238    }