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