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.portal.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
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     * <p>
029     * This interface is a model that represents the MembershipRequest table in the
030     * database.
031     * </p>
032     *
033     * @author    Brian Wing Shun Chan
034     * @see       MembershipRequest
035     * @see       com.liferay.portal.model.impl.MembershipRequestImpl
036     * @see       com.liferay.portal.model.impl.MembershipRequestModelImpl
037     * @generated
038     */
039    public interface MembershipRequestModel extends BaseModel<MembershipRequest> {
040            public long getPrimaryKey();
041    
042            public void setPrimaryKey(long pk);
043    
044            public long getMembershipRequestId();
045    
046            public void setMembershipRequestId(long membershipRequestId);
047    
048            public long getCompanyId();
049    
050            public void setCompanyId(long companyId);
051    
052            public long getUserId();
053    
054            public void setUserId(long userId);
055    
056            public String getUserUuid() throws SystemException;
057    
058            public void setUserUuid(String userUuid);
059    
060            public Date getCreateDate();
061    
062            public void setCreateDate(Date createDate);
063    
064            public long getGroupId();
065    
066            public void setGroupId(long groupId);
067    
068            @AutoEscape
069            public String getComments();
070    
071            public void setComments(String comments);
072    
073            @AutoEscape
074            public String getReplyComments();
075    
076            public void setReplyComments(String replyComments);
077    
078            public Date getReplyDate();
079    
080            public void setReplyDate(Date replyDate);
081    
082            public long getReplierUserId();
083    
084            public void setReplierUserId(long replierUserId);
085    
086            public String getReplierUserUuid() throws SystemException;
087    
088            public void setReplierUserUuid(String replierUserUuid);
089    
090            public int getStatusId();
091    
092            public void setStatusId(int statusId);
093    
094            public MembershipRequest toEscapedModel();
095    
096            public boolean isNew();
097    
098            public void setNew(boolean n);
099    
100            public boolean isCachedModel();
101    
102            public void setCachedModel(boolean cachedModel);
103    
104            public boolean isEscapedModel();
105    
106            public void setEscapedModel(boolean escapedModel);
107    
108            public Serializable getPrimaryKeyObj();
109    
110            public ExpandoBridge getExpandoBridge();
111    
112            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
113    
114            public Object clone();
115    
116            public int compareTo(MembershipRequest membershipRequest);
117    
118            public int hashCode();
119    
120            public String toString();
121    
122            public String toXmlString();
123    }