001 /** 002 * Copyright (c) 2000-2012 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 public String getClassName(); 110 111 /** 112 * Returns the class name ID of this social activity counter. 113 * 114 * @return the class name ID of this social activity counter 115 */ 116 public long getClassNameId(); 117 118 /** 119 * Sets the class name ID of this social activity counter. 120 * 121 * @param classNameId the class name ID of this social activity counter 122 */ 123 public void setClassNameId(long classNameId); 124 125 /** 126 * Returns the class p k of this social activity counter. 127 * 128 * @return the class p k of this social activity counter 129 */ 130 public long getClassPK(); 131 132 /** 133 * Sets the class p k of this social activity counter. 134 * 135 * @param classPK the class p k of this social activity counter 136 */ 137 public void setClassPK(long classPK); 138 139 /** 140 * Returns the name of this social activity counter. 141 * 142 * @return the name of this social activity counter 143 */ 144 @AutoEscape 145 public String getName(); 146 147 /** 148 * Sets the name of this social activity counter. 149 * 150 * @param name the name of this social activity counter 151 */ 152 public void setName(String name); 153 154 /** 155 * Returns the owner type of this social activity counter. 156 * 157 * @return the owner type of this social activity counter 158 */ 159 public int getOwnerType(); 160 161 /** 162 * Sets the owner type of this social activity counter. 163 * 164 * @param ownerType the owner type of this social activity counter 165 */ 166 public void setOwnerType(int ownerType); 167 168 /** 169 * Returns the current value of this social activity counter. 170 * 171 * @return the current value of this social activity counter 172 */ 173 public int getCurrentValue(); 174 175 /** 176 * Sets the current value of this social activity counter. 177 * 178 * @param currentValue the current value of this social activity counter 179 */ 180 public void setCurrentValue(int currentValue); 181 182 /** 183 * Returns the total value of this social activity counter. 184 * 185 * @return the total value of this social activity counter 186 */ 187 public int getTotalValue(); 188 189 /** 190 * Sets the total value of this social activity counter. 191 * 192 * @param totalValue the total value of this social activity counter 193 */ 194 public void setTotalValue(int totalValue); 195 196 /** 197 * Returns the grace value of this social activity counter. 198 * 199 * @return the grace value of this social activity counter 200 */ 201 public int getGraceValue(); 202 203 /** 204 * Sets the grace value of this social activity counter. 205 * 206 * @param graceValue the grace value of this social activity counter 207 */ 208 public void setGraceValue(int graceValue); 209 210 /** 211 * Returns the start period of this social activity counter. 212 * 213 * @return the start period of this social activity counter 214 */ 215 public int getStartPeriod(); 216 217 /** 218 * Sets the start period of this social activity counter. 219 * 220 * @param startPeriod the start period of this social activity counter 221 */ 222 public void setStartPeriod(int startPeriod); 223 224 /** 225 * Returns the end period of this social activity counter. 226 * 227 * @return the end period of this social activity counter 228 */ 229 public int getEndPeriod(); 230 231 /** 232 * Sets the end period of this social activity counter. 233 * 234 * @param endPeriod the end period of this social activity counter 235 */ 236 public void setEndPeriod(int endPeriod); 237 238 public boolean isNew(); 239 240 public void setNew(boolean n); 241 242 public boolean isCachedModel(); 243 244 public void setCachedModel(boolean cachedModel); 245 246 public boolean isEscapedModel(); 247 248 public Serializable getPrimaryKeyObj(); 249 250 public void setPrimaryKeyObj(Serializable primaryKeyObj); 251 252 public ExpandoBridge getExpandoBridge(); 253 254 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 255 256 public Object clone(); 257 258 public int compareTo(SocialActivityCounter socialActivityCounter); 259 260 public int hashCode(); 261 262 public CacheModel<SocialActivityCounter> toCacheModel(); 263 264 public SocialActivityCounter toEscapedModel(); 265 266 public String toString(); 267 268 public String toXmlString(); 269 }