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 aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.kernel.exception.SystemException; 021 import com.liferay.portal.model.AttachedModel; 022 import com.liferay.portal.model.BaseModel; 023 import com.liferay.portal.model.CacheModel; 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 SocialActivityLimit service. Represents a row in the "SocialActivityLimit" 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.SocialActivityLimitModelImpl} 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.SocialActivityLimitImpl}. 035 * </p> 036 * 037 * @author Brian Wing Shun Chan 038 * @see SocialActivityLimit 039 * @see com.liferay.portlet.social.model.impl.SocialActivityLimitImpl 040 * @see com.liferay.portlet.social.model.impl.SocialActivityLimitModelImpl 041 * @generated 042 */ 043 @ProviderType 044 public interface SocialActivityLimitModel extends AttachedModel, 045 BaseModel<SocialActivityLimit> { 046 /* 047 * NOTE FOR DEVELOPERS: 048 * 049 * Never modify or reference this interface directly. All methods that expect a social activity limit model instance should use the {@link SocialActivityLimit} interface instead. 050 */ 051 052 /** 053 * Returns the primary key of this social activity limit. 054 * 055 * @return the primary key of this social activity limit 056 */ 057 public long getPrimaryKey(); 058 059 /** 060 * Sets the primary key of this social activity limit. 061 * 062 * @param primaryKey the primary key of this social activity limit 063 */ 064 public void setPrimaryKey(long primaryKey); 065 066 /** 067 * Returns the activity limit ID of this social activity limit. 068 * 069 * @return the activity limit ID of this social activity limit 070 */ 071 public long getActivityLimitId(); 072 073 /** 074 * Sets the activity limit ID of this social activity limit. 075 * 076 * @param activityLimitId the activity limit ID of this social activity limit 077 */ 078 public void setActivityLimitId(long activityLimitId); 079 080 /** 081 * Returns the group ID of this social activity limit. 082 * 083 * @return the group ID of this social activity limit 084 */ 085 public long getGroupId(); 086 087 /** 088 * Sets the group ID of this social activity limit. 089 * 090 * @param groupId the group ID of this social activity limit 091 */ 092 public void setGroupId(long groupId); 093 094 /** 095 * Returns the company ID of this social activity limit. 096 * 097 * @return the company ID of this social activity limit 098 */ 099 public long getCompanyId(); 100 101 /** 102 * Sets the company ID of this social activity limit. 103 * 104 * @param companyId the company ID of this social activity limit 105 */ 106 public void setCompanyId(long companyId); 107 108 /** 109 * Returns the user ID of this social activity limit. 110 * 111 * @return the user ID of this social activity limit 112 */ 113 public long getUserId(); 114 115 /** 116 * Sets the user ID of this social activity limit. 117 * 118 * @param userId the user ID of this social activity limit 119 */ 120 public void setUserId(long userId); 121 122 /** 123 * Returns the user uuid of this social activity limit. 124 * 125 * @return the user uuid of this social activity limit 126 * @throws SystemException if a system exception occurred 127 */ 128 public String getUserUuid() throws SystemException; 129 130 /** 131 * Sets the user uuid of this social activity limit. 132 * 133 * @param userUuid the user uuid of this social activity limit 134 */ 135 public void setUserUuid(String userUuid); 136 137 /** 138 * Returns the fully qualified class name of this social activity limit. 139 * 140 * @return the fully qualified class name of this social activity limit 141 */ 142 @Override 143 public String getClassName(); 144 145 public void setClassName(String className); 146 147 /** 148 * Returns the class name ID of this social activity limit. 149 * 150 * @return the class name ID of this social activity limit 151 */ 152 @Override 153 public long getClassNameId(); 154 155 /** 156 * Sets the class name ID of this social activity limit. 157 * 158 * @param classNameId the class name ID of this social activity limit 159 */ 160 @Override 161 public void setClassNameId(long classNameId); 162 163 /** 164 * Returns the class p k of this social activity limit. 165 * 166 * @return the class p k of this social activity limit 167 */ 168 @Override 169 public long getClassPK(); 170 171 /** 172 * Sets the class p k of this social activity limit. 173 * 174 * @param classPK the class p k of this social activity limit 175 */ 176 @Override 177 public void setClassPK(long classPK); 178 179 /** 180 * Returns the activity type of this social activity limit. 181 * 182 * @return the activity type of this social activity limit 183 */ 184 public int getActivityType(); 185 186 /** 187 * Sets the activity type of this social activity limit. 188 * 189 * @param activityType the activity type of this social activity limit 190 */ 191 public void setActivityType(int activityType); 192 193 /** 194 * Returns the activity counter name of this social activity limit. 195 * 196 * @return the activity counter name of this social activity limit 197 */ 198 @AutoEscape 199 public String getActivityCounterName(); 200 201 /** 202 * Sets the activity counter name of this social activity limit. 203 * 204 * @param activityCounterName the activity counter name of this social activity limit 205 */ 206 public void setActivityCounterName(String activityCounterName); 207 208 /** 209 * Returns the value of this social activity limit. 210 * 211 * @return the value of this social activity limit 212 */ 213 @AutoEscape 214 public String getValue(); 215 216 /** 217 * Sets the value of this social activity limit. 218 * 219 * @param value the value of this social activity limit 220 */ 221 public void setValue(String value); 222 223 @Override 224 public boolean isNew(); 225 226 @Override 227 public void setNew(boolean n); 228 229 @Override 230 public boolean isCachedModel(); 231 232 @Override 233 public void setCachedModel(boolean cachedModel); 234 235 @Override 236 public boolean isEscapedModel(); 237 238 @Override 239 public Serializable getPrimaryKeyObj(); 240 241 @Override 242 public void setPrimaryKeyObj(Serializable primaryKeyObj); 243 244 @Override 245 public ExpandoBridge getExpandoBridge(); 246 247 @Override 248 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 249 250 @Override 251 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 252 253 @Override 254 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 255 256 @Override 257 public Object clone(); 258 259 @Override 260 public int compareTo(SocialActivityLimit socialActivityLimit); 261 262 @Override 263 public int hashCode(); 264 265 @Override 266 public CacheModel<SocialActivityLimit> toCacheModel(); 267 268 @Override 269 public SocialActivityLimit toEscapedModel(); 270 271 @Override 272 public SocialActivityLimit toUnescapedModel(); 273 274 @Override 275 public String toString(); 276 277 @Override 278 public String toXmlString(); 279 }