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