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 public String getClassName(); 181 182 public void setClassName(String className); 183 184 /** 185 * Returns the class name ID of this social activity. 186 * 187 * @return the class name ID of this social activity 188 */ 189 public long getClassNameId(); 190 191 /** 192 * Sets the class name ID of this social activity. 193 * 194 * @param classNameId the class name ID of this social activity 195 */ 196 public void setClassNameId(long classNameId); 197 198 /** 199 * Returns the class p k of this social activity. 200 * 201 * @return the class p k of this social activity 202 */ 203 public long getClassPK(); 204 205 /** 206 * Sets the class p k of this social activity. 207 * 208 * @param classPK the class p k of this social activity 209 */ 210 public void setClassPK(long classPK); 211 212 /** 213 * Returns the type of this social activity. 214 * 215 * @return the type of this social activity 216 */ 217 public int getType(); 218 219 /** 220 * Sets the type of this social activity. 221 * 222 * @param type the type of this social activity 223 */ 224 public void setType(int type); 225 226 /** 227 * Returns the extra data of this social activity. 228 * 229 * @return the extra data of this social activity 230 */ 231 public String getExtraData(); 232 233 /** 234 * Sets the extra data of this social activity. 235 * 236 * @param extraData the extra data of this social activity 237 */ 238 public void setExtraData(String extraData); 239 240 /** 241 * Returns the receiver user ID of this social activity. 242 * 243 * @return the receiver user ID of this social activity 244 */ 245 public long getReceiverUserId(); 246 247 /** 248 * Sets the receiver user ID of this social activity. 249 * 250 * @param receiverUserId the receiver user ID of this social activity 251 */ 252 public void setReceiverUserId(long receiverUserId); 253 254 /** 255 * Returns the receiver user uuid of this social activity. 256 * 257 * @return the receiver user uuid of this social activity 258 * @throws SystemException if a system exception occurred 259 */ 260 public String getReceiverUserUuid() throws SystemException; 261 262 /** 263 * Sets the receiver user uuid of this social activity. 264 * 265 * @param receiverUserUuid the receiver user uuid of this social activity 266 */ 267 public void setReceiverUserUuid(String receiverUserUuid); 268 269 public boolean isNew(); 270 271 public void setNew(boolean n); 272 273 public boolean isCachedModel(); 274 275 public void setCachedModel(boolean cachedModel); 276 277 public boolean isEscapedModel(); 278 279 public Serializable getPrimaryKeyObj(); 280 281 public void setPrimaryKeyObj(Serializable primaryKeyObj); 282 283 public ExpandoBridge getExpandoBridge(); 284 285 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 286 287 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 288 289 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 290 291 public Object clone(); 292 293 public int compareTo(SocialActivity socialActivity); 294 295 public int hashCode(); 296 297 public CacheModel<SocialActivity> toCacheModel(); 298 299 public SocialActivity toEscapedModel(); 300 301 public SocialActivity toUnescapedModel(); 302 303 public String toString(); 304 305 public String toXmlString(); 306 }