001 /** 002 * Copyright (c) 2000-2013 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.bean.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 * The base model interface for the MembershipRequest service. Represents a row in the "MembershipRequest" 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.portal.model.impl.MembershipRequestModelImpl} 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.portal.model.impl.MembershipRequestImpl}. 032 * </p> 033 * 034 * @author Brian Wing Shun Chan 035 * @see MembershipRequest 036 * @see com.liferay.portal.model.impl.MembershipRequestImpl 037 * @see com.liferay.portal.model.impl.MembershipRequestModelImpl 038 * @generated 039 */ 040 public interface MembershipRequestModel extends BaseModel<MembershipRequest> { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify or reference this interface directly. All methods that expect a membership request model instance should use the {@link MembershipRequest} interface instead. 045 */ 046 047 /** 048 * Returns the primary key of this membership request. 049 * 050 * @return the primary key of this membership request 051 */ 052 public long getPrimaryKey(); 053 054 /** 055 * Sets the primary key of this membership request. 056 * 057 * @param primaryKey the primary key of this membership request 058 */ 059 public void setPrimaryKey(long primaryKey); 060 061 /** 062 * Returns the membership request ID of this membership request. 063 * 064 * @return the membership request ID of this membership request 065 */ 066 public long getMembershipRequestId(); 067 068 /** 069 * Sets the membership request ID of this membership request. 070 * 071 * @param membershipRequestId the membership request ID of this membership request 072 */ 073 public void setMembershipRequestId(long membershipRequestId); 074 075 /** 076 * Returns the group ID of this membership request. 077 * 078 * @return the group ID of this membership request 079 */ 080 public long getGroupId(); 081 082 /** 083 * Sets the group ID of this membership request. 084 * 085 * @param groupId the group ID of this membership request 086 */ 087 public void setGroupId(long groupId); 088 089 /** 090 * Returns the company ID of this membership request. 091 * 092 * @return the company ID of this membership request 093 */ 094 public long getCompanyId(); 095 096 /** 097 * Sets the company ID of this membership request. 098 * 099 * @param companyId the company ID of this membership request 100 */ 101 public void setCompanyId(long companyId); 102 103 /** 104 * Returns the user ID of this membership request. 105 * 106 * @return the user ID of this membership request 107 */ 108 public long getUserId(); 109 110 /** 111 * Sets the user ID of this membership request. 112 * 113 * @param userId the user ID of this membership request 114 */ 115 public void setUserId(long userId); 116 117 /** 118 * Returns the user uuid of this membership request. 119 * 120 * @return the user uuid of this membership request 121 * @throws SystemException if a system exception occurred 122 */ 123 public String getUserUuid() throws SystemException; 124 125 /** 126 * Sets the user uuid of this membership request. 127 * 128 * @param userUuid the user uuid of this membership request 129 */ 130 public void setUserUuid(String userUuid); 131 132 /** 133 * Returns the create date of this membership request. 134 * 135 * @return the create date of this membership request 136 */ 137 public Date getCreateDate(); 138 139 /** 140 * Sets the create date of this membership request. 141 * 142 * @param createDate the create date of this membership request 143 */ 144 public void setCreateDate(Date createDate); 145 146 /** 147 * Returns the comments of this membership request. 148 * 149 * @return the comments of this membership request 150 */ 151 @AutoEscape 152 public String getComments(); 153 154 /** 155 * Sets the comments of this membership request. 156 * 157 * @param comments the comments of this membership request 158 */ 159 public void setComments(String comments); 160 161 /** 162 * Returns the reply comments of this membership request. 163 * 164 * @return the reply comments of this membership request 165 */ 166 @AutoEscape 167 public String getReplyComments(); 168 169 /** 170 * Sets the reply comments of this membership request. 171 * 172 * @param replyComments the reply comments of this membership request 173 */ 174 public void setReplyComments(String replyComments); 175 176 /** 177 * Returns the reply date of this membership request. 178 * 179 * @return the reply date of this membership request 180 */ 181 public Date getReplyDate(); 182 183 /** 184 * Sets the reply date of this membership request. 185 * 186 * @param replyDate the reply date of this membership request 187 */ 188 public void setReplyDate(Date replyDate); 189 190 /** 191 * Returns the replier user ID of this membership request. 192 * 193 * @return the replier user ID of this membership request 194 */ 195 public long getReplierUserId(); 196 197 /** 198 * Sets the replier user ID of this membership request. 199 * 200 * @param replierUserId the replier user ID of this membership request 201 */ 202 public void setReplierUserId(long replierUserId); 203 204 /** 205 * Returns the replier user uuid of this membership request. 206 * 207 * @return the replier user uuid of this membership request 208 * @throws SystemException if a system exception occurred 209 */ 210 public String getReplierUserUuid() throws SystemException; 211 212 /** 213 * Sets the replier user uuid of this membership request. 214 * 215 * @param replierUserUuid the replier user uuid of this membership request 216 */ 217 public void setReplierUserUuid(String replierUserUuid); 218 219 /** 220 * Returns the status ID of this membership request. 221 * 222 * @return the status ID of this membership request 223 */ 224 public int getStatusId(); 225 226 /** 227 * Sets the status ID of this membership request. 228 * 229 * @param statusId the status ID of this membership request 230 */ 231 public void setStatusId(int statusId); 232 233 public boolean isNew(); 234 235 public void setNew(boolean n); 236 237 public boolean isCachedModel(); 238 239 public void setCachedModel(boolean cachedModel); 240 241 public boolean isEscapedModel(); 242 243 public Serializable getPrimaryKeyObj(); 244 245 public void setPrimaryKeyObj(Serializable primaryKeyObj); 246 247 public ExpandoBridge getExpandoBridge(); 248 249 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 250 251 public Object clone(); 252 253 public int compareTo(MembershipRequest membershipRequest); 254 255 public int hashCode(); 256 257 public CacheModel<MembershipRequest> toCacheModel(); 258 259 public MembershipRequest toEscapedModel(); 260 261 public MembershipRequest toUnescapedModel(); 262 263 public String toString(); 264 265 public String toXmlString(); 266 }