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