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 aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.kernel.exception.SystemException; 021 import com.liferay.portal.service.ServiceContext; 022 023 import com.liferay.portlet.expando.model.ExpandoBridge; 024 025 import java.io.Serializable; 026 027 import java.util.Date; 028 029 /** 030 * 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. 031 * 032 * <p> 033 * 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}. 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see Team 038 * @see com.liferay.portal.model.impl.TeamImpl 039 * @see com.liferay.portal.model.impl.TeamModelImpl 040 * @generated 041 */ 042 @ProviderType 043 public interface TeamModel extends BaseModel<Team>, GroupedModel { 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 team ID of this team. 066 * 067 * @return the team ID of this team 068 */ 069 public long getTeamId(); 070 071 /** 072 * Sets the team ID of this team. 073 * 074 * @param teamId the team ID of this team 075 */ 076 public void setTeamId(long teamId); 077 078 /** 079 * Returns the company ID of this team. 080 * 081 * @return the company ID of this team 082 */ 083 @Override 084 public long getCompanyId(); 085 086 /** 087 * Sets the company ID of this team. 088 * 089 * @param companyId the company ID of this team 090 */ 091 @Override 092 public void setCompanyId(long companyId); 093 094 /** 095 * Returns the user ID of this team. 096 * 097 * @return the user ID of this team 098 */ 099 @Override 100 public long getUserId(); 101 102 /** 103 * Sets the user ID of this team. 104 * 105 * @param userId the user ID of this team 106 */ 107 @Override 108 public void setUserId(long userId); 109 110 /** 111 * Returns the user uuid of this team. 112 * 113 * @return the user uuid of this team 114 * @throws SystemException if a system exception occurred 115 */ 116 @Override 117 public String getUserUuid() throws SystemException; 118 119 /** 120 * Sets the user uuid of this team. 121 * 122 * @param userUuid the user uuid of this team 123 */ 124 @Override 125 public void setUserUuid(String userUuid); 126 127 /** 128 * Returns the user name of this team. 129 * 130 * @return the user name of this team 131 */ 132 @AutoEscape 133 @Override 134 public String getUserName(); 135 136 /** 137 * Sets the user name of this team. 138 * 139 * @param userName the user name of this team 140 */ 141 @Override 142 public void setUserName(String userName); 143 144 /** 145 * Returns the create date of this team. 146 * 147 * @return the create date of this team 148 */ 149 @Override 150 public Date getCreateDate(); 151 152 /** 153 * Sets the create date of this team. 154 * 155 * @param createDate the create date of this team 156 */ 157 @Override 158 public void setCreateDate(Date createDate); 159 160 /** 161 * Returns the modified date of this team. 162 * 163 * @return the modified date of this team 164 */ 165 @Override 166 public Date getModifiedDate(); 167 168 /** 169 * Sets the modified date of this team. 170 * 171 * @param modifiedDate the modified date of this team 172 */ 173 @Override 174 public void setModifiedDate(Date modifiedDate); 175 176 /** 177 * Returns the group ID of this team. 178 * 179 * @return the group ID of this team 180 */ 181 @Override 182 public long getGroupId(); 183 184 /** 185 * Sets the group ID of this team. 186 * 187 * @param groupId the group ID of this team 188 */ 189 @Override 190 public void setGroupId(long groupId); 191 192 /** 193 * Returns the name of this team. 194 * 195 * @return the name of this team 196 */ 197 @AutoEscape 198 public String getName(); 199 200 /** 201 * Sets the name of this team. 202 * 203 * @param name the name of this team 204 */ 205 public void setName(String name); 206 207 /** 208 * Returns the description of this team. 209 * 210 * @return the description of this team 211 */ 212 @AutoEscape 213 public String getDescription(); 214 215 /** 216 * Sets the description of this team. 217 * 218 * @param description the description of this team 219 */ 220 public void setDescription(String description); 221 222 @Override 223 public boolean isNew(); 224 225 @Override 226 public void setNew(boolean n); 227 228 @Override 229 public boolean isCachedModel(); 230 231 @Override 232 public void setCachedModel(boolean cachedModel); 233 234 @Override 235 public boolean isEscapedModel(); 236 237 @Override 238 public Serializable getPrimaryKeyObj(); 239 240 @Override 241 public void setPrimaryKeyObj(Serializable primaryKeyObj); 242 243 @Override 244 public ExpandoBridge getExpandoBridge(); 245 246 @Override 247 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 248 249 @Override 250 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 251 252 @Override 253 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 254 255 @Override 256 public Object clone(); 257 258 @Override 259 public int compareTo(Team team); 260 261 @Override 262 public int hashCode(); 263 264 @Override 265 public CacheModel<Team> toCacheModel(); 266 267 @Override 268 public Team toEscapedModel(); 269 270 @Override 271 public Team toUnescapedModel(); 272 273 @Override 274 public String toString(); 275 276 @Override 277 public String toXmlString(); 278 }