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