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.portlet.social.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.model.AttachedModel; 022 import com.liferay.portal.model.BaseModel; 023 import com.liferay.portal.model.CacheModel; 024 import com.liferay.portal.service.ServiceContext; 025 026 import com.liferay.portlet.expando.model.ExpandoBridge; 027 028 import java.io.Serializable; 029 030 /** 031 * The base model interface for the SocialRequest service. Represents a row in the "SocialRequest" database table, with each column mapped to a property of this class. 032 * 033 * <p> 034 * This interface and its corresponding implementation {@link com.liferay.portlet.social.model.impl.SocialRequestModelImpl} 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.portlet.social.model.impl.SocialRequestImpl}. 035 * </p> 036 * 037 * @author Brian Wing Shun Chan 038 * @see SocialRequest 039 * @see com.liferay.portlet.social.model.impl.SocialRequestImpl 040 * @see com.liferay.portlet.social.model.impl.SocialRequestModelImpl 041 * @generated 042 */ 043 @ProviderType 044 public interface SocialRequestModel extends AttachedModel, 045 BaseModel<SocialRequest> { 046 /* 047 * NOTE FOR DEVELOPERS: 048 * 049 * Never modify or reference this interface directly. All methods that expect a social request model instance should use the {@link SocialRequest} interface instead. 050 */ 051 052 /** 053 * Returns the primary key of this social request. 054 * 055 * @return the primary key of this social request 056 */ 057 public long getPrimaryKey(); 058 059 /** 060 * Sets the primary key of this social request. 061 * 062 * @param primaryKey the primary key of this social request 063 */ 064 public void setPrimaryKey(long primaryKey); 065 066 /** 067 * Returns the uuid of this social request. 068 * 069 * @return the uuid of this social request 070 */ 071 @AutoEscape 072 public String getUuid(); 073 074 /** 075 * Sets the uuid of this social request. 076 * 077 * @param uuid the uuid of this social request 078 */ 079 public void setUuid(String uuid); 080 081 /** 082 * Returns the request ID of this social request. 083 * 084 * @return the request ID of this social request 085 */ 086 public long getRequestId(); 087 088 /** 089 * Sets the request ID of this social request. 090 * 091 * @param requestId the request ID of this social request 092 */ 093 public void setRequestId(long requestId); 094 095 /** 096 * Returns the group ID of this social request. 097 * 098 * @return the group ID of this social request 099 */ 100 public long getGroupId(); 101 102 /** 103 * Sets the group ID of this social request. 104 * 105 * @param groupId the group ID of this social request 106 */ 107 public void setGroupId(long groupId); 108 109 /** 110 * Returns the company ID of this social request. 111 * 112 * @return the company ID of this social request 113 */ 114 public long getCompanyId(); 115 116 /** 117 * Sets the company ID of this social request. 118 * 119 * @param companyId the company ID of this social request 120 */ 121 public void setCompanyId(long companyId); 122 123 /** 124 * Returns the user ID of this social request. 125 * 126 * @return the user ID of this social request 127 */ 128 public long getUserId(); 129 130 /** 131 * Sets the user ID of this social request. 132 * 133 * @param userId the user ID of this social request 134 */ 135 public void setUserId(long userId); 136 137 /** 138 * Returns the user uuid of this social request. 139 * 140 * @return the user uuid of this social request 141 * @throws SystemException if a system exception occurred 142 */ 143 public String getUserUuid() throws SystemException; 144 145 /** 146 * Sets the user uuid of this social request. 147 * 148 * @param userUuid the user uuid of this social request 149 */ 150 public void setUserUuid(String userUuid); 151 152 /** 153 * Returns the create date of this social request. 154 * 155 * @return the create date of this social request 156 */ 157 public long getCreateDate(); 158 159 /** 160 * Sets the create date of this social request. 161 * 162 * @param createDate the create date of this social request 163 */ 164 public void setCreateDate(long createDate); 165 166 /** 167 * Returns the modified date of this social request. 168 * 169 * @return the modified date of this social request 170 */ 171 public long getModifiedDate(); 172 173 /** 174 * Sets the modified date of this social request. 175 * 176 * @param modifiedDate the modified date of this social request 177 */ 178 public void setModifiedDate(long modifiedDate); 179 180 /** 181 * Returns the fully qualified class name of this social request. 182 * 183 * @return the fully qualified class name of this social request 184 */ 185 @Override 186 public String getClassName(); 187 188 public void setClassName(String className); 189 190 /** 191 * Returns the class name ID of this social request. 192 * 193 * @return the class name ID of this social request 194 */ 195 @Override 196 public long getClassNameId(); 197 198 /** 199 * Sets the class name ID of this social request. 200 * 201 * @param classNameId the class name ID of this social request 202 */ 203 @Override 204 public void setClassNameId(long classNameId); 205 206 /** 207 * Returns the class p k of this social request. 208 * 209 * @return the class p k of this social request 210 */ 211 @Override 212 public long getClassPK(); 213 214 /** 215 * Sets the class p k of this social request. 216 * 217 * @param classPK the class p k of this social request 218 */ 219 @Override 220 public void setClassPK(long classPK); 221 222 /** 223 * Returns the type of this social request. 224 * 225 * @return the type of this social request 226 */ 227 public int getType(); 228 229 /** 230 * Sets the type of this social request. 231 * 232 * @param type the type of this social request 233 */ 234 public void setType(int type); 235 236 /** 237 * Returns the extra data of this social request. 238 * 239 * @return the extra data of this social request 240 */ 241 @AutoEscape 242 public String getExtraData(); 243 244 /** 245 * Sets the extra data of this social request. 246 * 247 * @param extraData the extra data of this social request 248 */ 249 public void setExtraData(String extraData); 250 251 /** 252 * Returns the receiver user ID of this social request. 253 * 254 * @return the receiver user ID of this social request 255 */ 256 public long getReceiverUserId(); 257 258 /** 259 * Sets the receiver user ID of this social request. 260 * 261 * @param receiverUserId the receiver user ID of this social request 262 */ 263 public void setReceiverUserId(long receiverUserId); 264 265 /** 266 * Returns the receiver user uuid of this social request. 267 * 268 * @return the receiver user uuid of this social request 269 * @throws SystemException if a system exception occurred 270 */ 271 public String getReceiverUserUuid() throws SystemException; 272 273 /** 274 * Sets the receiver user uuid of this social request. 275 * 276 * @param receiverUserUuid the receiver user uuid of this social request 277 */ 278 public void setReceiverUserUuid(String receiverUserUuid); 279 280 /** 281 * Returns the status of this social request. 282 * 283 * @return the status of this social request 284 */ 285 public int getStatus(); 286 287 /** 288 * Sets the status of this social request. 289 * 290 * @param status the status of this social request 291 */ 292 public void setStatus(int status); 293 294 @Override 295 public boolean isNew(); 296 297 @Override 298 public void setNew(boolean n); 299 300 @Override 301 public boolean isCachedModel(); 302 303 @Override 304 public void setCachedModel(boolean cachedModel); 305 306 @Override 307 public boolean isEscapedModel(); 308 309 @Override 310 public Serializable getPrimaryKeyObj(); 311 312 @Override 313 public void setPrimaryKeyObj(Serializable primaryKeyObj); 314 315 @Override 316 public ExpandoBridge getExpandoBridge(); 317 318 @Override 319 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 320 321 @Override 322 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 323 324 @Override 325 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 326 327 @Override 328 public Object clone(); 329 330 @Override 331 public int compareTo(SocialRequest socialRequest); 332 333 @Override 334 public int hashCode(); 335 336 @Override 337 public CacheModel<SocialRequest> toCacheModel(); 338 339 @Override 340 public SocialRequest toEscapedModel(); 341 342 @Override 343 public SocialRequest toUnescapedModel(); 344 345 @Override 346 public String toString(); 347 348 @Override 349 public String toXmlString(); 350 }