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 SocialActivitySet service. Represents a row in the "SocialActivitySet" 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.SocialActivitySetModelImpl} 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.SocialActivitySetImpl}. 032 * </p> 033 * 034 * @author Brian Wing Shun Chan 035 * @see SocialActivitySet 036 * @see com.liferay.portlet.social.model.impl.SocialActivitySetImpl 037 * @see com.liferay.portlet.social.model.impl.SocialActivitySetModelImpl 038 * @generated 039 */ 040 public interface SocialActivitySetModel extends AttachedModel, 041 BaseModel<SocialActivitySet> { 042 /* 043 * NOTE FOR DEVELOPERS: 044 * 045 * Never modify or reference this interface directly. All methods that expect a social activity set model instance should use the {@link SocialActivitySet} interface instead. 046 */ 047 048 /** 049 * Returns the primary key of this social activity set. 050 * 051 * @return the primary key of this social activity set 052 */ 053 public long getPrimaryKey(); 054 055 /** 056 * Sets the primary key of this social activity set. 057 * 058 * @param primaryKey the primary key of this social activity set 059 */ 060 public void setPrimaryKey(long primaryKey); 061 062 /** 063 * Returns the activity set ID of this social activity set. 064 * 065 * @return the activity set ID of this social activity set 066 */ 067 public long getActivitySetId(); 068 069 /** 070 * Sets the activity set ID of this social activity set. 071 * 072 * @param activitySetId the activity set ID of this social activity set 073 */ 074 public void setActivitySetId(long activitySetId); 075 076 /** 077 * Returns the group ID of this social activity set. 078 * 079 * @return the group ID of this social activity set 080 */ 081 public long getGroupId(); 082 083 /** 084 * Sets the group ID of this social activity set. 085 * 086 * @param groupId the group ID of this social activity set 087 */ 088 public void setGroupId(long groupId); 089 090 /** 091 * Returns the company ID of this social activity set. 092 * 093 * @return the company ID of this social activity set 094 */ 095 public long getCompanyId(); 096 097 /** 098 * Sets the company ID of this social activity set. 099 * 100 * @param companyId the company ID of this social activity set 101 */ 102 public void setCompanyId(long companyId); 103 104 /** 105 * Returns the user ID of this social activity set. 106 * 107 * @return the user ID of this social activity set 108 */ 109 public long getUserId(); 110 111 /** 112 * Sets the user ID of this social activity set. 113 * 114 * @param userId the user ID of this social activity set 115 */ 116 public void setUserId(long userId); 117 118 /** 119 * Returns the user uuid of this social activity set. 120 * 121 * @return the user uuid of this social activity set 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 set. 128 * 129 * @param userUuid the user uuid of this social activity set 130 */ 131 public void setUserUuid(String userUuid); 132 133 /** 134 * Returns the create date of this social activity set. 135 * 136 * @return the create date of this social activity set 137 */ 138 public long getCreateDate(); 139 140 /** 141 * Sets the create date of this social activity set. 142 * 143 * @param createDate the create date of this social activity set 144 */ 145 public void setCreateDate(long createDate); 146 147 /** 148 * Returns the modified date of this social activity set. 149 * 150 * @return the modified date of this social activity set 151 */ 152 public long getModifiedDate(); 153 154 /** 155 * Sets the modified date of this social activity set. 156 * 157 * @param modifiedDate the modified date of this social activity set 158 */ 159 public void setModifiedDate(long modifiedDate); 160 161 /** 162 * Returns the fully qualified class name of this social activity set. 163 * 164 * @return the fully qualified class name of this social activity set 165 */ 166 @Override 167 public String getClassName(); 168 169 public void setClassName(String className); 170 171 /** 172 * Returns the class name ID of this social activity set. 173 * 174 * @return the class name ID of this social activity set 175 */ 176 @Override 177 public long getClassNameId(); 178 179 /** 180 * Sets the class name ID of this social activity set. 181 * 182 * @param classNameId the class name ID of this social activity set 183 */ 184 @Override 185 public void setClassNameId(long classNameId); 186 187 /** 188 * Returns the class p k of this social activity set. 189 * 190 * @return the class p k of this social activity set 191 */ 192 @Override 193 public long getClassPK(); 194 195 /** 196 * Sets the class p k of this social activity set. 197 * 198 * @param classPK the class p k of this social activity set 199 */ 200 @Override 201 public void setClassPK(long classPK); 202 203 /** 204 * Returns the type of this social activity set. 205 * 206 * @return the type of this social activity set 207 */ 208 public int getType(); 209 210 /** 211 * Sets the type of this social activity set. 212 * 213 * @param type the type of this social activity set 214 */ 215 public void setType(int type); 216 217 /** 218 * Returns the extra data of this social activity set. 219 * 220 * @return the extra data of this social activity set 221 */ 222 public String getExtraData(); 223 224 /** 225 * Sets the extra data of this social activity set. 226 * 227 * @param extraData the extra data of this social activity set 228 */ 229 public void setExtraData(String extraData); 230 231 /** 232 * Returns the activity count of this social activity set. 233 * 234 * @return the activity count of this social activity set 235 */ 236 public int getActivityCount(); 237 238 /** 239 * Sets the activity count of this social activity set. 240 * 241 * @param activityCount the activity count of this social activity set 242 */ 243 public void setActivityCount(int activityCount); 244 245 @Override 246 public boolean isNew(); 247 248 @Override 249 public void setNew(boolean n); 250 251 @Override 252 public boolean isCachedModel(); 253 254 @Override 255 public void setCachedModel(boolean cachedModel); 256 257 @Override 258 public boolean isEscapedModel(); 259 260 @Override 261 public Serializable getPrimaryKeyObj(); 262 263 @Override 264 public void setPrimaryKeyObj(Serializable primaryKeyObj); 265 266 @Override 267 public ExpandoBridge getExpandoBridge(); 268 269 @Override 270 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 271 272 @Override 273 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 274 275 @Override 276 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 277 278 @Override 279 public Object clone(); 280 281 @Override 282 public int compareTo(SocialActivitySet socialActivitySet); 283 284 @Override 285 public int hashCode(); 286 287 @Override 288 public CacheModel<SocialActivitySet> toCacheModel(); 289 290 @Override 291 public SocialActivitySet toEscapedModel(); 292 293 @Override 294 public SocialActivitySet toUnescapedModel(); 295 296 @Override 297 public String toString(); 298 299 @Override 300 public String toXmlString(); 301 }