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