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.exception.SystemException; 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 import java.util.Date; 026 027 /** 028 * The base model interface for the SocialEquityHistory service. Represents a row in the "SocialEquityHistory" 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.SocialEquityHistoryModelImpl} 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.SocialEquityHistoryImpl}. 032 * </p> 033 * 034 * <p> 035 * Never modify or reference this interface directly. All methods that expect a social equity history model instance should use the {@link SocialEquityHistory} interface instead. 036 * </p> 037 * 038 * @author Brian Wing Shun Chan 039 * @see SocialEquityHistory 040 * @see com.liferay.portlet.social.model.impl.SocialEquityHistoryImpl 041 * @see com.liferay.portlet.social.model.impl.SocialEquityHistoryModelImpl 042 * @generated 043 */ 044 public interface SocialEquityHistoryModel extends BaseModel<SocialEquityHistory> { 045 /** 046 * Gets the primary key of this social equity history. 047 * 048 * @return the primary key of this social equity history 049 */ 050 public long getPrimaryKey(); 051 052 /** 053 * Sets the primary key of this social equity history 054 * 055 * @param pk the primary key of this social equity history 056 */ 057 public void setPrimaryKey(long pk); 058 059 /** 060 * Gets the equity history id of this social equity history. 061 * 062 * @return the equity history id of this social equity history 063 */ 064 public long getEquityHistoryId(); 065 066 /** 067 * Sets the equity history id of this social equity history. 068 * 069 * @param equityHistoryId the equity history id of this social equity history 070 */ 071 public void setEquityHistoryId(long equityHistoryId); 072 073 /** 074 * Gets the group id of this social equity history. 075 * 076 * @return the group id of this social equity history 077 */ 078 public long getGroupId(); 079 080 /** 081 * Sets the group id of this social equity history. 082 * 083 * @param groupId the group id of this social equity history 084 */ 085 public void setGroupId(long groupId); 086 087 /** 088 * Gets the company id of this social equity history. 089 * 090 * @return the company id of this social equity history 091 */ 092 public long getCompanyId(); 093 094 /** 095 * Sets the company id of this social equity history. 096 * 097 * @param companyId the company id of this social equity history 098 */ 099 public void setCompanyId(long companyId); 100 101 /** 102 * Gets the user id of this social equity history. 103 * 104 * @return the user id of this social equity history 105 */ 106 public long getUserId(); 107 108 /** 109 * Sets the user id of this social equity history. 110 * 111 * @param userId the user id of this social equity history 112 */ 113 public void setUserId(long userId); 114 115 /** 116 * Gets the user uuid of this social equity history. 117 * 118 * @return the user uuid of this social equity history 119 * @throws SystemException if a system exception occurred 120 */ 121 public String getUserUuid() throws SystemException; 122 123 /** 124 * Sets the user uuid of this social equity history. 125 * 126 * @param userUuid the user uuid of this social equity history 127 */ 128 public void setUserUuid(String userUuid); 129 130 /** 131 * Gets the create date of this social equity history. 132 * 133 * @return the create date of this social equity history 134 */ 135 public Date getCreateDate(); 136 137 /** 138 * Sets the create date of this social equity history. 139 * 140 * @param createDate the create date of this social equity history 141 */ 142 public void setCreateDate(Date createDate); 143 144 /** 145 * Gets the personal equity of this social equity history. 146 * 147 * @return the personal equity of this social equity history 148 */ 149 public int getPersonalEquity(); 150 151 /** 152 * Sets the personal equity of this social equity history. 153 * 154 * @param personalEquity the personal equity of this social equity history 155 */ 156 public void setPersonalEquity(int personalEquity); 157 158 /** 159 * Gets a copy of this social equity history as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}. 160 * 161 * @return the escaped model instance 162 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler 163 */ 164 public SocialEquityHistory toEscapedModel(); 165 166 public boolean isNew(); 167 168 public void setNew(boolean n); 169 170 public boolean isCachedModel(); 171 172 public void setCachedModel(boolean cachedModel); 173 174 public boolean isEscapedModel(); 175 176 public void setEscapedModel(boolean escapedModel); 177 178 public Serializable getPrimaryKeyObj(); 179 180 public ExpandoBridge getExpandoBridge(); 181 182 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 183 184 public Object clone(); 185 186 public int compareTo(SocialEquityHistory socialEquityHistory); 187 188 public int hashCode(); 189 190 public String toString(); 191 192 public String toXmlString(); 193 }