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.kernel.bean.AutoEscape; 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.model.ShardedModel; 024 import com.liferay.portal.service.ServiceContext; 025 026 import com.liferay.portlet.expando.model.ExpandoBridge; 027 028 import java.io.Serializable; 029 030 /** 031 * The base model interface for the SocialActivityCounter service. Represents a row in the "SocialActivityCounter" database table, with each column mapped to a property of this class. 032 * 033 * <p> 034 * This interface and its corresponding implementation {@link com.liferay.portlet.social.model.impl.SocialActivityCounterModelImpl} 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.SocialActivityCounterImpl}. 035 * </p> 036 * 037 * @author Brian Wing Shun Chan 038 * @see SocialActivityCounter 039 * @see com.liferay.portlet.social.model.impl.SocialActivityCounterImpl 040 * @see com.liferay.portlet.social.model.impl.SocialActivityCounterModelImpl 041 * @generated 042 */ 043 @ProviderType 044 public interface SocialActivityCounterModel extends AttachedModel, 045 BaseModel<SocialActivityCounter>, ShardedModel { 046 /* 047 * NOTE FOR DEVELOPERS: 048 * 049 * Never modify or reference this interface directly. All methods that expect a social activity counter model instance should use the {@link SocialActivityCounter} interface instead. 050 */ 051 052 /** 053 * Returns the primary key of this social activity counter. 054 * 055 * @return the primary key of this social activity counter 056 */ 057 public long getPrimaryKey(); 058 059 /** 060 * Sets the primary key of this social activity counter. 061 * 062 * @param primaryKey the primary key of this social activity counter 063 */ 064 public void setPrimaryKey(long primaryKey); 065 066 /** 067 * Returns the activity counter ID of this social activity counter. 068 * 069 * @return the activity counter ID of this social activity counter 070 */ 071 public long getActivityCounterId(); 072 073 /** 074 * Sets the activity counter ID of this social activity counter. 075 * 076 * @param activityCounterId the activity counter ID of this social activity counter 077 */ 078 public void setActivityCounterId(long activityCounterId); 079 080 /** 081 * Returns the group ID of this social activity counter. 082 * 083 * @return the group ID of this social activity counter 084 */ 085 public long getGroupId(); 086 087 /** 088 * Sets the group ID of this social activity counter. 089 * 090 * @param groupId the group ID of this social activity counter 091 */ 092 public void setGroupId(long groupId); 093 094 /** 095 * Returns the company ID of this social activity counter. 096 * 097 * @return the company ID of this social activity counter 098 */ 099 @Override 100 public long getCompanyId(); 101 102 /** 103 * Sets the company ID of this social activity counter. 104 * 105 * @param companyId the company ID of this social activity counter 106 */ 107 @Override 108 public void setCompanyId(long companyId); 109 110 /** 111 * Returns the fully qualified class name of this social activity counter. 112 * 113 * @return the fully qualified class name of this social activity counter 114 */ 115 @Override 116 public String getClassName(); 117 118 public void setClassName(String className); 119 120 /** 121 * Returns the class name ID of this social activity counter. 122 * 123 * @return the class name ID of this social activity counter 124 */ 125 @Override 126 public long getClassNameId(); 127 128 /** 129 * Sets the class name ID of this social activity counter. 130 * 131 * @param classNameId the class name ID of this social activity counter 132 */ 133 @Override 134 public void setClassNameId(long classNameId); 135 136 /** 137 * Returns the class p k of this social activity counter. 138 * 139 * @return the class p k of this social activity counter 140 */ 141 @Override 142 public long getClassPK(); 143 144 /** 145 * Sets the class p k of this social activity counter. 146 * 147 * @param classPK the class p k of this social activity counter 148 */ 149 @Override 150 public void setClassPK(long classPK); 151 152 /** 153 * Returns the name of this social activity counter. 154 * 155 * @return the name of this social activity counter 156 */ 157 @AutoEscape 158 public String getName(); 159 160 /** 161 * Sets the name of this social activity counter. 162 * 163 * @param name the name of this social activity counter 164 */ 165 public void setName(String name); 166 167 /** 168 * Returns the owner type of this social activity counter. 169 * 170 * @return the owner type of this social activity counter 171 */ 172 public int getOwnerType(); 173 174 /** 175 * Sets the owner type of this social activity counter. 176 * 177 * @param ownerType the owner type of this social activity counter 178 */ 179 public void setOwnerType(int ownerType); 180 181 /** 182 * Returns the current value of this social activity counter. 183 * 184 * @return the current value of this social activity counter 185 */ 186 public int getCurrentValue(); 187 188 /** 189 * Sets the current value of this social activity counter. 190 * 191 * @param currentValue the current value of this social activity counter 192 */ 193 public void setCurrentValue(int currentValue); 194 195 /** 196 * Returns the total value of this social activity counter. 197 * 198 * @return the total value of this social activity counter 199 */ 200 public int getTotalValue(); 201 202 /** 203 * Sets the total value of this social activity counter. 204 * 205 * @param totalValue the total value of this social activity counter 206 */ 207 public void setTotalValue(int totalValue); 208 209 /** 210 * Returns the grace value of this social activity counter. 211 * 212 * @return the grace value of this social activity counter 213 */ 214 public int getGraceValue(); 215 216 /** 217 * Sets the grace value of this social activity counter. 218 * 219 * @param graceValue the grace value of this social activity counter 220 */ 221 public void setGraceValue(int graceValue); 222 223 /** 224 * Returns the start period of this social activity counter. 225 * 226 * @return the start period of this social activity counter 227 */ 228 public int getStartPeriod(); 229 230 /** 231 * Sets the start period of this social activity counter. 232 * 233 * @param startPeriod the start period of this social activity counter 234 */ 235 public void setStartPeriod(int startPeriod); 236 237 /** 238 * Returns the end period of this social activity counter. 239 * 240 * @return the end period of this social activity counter 241 */ 242 public int getEndPeriod(); 243 244 /** 245 * Sets the end period of this social activity counter. 246 * 247 * @param endPeriod the end period of this social activity counter 248 */ 249 public void setEndPeriod(int endPeriod); 250 251 /** 252 * Returns the active of this social activity counter. 253 * 254 * @return the active of this social activity counter 255 */ 256 public boolean getActive(); 257 258 /** 259 * Returns <code>true</code> if this social activity counter is active. 260 * 261 * @return <code>true</code> if this social activity counter is active; <code>false</code> otherwise 262 */ 263 public boolean isActive(); 264 265 /** 266 * Sets whether this social activity counter is active. 267 * 268 * @param active the active of this social activity counter 269 */ 270 public void setActive(boolean active); 271 272 @Override 273 public boolean isNew(); 274 275 @Override 276 public void setNew(boolean n); 277 278 @Override 279 public boolean isCachedModel(); 280 281 @Override 282 public void setCachedModel(boolean cachedModel); 283 284 @Override 285 public boolean isEscapedModel(); 286 287 @Override 288 public Serializable getPrimaryKeyObj(); 289 290 @Override 291 public void setPrimaryKeyObj(Serializable primaryKeyObj); 292 293 @Override 294 public ExpandoBridge getExpandoBridge(); 295 296 @Override 297 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 298 299 @Override 300 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 301 302 @Override 303 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 304 305 @Override 306 public Object clone(); 307 308 @Override 309 public int compareTo( 310 com.liferay.portlet.social.model.SocialActivityCounter socialActivityCounter); 311 312 @Override 313 public int hashCode(); 314 315 @Override 316 public CacheModel<com.liferay.portlet.social.model.SocialActivityCounter> toCacheModel(); 317 318 @Override 319 public com.liferay.portlet.social.model.SocialActivityCounter toEscapedModel(); 320 321 @Override 322 public com.liferay.portlet.social.model.SocialActivityCounter toUnescapedModel(); 323 324 @Override 325 public String toString(); 326 327 @Override 328 public String toXmlString(); 329 }