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 public long getCompanyId(); 081 082 /** 083 * Sets the company ID of this team. 084 * 085 * @param companyId the company ID of this team 086 */ 087 public void setCompanyId(long companyId); 088 089 /** 090 * Returns the user ID of this team. 091 * 092 * @return the user ID of this team 093 */ 094 public long getUserId(); 095 096 /** 097 * Sets the user ID of this team. 098 * 099 * @param userId the user ID of this team 100 */ 101 public void setUserId(long userId); 102 103 /** 104 * Returns the user uuid of this team. 105 * 106 * @return the user uuid of this team 107 * @throws SystemException if a system exception occurred 108 */ 109 public String getUserUuid() throws SystemException; 110 111 /** 112 * Sets the user uuid of this team. 113 * 114 * @param userUuid the user uuid of this team 115 */ 116 public void setUserUuid(String userUuid); 117 118 /** 119 * Returns the user name of this team. 120 * 121 * @return the user name of this team 122 */ 123 @AutoEscape 124 public String getUserName(); 125 126 /** 127 * Sets the user name of this team. 128 * 129 * @param userName the user name of this team 130 */ 131 public void setUserName(String userName); 132 133 /** 134 * Returns the create date of this team. 135 * 136 * @return the create date of this team 137 */ 138 public Date getCreateDate(); 139 140 /** 141 * Sets the create date of this team. 142 * 143 * @param createDate the create date of this team 144 */ 145 public void setCreateDate(Date createDate); 146 147 /** 148 * Returns the modified date of this team. 149 * 150 * @return the modified date of this team 151 */ 152 public Date getModifiedDate(); 153 154 /** 155 * Sets the modified date of this team. 156 * 157 * @param modifiedDate the modified date of this team 158 */ 159 public void setModifiedDate(Date modifiedDate); 160 161 /** 162 * Returns the group ID of this team. 163 * 164 * @return the group ID of this team 165 */ 166 public long getGroupId(); 167 168 /** 169 * Sets the group ID of this team. 170 * 171 * @param groupId the group ID of this team 172 */ 173 public void setGroupId(long groupId); 174 175 /** 176 * Returns the name of this team. 177 * 178 * @return the name of this team 179 */ 180 @AutoEscape 181 public String getName(); 182 183 /** 184 * Sets the name of this team. 185 * 186 * @param name the name of this team 187 */ 188 public void setName(String name); 189 190 /** 191 * Returns the description of this team. 192 * 193 * @return the description of this team 194 */ 195 @AutoEscape 196 public String getDescription(); 197 198 /** 199 * Sets the description of this team. 200 * 201 * @param description the description of this team 202 */ 203 public void setDescription(String description); 204 205 public boolean isNew(); 206 207 public void setNew(boolean n); 208 209 public boolean isCachedModel(); 210 211 public void setCachedModel(boolean cachedModel); 212 213 public boolean isEscapedModel(); 214 215 public Serializable getPrimaryKeyObj(); 216 217 public void setPrimaryKeyObj(Serializable primaryKeyObj); 218 219 public ExpandoBridge getExpandoBridge(); 220 221 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 222 223 public Object clone(); 224 225 public int compareTo(Team team); 226 227 public int hashCode(); 228 229 public CacheModel<Team> toCacheModel(); 230 231 public Team toEscapedModel(); 232 233 public Team toUnescapedModel(); 234 235 public String toString(); 236 237 public String toXmlString(); 238 }