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