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     * <p>
029     * This interface is a model that represents the Team table in the
030     * database.
031     * </p>
032     *
033     * @author    Brian Wing Shun Chan
034     * @see       Team
035     * @see       com.liferay.portal.model.impl.TeamImpl
036     * @see       com.liferay.portal.model.impl.TeamModelImpl
037     * @generated
038     */
039    public interface TeamModel extends BaseModel<Team> {
040            public long getPrimaryKey();
041    
042            public void setPrimaryKey(long pk);
043    
044            public long getTeamId();
045    
046            public void setTeamId(long teamId);
047    
048            public long getCompanyId();
049    
050            public void setCompanyId(long companyId);
051    
052            public long getUserId();
053    
054            public void setUserId(long userId);
055    
056            public String getUserUuid() throws SystemException;
057    
058            public void setUserUuid(String userUuid);
059    
060            @AutoEscape
061            public String getUserName();
062    
063            public void setUserName(String userName);
064    
065            public Date getCreateDate();
066    
067            public void setCreateDate(Date createDate);
068    
069            public Date getModifiedDate();
070    
071            public void setModifiedDate(Date modifiedDate);
072    
073            public long getGroupId();
074    
075            public void setGroupId(long groupId);
076    
077            @AutoEscape
078            public String getName();
079    
080            public void setName(String name);
081    
082            @AutoEscape
083            public String getDescription();
084    
085            public void setDescription(String description);
086    
087            public Team toEscapedModel();
088    
089            public boolean isNew();
090    
091            public void setNew(boolean n);
092    
093            public boolean isCachedModel();
094    
095            public void setCachedModel(boolean cachedModel);
096    
097            public boolean isEscapedModel();
098    
099            public void setEscapedModel(boolean escapedModel);
100    
101            public Serializable getPrimaryKeyObj();
102    
103            public ExpandoBridge getExpandoBridge();
104    
105            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
106    
107            public Object clone();
108    
109            public int compareTo(Team team);
110    
111            public int hashCode();
112    
113            public String toString();
114    
115            public String toXmlString();
116    }