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