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>, GroupedModel, MVCCModel {
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 team ID of this team.
081             *
082             * @return the team ID of this team
083             */
084            public long getTeamId();
085    
086            /**
087             * Sets the team ID of this team.
088             *
089             * @param teamId the team ID of this team
090             */
091            public void setTeamId(long teamId);
092    
093            /**
094             * Returns the company ID of this team.
095             *
096             * @return the company ID of this team
097             */
098            @Override
099            public long getCompanyId();
100    
101            /**
102             * Sets the company ID of this team.
103             *
104             * @param companyId the company ID of this team
105             */
106            @Override
107            public void setCompanyId(long companyId);
108    
109            /**
110             * Returns the user ID of this team.
111             *
112             * @return the user ID of this team
113             */
114            @Override
115            public long getUserId();
116    
117            /**
118             * Sets the user ID of this team.
119             *
120             * @param userId the user ID of this team
121             */
122            @Override
123            public void setUserId(long userId);
124    
125            /**
126             * Returns the user uuid of this team.
127             *
128             * @return the user uuid of this team
129             */
130            @Override
131            public String getUserUuid();
132    
133            /**
134             * Sets the user uuid of this team.
135             *
136             * @param userUuid the user uuid of this team
137             */
138            @Override
139            public void setUserUuid(String userUuid);
140    
141            /**
142             * Returns the user name of this team.
143             *
144             * @return the user name of this team
145             */
146            @AutoEscape
147            @Override
148            public String getUserName();
149    
150            /**
151             * Sets the user name of this team.
152             *
153             * @param userName the user name of this team
154             */
155            @Override
156            public void setUserName(String userName);
157    
158            /**
159             * Returns the create date of this team.
160             *
161             * @return the create date of this team
162             */
163            @Override
164            public Date getCreateDate();
165    
166            /**
167             * Sets the create date of this team.
168             *
169             * @param createDate the create date of this team
170             */
171            @Override
172            public void setCreateDate(Date createDate);
173    
174            /**
175             * Returns the modified date of this team.
176             *
177             * @return the modified date of this team
178             */
179            @Override
180            public Date getModifiedDate();
181    
182            /**
183             * Sets the modified date of this team.
184             *
185             * @param modifiedDate the modified date of this team
186             */
187            @Override
188            public void setModifiedDate(Date modifiedDate);
189    
190            /**
191             * Returns the group ID of this team.
192             *
193             * @return the group ID of this team
194             */
195            @Override
196            public long getGroupId();
197    
198            /**
199             * Sets the group ID of this team.
200             *
201             * @param groupId the group ID of this team
202             */
203            @Override
204            public void setGroupId(long groupId);
205    
206            /**
207             * Returns the name of this team.
208             *
209             * @return the name of this team
210             */
211            @AutoEscape
212            public String getName();
213    
214            /**
215             * Sets the name of this team.
216             *
217             * @param name the name of this team
218             */
219            public void setName(String name);
220    
221            /**
222             * Returns the description of this team.
223             *
224             * @return the description of this team
225             */
226            @AutoEscape
227            public String getDescription();
228    
229            /**
230             * Sets the description of this team.
231             *
232             * @param description the description of this team
233             */
234            public void setDescription(String description);
235    
236            @Override
237            public boolean isNew();
238    
239            @Override
240            public void setNew(boolean n);
241    
242            @Override
243            public boolean isCachedModel();
244    
245            @Override
246            public void setCachedModel(boolean cachedModel);
247    
248            @Override
249            public boolean isEscapedModel();
250    
251            @Override
252            public Serializable getPrimaryKeyObj();
253    
254            @Override
255            public void setPrimaryKeyObj(Serializable primaryKeyObj);
256    
257            @Override
258            public ExpandoBridge getExpandoBridge();
259    
260            @Override
261            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
262    
263            @Override
264            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
265    
266            @Override
267            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
268    
269            @Override
270            public Object clone();
271    
272            @Override
273            public int compareTo(com.liferay.portal.model.Team team);
274    
275            @Override
276            public int hashCode();
277    
278            @Override
279            public CacheModel<com.liferay.portal.model.Team> toCacheModel();
280    
281            @Override
282            public com.liferay.portal.model.Team toEscapedModel();
283    
284            @Override
285            public com.liferay.portal.model.Team toUnescapedModel();
286    
287            @Override
288            public String toString();
289    
290            @Override
291            public String toXmlString();
292    }