001 /** 002 * Copyright (c) 2000-present 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.messageboards.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.model.BaseModel; 021 import com.liferay.portal.model.CacheModel; 022 import com.liferay.portal.model.ShardedModel; 023 import com.liferay.portal.model.StagedGroupedModel; 024 import com.liferay.portal.service.ServiceContext; 025 026 import com.liferay.portlet.expando.model.ExpandoBridge; 027 028 import java.io.Serializable; 029 030 import java.util.Date; 031 032 /** 033 * The base model interface for the MBBan service. Represents a row in the "MBBan" database table, with each column mapped to a property of this class. 034 * 035 * <p> 036 * This interface and its corresponding implementation {@link com.liferay.portlet.messageboards.model.impl.MBBanModelImpl} 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.messageboards.model.impl.MBBanImpl}. 037 * </p> 038 * 039 * @author Brian Wing Shun Chan 040 * @see MBBan 041 * @see com.liferay.portlet.messageboards.model.impl.MBBanImpl 042 * @see com.liferay.portlet.messageboards.model.impl.MBBanModelImpl 043 * @generated 044 */ 045 @ProviderType 046 public interface MBBanModel extends BaseModel<MBBan>, ShardedModel, 047 StagedGroupedModel { 048 /* 049 * NOTE FOR DEVELOPERS: 050 * 051 * Never modify or reference this interface directly. All methods that expect a message boards ban model instance should use the {@link MBBan} interface instead. 052 */ 053 054 /** 055 * Returns the primary key of this message boards ban. 056 * 057 * @return the primary key of this message boards ban 058 */ 059 public long getPrimaryKey(); 060 061 /** 062 * Sets the primary key of this message boards ban. 063 * 064 * @param primaryKey the primary key of this message boards ban 065 */ 066 public void setPrimaryKey(long primaryKey); 067 068 /** 069 * Returns the uuid of this message boards ban. 070 * 071 * @return the uuid of this message boards ban 072 */ 073 @AutoEscape 074 @Override 075 public String getUuid(); 076 077 /** 078 * Sets the uuid of this message boards ban. 079 * 080 * @param uuid the uuid of this message boards ban 081 */ 082 @Override 083 public void setUuid(String uuid); 084 085 /** 086 * Returns the ban ID of this message boards ban. 087 * 088 * @return the ban ID of this message boards ban 089 */ 090 public long getBanId(); 091 092 /** 093 * Sets the ban ID of this message boards ban. 094 * 095 * @param banId the ban ID of this message boards ban 096 */ 097 public void setBanId(long banId); 098 099 /** 100 * Returns the group ID of this message boards ban. 101 * 102 * @return the group ID of this message boards ban 103 */ 104 @Override 105 public long getGroupId(); 106 107 /** 108 * Sets the group ID of this message boards ban. 109 * 110 * @param groupId the group ID of this message boards ban 111 */ 112 @Override 113 public void setGroupId(long groupId); 114 115 /** 116 * Returns the company ID of this message boards ban. 117 * 118 * @return the company ID of this message boards ban 119 */ 120 @Override 121 public long getCompanyId(); 122 123 /** 124 * Sets the company ID of this message boards ban. 125 * 126 * @param companyId the company ID of this message boards ban 127 */ 128 @Override 129 public void setCompanyId(long companyId); 130 131 /** 132 * Returns the user ID of this message boards ban. 133 * 134 * @return the user ID of this message boards ban 135 */ 136 @Override 137 public long getUserId(); 138 139 /** 140 * Sets the user ID of this message boards ban. 141 * 142 * @param userId the user ID of this message boards ban 143 */ 144 @Override 145 public void setUserId(long userId); 146 147 /** 148 * Returns the user uuid of this message boards ban. 149 * 150 * @return the user uuid of this message boards ban 151 */ 152 @Override 153 public String getUserUuid(); 154 155 /** 156 * Sets the user uuid of this message boards ban. 157 * 158 * @param userUuid the user uuid of this message boards ban 159 */ 160 @Override 161 public void setUserUuid(String userUuid); 162 163 /** 164 * Returns the user name of this message boards ban. 165 * 166 * @return the user name of this message boards ban 167 */ 168 @AutoEscape 169 @Override 170 public String getUserName(); 171 172 /** 173 * Sets the user name of this message boards ban. 174 * 175 * @param userName the user name of this message boards ban 176 */ 177 @Override 178 public void setUserName(String userName); 179 180 /** 181 * Returns the create date of this message boards ban. 182 * 183 * @return the create date of this message boards ban 184 */ 185 @Override 186 public Date getCreateDate(); 187 188 /** 189 * Sets the create date of this message boards ban. 190 * 191 * @param createDate the create date of this message boards ban 192 */ 193 @Override 194 public void setCreateDate(Date createDate); 195 196 /** 197 * Returns the modified date of this message boards ban. 198 * 199 * @return the modified date of this message boards ban 200 */ 201 @Override 202 public Date getModifiedDate(); 203 204 /** 205 * Sets the modified date of this message boards ban. 206 * 207 * @param modifiedDate the modified date of this message boards ban 208 */ 209 @Override 210 public void setModifiedDate(Date modifiedDate); 211 212 /** 213 * Returns the ban user ID of this message boards ban. 214 * 215 * @return the ban user ID of this message boards ban 216 */ 217 public long getBanUserId(); 218 219 /** 220 * Sets the ban user ID of this message boards ban. 221 * 222 * @param banUserId the ban user ID of this message boards ban 223 */ 224 public void setBanUserId(long banUserId); 225 226 /** 227 * Returns the ban user uuid of this message boards ban. 228 * 229 * @return the ban user uuid of this message boards ban 230 */ 231 public String getBanUserUuid(); 232 233 /** 234 * Sets the ban user uuid of this message boards ban. 235 * 236 * @param banUserUuid the ban user uuid of this message boards ban 237 */ 238 public void setBanUserUuid(String banUserUuid); 239 240 /** 241 * Returns the last publish date of this message boards ban. 242 * 243 * @return the last publish date of this message boards ban 244 */ 245 @Override 246 public Date getLastPublishDate(); 247 248 /** 249 * Sets the last publish date of this message boards ban. 250 * 251 * @param lastPublishDate the last publish date of this message boards ban 252 */ 253 @Override 254 public void setLastPublishDate(Date lastPublishDate); 255 256 @Override 257 public boolean isNew(); 258 259 @Override 260 public void setNew(boolean n); 261 262 @Override 263 public boolean isCachedModel(); 264 265 @Override 266 public void setCachedModel(boolean cachedModel); 267 268 @Override 269 public boolean isEscapedModel(); 270 271 @Override 272 public Serializable getPrimaryKeyObj(); 273 274 @Override 275 public void setPrimaryKeyObj(Serializable primaryKeyObj); 276 277 @Override 278 public ExpandoBridge getExpandoBridge(); 279 280 @Override 281 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 282 283 @Override 284 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 285 286 @Override 287 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 288 289 @Override 290 public Object clone(); 291 292 @Override 293 public int compareTo(com.liferay.portlet.messageboards.model.MBBan mbBan); 294 295 @Override 296 public int hashCode(); 297 298 @Override 299 public CacheModel<com.liferay.portlet.messageboards.model.MBBan> toCacheModel(); 300 301 @Override 302 public com.liferay.portlet.messageboards.model.MBBan toEscapedModel(); 303 304 @Override 305 public com.liferay.portlet.messageboards.model.MBBan toUnescapedModel(); 306 307 @Override 308 public String toString(); 309 310 @Override 311 public String toXmlString(); 312 }