001 /** 002 * Copyright (c) 2000-2011 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.kernel.exception.SystemException; 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 SocialEquityLog service. Represents a row in the "SocialEquityLog" 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.SocialEquityLogModelImpl} 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.SocialEquityLogImpl}. 032 * </p> 033 * 034 * @author Brian Wing Shun Chan 035 * @see SocialEquityLog 036 * @see com.liferay.portlet.social.model.impl.SocialEquityLogImpl 037 * @see com.liferay.portlet.social.model.impl.SocialEquityLogModelImpl 038 * @generated 039 */ 040 public interface SocialEquityLogModel extends BaseModel<SocialEquityLog> { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify or reference this interface directly. All methods that expect a social equity log model instance should use the {@link SocialEquityLog} interface instead. 045 */ 046 047 /** 048 * Returns the primary key of this social equity log. 049 * 050 * @return the primary key of this social equity log 051 */ 052 public long getPrimaryKey(); 053 054 /** 055 * Sets the primary key of this social equity log. 056 * 057 * @param primaryKey the primary key of this social equity log 058 */ 059 public void setPrimaryKey(long primaryKey); 060 061 /** 062 * Returns the equity log ID of this social equity log. 063 * 064 * @return the equity log ID of this social equity log 065 */ 066 public long getEquityLogId(); 067 068 /** 069 * Sets the equity log ID of this social equity log. 070 * 071 * @param equityLogId the equity log ID of this social equity log 072 */ 073 public void setEquityLogId(long equityLogId); 074 075 /** 076 * Returns the group ID of this social equity log. 077 * 078 * @return the group ID of this social equity log 079 */ 080 public long getGroupId(); 081 082 /** 083 * Sets the group ID of this social equity log. 084 * 085 * @param groupId the group ID of this social equity log 086 */ 087 public void setGroupId(long groupId); 088 089 /** 090 * Returns the company ID of this social equity log. 091 * 092 * @return the company ID of this social equity log 093 */ 094 public long getCompanyId(); 095 096 /** 097 * Sets the company ID of this social equity log. 098 * 099 * @param companyId the company ID of this social equity log 100 */ 101 public void setCompanyId(long companyId); 102 103 /** 104 * Returns the user ID of this social equity log. 105 * 106 * @return the user ID of this social equity log 107 */ 108 public long getUserId(); 109 110 /** 111 * Sets the user ID of this social equity log. 112 * 113 * @param userId the user ID of this social equity log 114 */ 115 public void setUserId(long userId); 116 117 /** 118 * Returns the user uuid of this social equity log. 119 * 120 * @return the user uuid of this social equity log 121 * @throws SystemException if a system exception occurred 122 */ 123 public String getUserUuid() throws SystemException; 124 125 /** 126 * Sets the user uuid of this social equity log. 127 * 128 * @param userUuid the user uuid of this social equity log 129 */ 130 public void setUserUuid(String userUuid); 131 132 /** 133 * Returns the asset entry ID of this social equity log. 134 * 135 * @return the asset entry ID of this social equity log 136 */ 137 public long getAssetEntryId(); 138 139 /** 140 * Sets the asset entry ID of this social equity log. 141 * 142 * @param assetEntryId the asset entry ID of this social equity log 143 */ 144 public void setAssetEntryId(long assetEntryId); 145 146 /** 147 * Returns the action ID of this social equity log. 148 * 149 * @return the action ID of this social equity log 150 */ 151 @AutoEscape 152 public String getActionId(); 153 154 /** 155 * Sets the action ID of this social equity log. 156 * 157 * @param actionId the action ID of this social equity log 158 */ 159 public void setActionId(String actionId); 160 161 /** 162 * Returns the action date of this social equity log. 163 * 164 * @return the action date of this social equity log 165 */ 166 public int getActionDate(); 167 168 /** 169 * Sets the action date of this social equity log. 170 * 171 * @param actionDate the action date of this social equity log 172 */ 173 public void setActionDate(int actionDate); 174 175 /** 176 * Returns the active of this social equity log. 177 * 178 * @return the active of this social equity log 179 */ 180 public boolean getActive(); 181 182 /** 183 * Returns <code>true</code> if this social equity log is active. 184 * 185 * @return <code>true</code> if this social equity log is active; <code>false</code> otherwise 186 */ 187 public boolean isActive(); 188 189 /** 190 * Sets whether this social equity log is active. 191 * 192 * @param active the active of this social equity log 193 */ 194 public void setActive(boolean active); 195 196 /** 197 * Returns the expiration of this social equity log. 198 * 199 * @return the expiration of this social equity log 200 */ 201 public int getExpiration(); 202 203 /** 204 * Sets the expiration of this social equity log. 205 * 206 * @param expiration the expiration of this social equity log 207 */ 208 public void setExpiration(int expiration); 209 210 /** 211 * Returns the type of this social equity log. 212 * 213 * @return the type of this social equity log 214 */ 215 public int getType(); 216 217 /** 218 * Sets the type of this social equity log. 219 * 220 * @param type the type of this social equity log 221 */ 222 public void setType(int type); 223 224 /** 225 * Returns the value of this social equity log. 226 * 227 * @return the value of this social equity log 228 */ 229 public int getValue(); 230 231 /** 232 * Sets the value of this social equity log. 233 * 234 * @param value the value of this social equity log 235 */ 236 public void setValue(int value); 237 238 /** 239 * Returns the extra data of this social equity log. 240 * 241 * @return the extra data of this social equity log 242 */ 243 @AutoEscape 244 public String getExtraData(); 245 246 /** 247 * Sets the extra data of this social equity log. 248 * 249 * @param extraData the extra data of this social equity log 250 */ 251 public void setExtraData(String extraData); 252 253 public boolean isNew(); 254 255 public void setNew(boolean n); 256 257 public boolean isCachedModel(); 258 259 public void setCachedModel(boolean cachedModel); 260 261 public boolean isEscapedModel(); 262 263 public Serializable getPrimaryKeyObj(); 264 265 public void setPrimaryKeyObj(Serializable primaryKeyObj); 266 267 public ExpandoBridge getExpandoBridge(); 268 269 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 270 271 public Object clone(); 272 273 public int compareTo(SocialEquityLog socialEquityLog); 274 275 public int hashCode(); 276 277 public CacheModel<SocialEquityLog> toCacheModel(); 278 279 public SocialEquityLog toEscapedModel(); 280 281 public String toString(); 282 283 public String toXmlString(); 284 }