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