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.model.AttachedModel; 020 import com.liferay.portal.model.BaseModel; 021 import com.liferay.portal.model.CacheModel; 022 import com.liferay.portal.model.ShardedModel; 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>, ShardedModel { 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 @Override 099 public long getCompanyId(); 100 101 /** 102 * Sets the company ID of this social activity set. 103 * 104 * @param companyId the company ID of this social activity set 105 */ 106 @Override 107 public void setCompanyId(long companyId); 108 109 /** 110 * Returns the user ID of this social activity set. 111 * 112 * @return the user ID of this social activity set 113 */ 114 public long getUserId(); 115 116 /** 117 * Sets the user ID of this social activity set. 118 * 119 * @param userId the user ID of this social activity set 120 */ 121 public void setUserId(long userId); 122 123 /** 124 * Returns the user uuid of this social activity set. 125 * 126 * @return the user uuid of this social activity set 127 */ 128 public String getUserUuid(); 129 130 /** 131 * Sets the user uuid of this social activity set. 132 * 133 * @param userUuid the user uuid of this social activity set 134 */ 135 public void setUserUuid(String userUuid); 136 137 /** 138 * Returns the create date of this social activity set. 139 * 140 * @return the create date of this social activity set 141 */ 142 public long getCreateDate(); 143 144 /** 145 * Sets the create date of this social activity set. 146 * 147 * @param createDate the create date of this social activity set 148 */ 149 public void setCreateDate(long createDate); 150 151 /** 152 * Returns the modified date of this social activity set. 153 * 154 * @return the modified date of this social activity set 155 */ 156 public long getModifiedDate(); 157 158 /** 159 * Sets the modified date of this social activity set. 160 * 161 * @param modifiedDate the modified date of this social activity set 162 */ 163 public void setModifiedDate(long modifiedDate); 164 165 /** 166 * Returns the fully qualified class name of this social activity set. 167 * 168 * @return the fully qualified class name of this social activity set 169 */ 170 @Override 171 public String getClassName(); 172 173 public void setClassName(String className); 174 175 /** 176 * Returns the class name ID of this social activity set. 177 * 178 * @return the class name ID of this social activity set 179 */ 180 @Override 181 public long getClassNameId(); 182 183 /** 184 * Sets the class name ID of this social activity set. 185 * 186 * @param classNameId the class name ID of this social activity set 187 */ 188 @Override 189 public void setClassNameId(long classNameId); 190 191 /** 192 * Returns the class p k of this social activity set. 193 * 194 * @return the class p k of this social activity set 195 */ 196 @Override 197 public long getClassPK(); 198 199 /** 200 * Sets the class p k of this social activity set. 201 * 202 * @param classPK the class p k of this social activity set 203 */ 204 @Override 205 public void setClassPK(long classPK); 206 207 /** 208 * Returns the type of this social activity set. 209 * 210 * @return the type of this social activity set 211 */ 212 public int getType(); 213 214 /** 215 * Sets the type of this social activity set. 216 * 217 * @param type the type of this social activity set 218 */ 219 public void setType(int type); 220 221 /** 222 * Returns the extra data of this social activity set. 223 * 224 * @return the extra data of this social activity set 225 */ 226 public String getExtraData(); 227 228 /** 229 * Sets the extra data of this social activity set. 230 * 231 * @param extraData the extra data of this social activity set 232 */ 233 public void setExtraData(String extraData); 234 235 /** 236 * Returns the activity count of this social activity set. 237 * 238 * @return the activity count of this social activity set 239 */ 240 public int getActivityCount(); 241 242 /** 243 * Sets the activity count of this social activity set. 244 * 245 * @param activityCount the activity count of this social activity set 246 */ 247 public void setActivityCount(int activityCount); 248 249 @Override 250 public boolean isNew(); 251 252 @Override 253 public void setNew(boolean n); 254 255 @Override 256 public boolean isCachedModel(); 257 258 @Override 259 public void setCachedModel(boolean cachedModel); 260 261 @Override 262 public boolean isEscapedModel(); 263 264 @Override 265 public Serializable getPrimaryKeyObj(); 266 267 @Override 268 public void setPrimaryKeyObj(Serializable primaryKeyObj); 269 270 @Override 271 public ExpandoBridge getExpandoBridge(); 272 273 @Override 274 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 275 276 @Override 277 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 278 279 @Override 280 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 281 282 @Override 283 public Object clone(); 284 285 @Override 286 public int compareTo( 287 com.liferay.portlet.social.model.SocialActivitySet socialActivitySet); 288 289 @Override 290 public int hashCode(); 291 292 @Override 293 public CacheModel<com.liferay.portlet.social.model.SocialActivitySet> toCacheModel(); 294 295 @Override 296 public com.liferay.portlet.social.model.SocialActivitySet toEscapedModel(); 297 298 @Override 299 public com.liferay.portlet.social.model.SocialActivitySet toUnescapedModel(); 300 301 @Override 302 public String toString(); 303 304 @Override 305 public String toXmlString(); 306 }