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