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