001 /** 002 * Copyright (c) 2000-2010 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.annotation.AutoEscape; 018 import com.liferay.portal.model.BaseModel; 019 import com.liferay.portal.service.ServiceContext; 020 021 import com.liferay.portlet.expando.model.ExpandoBridge; 022 023 import java.io.Serializable; 024 025 /** 026 * The base model interface for the SocialEquitySetting service. Represents a row in the "SocialEquitySetting" database table, with each column mapped to a property of this class. 027 * 028 * <p> 029 * This interface and its corresponding implementation {@link com.liferay.portlet.social.model.impl.SocialEquitySettingModelImpl} 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.SocialEquitySettingImpl}. 030 * </p> 031 * 032 * <p> 033 * Never modify or reference this interface directly. All methods that expect a social equity setting model instance should use the {@link SocialEquitySetting} interface instead. 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see SocialEquitySetting 038 * @see com.liferay.portlet.social.model.impl.SocialEquitySettingImpl 039 * @see com.liferay.portlet.social.model.impl.SocialEquitySettingModelImpl 040 * @generated 041 */ 042 public interface SocialEquitySettingModel extends BaseModel<SocialEquitySetting> { 043 /** 044 * Gets the primary key of this social equity setting. 045 * 046 * @return the primary key of this social equity setting 047 */ 048 public long getPrimaryKey(); 049 050 /** 051 * Sets the primary key of this social equity setting 052 * 053 * @param pk the primary key of this social equity setting 054 */ 055 public void setPrimaryKey(long pk); 056 057 /** 058 * Gets the equity setting id of this social equity setting. 059 * 060 * @return the equity setting id of this social equity setting 061 */ 062 public long getEquitySettingId(); 063 064 /** 065 * Sets the equity setting id of this social equity setting. 066 * 067 * @param equitySettingId the equity setting id of this social equity setting 068 */ 069 public void setEquitySettingId(long equitySettingId); 070 071 /** 072 * Gets the group id of this social equity setting. 073 * 074 * @return the group id of this social equity setting 075 */ 076 public long getGroupId(); 077 078 /** 079 * Sets the group id of this social equity setting. 080 * 081 * @param groupId the group id of this social equity setting 082 */ 083 public void setGroupId(long groupId); 084 085 /** 086 * Gets the company id of this social equity setting. 087 * 088 * @return the company id of this social equity setting 089 */ 090 public long getCompanyId(); 091 092 /** 093 * Sets the company id of this social equity setting. 094 * 095 * @param companyId the company id of this social equity setting 096 */ 097 public void setCompanyId(long companyId); 098 099 /** 100 * Gets the class name of the model instance this social equity setting is polymorphically associated with. 101 * 102 * @return the class name of the model instance this social equity setting is polymorphically associated with 103 */ 104 public String getClassName(); 105 106 /** 107 * Gets the class name id of this social equity setting. 108 * 109 * @return the class name id of this social equity setting 110 */ 111 public long getClassNameId(); 112 113 /** 114 * Sets the class name id of this social equity setting. 115 * 116 * @param classNameId the class name id of this social equity setting 117 */ 118 public void setClassNameId(long classNameId); 119 120 /** 121 * Gets the action id of this social equity setting. 122 * 123 * @return the action id of this social equity setting 124 */ 125 @AutoEscape 126 public String getActionId(); 127 128 /** 129 * Sets the action id of this social equity setting. 130 * 131 * @param actionId the action id of this social equity setting 132 */ 133 public void setActionId(String actionId); 134 135 /** 136 * Gets the daily limit of this social equity setting. 137 * 138 * @return the daily limit of this social equity setting 139 */ 140 public int getDailyLimit(); 141 142 /** 143 * Sets the daily limit of this social equity setting. 144 * 145 * @param dailyLimit the daily limit of this social equity setting 146 */ 147 public void setDailyLimit(int dailyLimit); 148 149 /** 150 * Gets the lifespan of this social equity setting. 151 * 152 * @return the lifespan of this social equity setting 153 */ 154 public int getLifespan(); 155 156 /** 157 * Sets the lifespan of this social equity setting. 158 * 159 * @param lifespan the lifespan of this social equity setting 160 */ 161 public void setLifespan(int lifespan); 162 163 /** 164 * Gets the type of this social equity setting. 165 * 166 * @return the type of this social equity setting 167 */ 168 public int getType(); 169 170 /** 171 * Sets the type of this social equity setting. 172 * 173 * @param type the type of this social equity setting 174 */ 175 public void setType(int type); 176 177 /** 178 * Gets the unique entry of this social equity setting. 179 * 180 * @return the unique entry of this social equity setting 181 */ 182 public boolean getUniqueEntry(); 183 184 /** 185 * Determines whether this social equity setting is unique entry. 186 * 187 * @return whether this social equity setting is unique entry 188 */ 189 public boolean isUniqueEntry(); 190 191 /** 192 * Sets whether this {$entity.humanName} is unique entry. 193 * 194 * @param uniqueEntry the unique entry of this social equity setting 195 */ 196 public void setUniqueEntry(boolean uniqueEntry); 197 198 /** 199 * Gets the value of this social equity setting. 200 * 201 * @return the value of this social equity setting 202 */ 203 public int getValue(); 204 205 /** 206 * Sets the value of this social equity setting. 207 * 208 * @param value the value of this social equity setting 209 */ 210 public void setValue(int value); 211 212 /** 213 * Gets a copy of this social equity setting as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}. 214 * 215 * @return the escaped model instance 216 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler 217 */ 218 public SocialEquitySetting toEscapedModel(); 219 220 public boolean isNew(); 221 222 public void setNew(boolean n); 223 224 public boolean isCachedModel(); 225 226 public void setCachedModel(boolean cachedModel); 227 228 public boolean isEscapedModel(); 229 230 public void setEscapedModel(boolean escapedModel); 231 232 public Serializable getPrimaryKeyObj(); 233 234 public ExpandoBridge getExpandoBridge(); 235 236 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 237 238 public Object clone(); 239 240 public int compareTo(SocialEquitySetting socialEquitySetting); 241 242 public int hashCode(); 243 244 public String toString(); 245 246 public String toXmlString(); 247 }