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