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.portlet.social.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.model.AttachedModel; 021 import com.liferay.portal.model.BaseModel; 022 import com.liferay.portal.model.CacheModel; 023 import com.liferay.portal.model.ShardedModel; 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>, ShardedModel { 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 @Override 115 public long getCompanyId(); 116 117 /** 118 * Sets the company ID of this social request. 119 * 120 * @param companyId the company ID of this social request 121 */ 122 @Override 123 public void setCompanyId(long companyId); 124 125 /** 126 * Returns the user ID of this social request. 127 * 128 * @return the user ID of this social request 129 */ 130 public long getUserId(); 131 132 /** 133 * Sets the user ID of this social request. 134 * 135 * @param userId the user ID of this social request 136 */ 137 public void setUserId(long userId); 138 139 /** 140 * Returns the user uuid of this social request. 141 * 142 * @return the user uuid of this social request 143 */ 144 public String getUserUuid(); 145 146 /** 147 * Sets the user uuid of this social request. 148 * 149 * @param userUuid the user uuid of this social request 150 */ 151 public void setUserUuid(String userUuid); 152 153 /** 154 * Returns the create date of this social request. 155 * 156 * @return the create date of this social request 157 */ 158 public long getCreateDate(); 159 160 /** 161 * Sets the create date of this social request. 162 * 163 * @param createDate the create date of this social request 164 */ 165 public void setCreateDate(long createDate); 166 167 /** 168 * Returns the modified date of this social request. 169 * 170 * @return the modified date of this social request 171 */ 172 public long getModifiedDate(); 173 174 /** 175 * Sets the modified date of this social request. 176 * 177 * @param modifiedDate the modified date of this social request 178 */ 179 public void setModifiedDate(long modifiedDate); 180 181 /** 182 * Returns the fully qualified class name of this social request. 183 * 184 * @return the fully qualified class name of this social request 185 */ 186 @Override 187 public String getClassName(); 188 189 public void setClassName(String className); 190 191 /** 192 * Returns the class name ID of this social request. 193 * 194 * @return the class name ID of this social request 195 */ 196 @Override 197 public long getClassNameId(); 198 199 /** 200 * Sets the class name ID of this social request. 201 * 202 * @param classNameId the class name ID of this social request 203 */ 204 @Override 205 public void setClassNameId(long classNameId); 206 207 /** 208 * Returns the class p k of this social request. 209 * 210 * @return the class p k of this social request 211 */ 212 @Override 213 public long getClassPK(); 214 215 /** 216 * Sets the class p k of this social request. 217 * 218 * @param classPK the class p k of this social request 219 */ 220 @Override 221 public void setClassPK(long classPK); 222 223 /** 224 * Returns the type of this social request. 225 * 226 * @return the type of this social request 227 */ 228 public int getType(); 229 230 /** 231 * Sets the type of this social request. 232 * 233 * @param type the type of this social request 234 */ 235 public void setType(int type); 236 237 /** 238 * Returns the extra data of this social request. 239 * 240 * @return the extra data of this social request 241 */ 242 @AutoEscape 243 public String getExtraData(); 244 245 /** 246 * Sets the extra data of this social request. 247 * 248 * @param extraData the extra data of this social request 249 */ 250 public void setExtraData(String extraData); 251 252 /** 253 * Returns the receiver user ID of this social request. 254 * 255 * @return the receiver user ID of this social request 256 */ 257 public long getReceiverUserId(); 258 259 /** 260 * Sets the receiver user ID of this social request. 261 * 262 * @param receiverUserId the receiver user ID of this social request 263 */ 264 public void setReceiverUserId(long receiverUserId); 265 266 /** 267 * Returns the receiver user uuid of this social request. 268 * 269 * @return the receiver user uuid of this social request 270 */ 271 public String getReceiverUserUuid(); 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( 332 com.liferay.portlet.social.model.SocialRequest socialRequest); 333 334 @Override 335 public int hashCode(); 336 337 @Override 338 public CacheModel<com.liferay.portlet.social.model.SocialRequest> toCacheModel(); 339 340 @Override 341 public com.liferay.portlet.social.model.SocialRequest toEscapedModel(); 342 343 @Override 344 public com.liferay.portlet.social.model.SocialRequest toUnescapedModel(); 345 346 @Override 347 public String toString(); 348 349 @Override 350 public String toXmlString(); 351 }