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     * <p>
028     * This interface is a model that represents the SocialRequest table in the
029     * database.
030     * </p>
031     *
032     * @author    Brian Wing Shun Chan
033     * @see       SocialRequest
034     * @see       com.liferay.portlet.social.model.impl.SocialRequestImpl
035     * @see       com.liferay.portlet.social.model.impl.SocialRequestModelImpl
036     * @generated
037     */
038    public interface SocialRequestModel extends BaseModel<SocialRequest> {
039            public long getPrimaryKey();
040    
041            public void setPrimaryKey(long pk);
042    
043            @AutoEscape
044            public String getUuid();
045    
046            public void setUuid(String uuid);
047    
048            public long getRequestId();
049    
050            public void setRequestId(long requestId);
051    
052            public long getGroupId();
053    
054            public void setGroupId(long groupId);
055    
056            public long getCompanyId();
057    
058            public void setCompanyId(long companyId);
059    
060            public long getUserId();
061    
062            public void setUserId(long userId);
063    
064            public String getUserUuid() throws SystemException;
065    
066            public void setUserUuid(String userUuid);
067    
068            public long getCreateDate();
069    
070            public void setCreateDate(long createDate);
071    
072            public long getModifiedDate();
073    
074            public void setModifiedDate(long modifiedDate);
075    
076            public String getClassName();
077    
078            public long getClassNameId();
079    
080            public void setClassNameId(long classNameId);
081    
082            public long getClassPK();
083    
084            public void setClassPK(long classPK);
085    
086            public int getType();
087    
088            public void setType(int type);
089    
090            @AutoEscape
091            public String getExtraData();
092    
093            public void setExtraData(String extraData);
094    
095            public long getReceiverUserId();
096    
097            public void setReceiverUserId(long receiverUserId);
098    
099            public String getReceiverUserUuid() throws SystemException;
100    
101            public void setReceiverUserUuid(String receiverUserUuid);
102    
103            public int getStatus();
104    
105            public void setStatus(int status);
106    
107            public SocialRequest toEscapedModel();
108    
109            public boolean isNew();
110    
111            public void setNew(boolean n);
112    
113            public boolean isCachedModel();
114    
115            public void setCachedModel(boolean cachedModel);
116    
117            public boolean isEscapedModel();
118    
119            public void setEscapedModel(boolean escapedModel);
120    
121            public Serializable getPrimaryKeyObj();
122    
123            public ExpandoBridge getExpandoBridge();
124    
125            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
126    
127            public Object clone();
128    
129            public int compareTo(SocialRequest socialRequest);
130    
131            public int hashCode();
132    
133            public String toString();
134    
135            public String toXmlString();
136    }