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 RepositoryEntry service. Represents a row in the "RepositoryEntry" 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.RepositoryEntryModelImpl} 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.RepositoryEntryImpl}. 032 * </p> 033 * 034 * @author Brian Wing Shun Chan 035 * @see RepositoryEntry 036 * @see com.liferay.portal.model.impl.RepositoryEntryImpl 037 * @see com.liferay.portal.model.impl.RepositoryEntryModelImpl 038 * @generated 039 */ 040 public interface RepositoryEntryModel extends BaseModel<RepositoryEntry>, 041 StagedGroupedModel { 042 /* 043 * NOTE FOR DEVELOPERS: 044 * 045 * Never modify or reference this interface directly. All methods that expect a repository entry model instance should use the {@link RepositoryEntry} interface instead. 046 */ 047 048 /** 049 * Returns the primary key of this repository entry. 050 * 051 * @return the primary key of this repository entry 052 */ 053 public long getPrimaryKey(); 054 055 /** 056 * Sets the primary key of this repository entry. 057 * 058 * @param primaryKey the primary key of this repository entry 059 */ 060 public void setPrimaryKey(long primaryKey); 061 062 /** 063 * Returns the uuid of this repository entry. 064 * 065 * @return the uuid of this repository entry 066 */ 067 @AutoEscape 068 @Override 069 public String getUuid(); 070 071 /** 072 * Sets the uuid of this repository entry. 073 * 074 * @param uuid the uuid of this repository entry 075 */ 076 @Override 077 public void setUuid(String uuid); 078 079 /** 080 * Returns the repository entry ID of this repository entry. 081 * 082 * @return the repository entry ID of this repository entry 083 */ 084 public long getRepositoryEntryId(); 085 086 /** 087 * Sets the repository entry ID of this repository entry. 088 * 089 * @param repositoryEntryId the repository entry ID of this repository entry 090 */ 091 public void setRepositoryEntryId(long repositoryEntryId); 092 093 /** 094 * Returns the group ID of this repository entry. 095 * 096 * @return the group ID of this repository entry 097 */ 098 @Override 099 public long getGroupId(); 100 101 /** 102 * Sets the group ID of this repository entry. 103 * 104 * @param groupId the group ID of this repository entry 105 */ 106 @Override 107 public void setGroupId(long groupId); 108 109 /** 110 * Returns the company ID of this repository entry. 111 * 112 * @return the company ID of this repository entry 113 */ 114 @Override 115 public long getCompanyId(); 116 117 /** 118 * Sets the company ID of this repository entry. 119 * 120 * @param companyId the company ID of this repository entry 121 */ 122 @Override 123 public void setCompanyId(long companyId); 124 125 /** 126 * Returns the user ID of this repository entry. 127 * 128 * @return the user ID of this repository entry 129 */ 130 @Override 131 public long getUserId(); 132 133 /** 134 * Sets the user ID of this repository entry. 135 * 136 * @param userId the user ID of this repository entry 137 */ 138 @Override 139 public void setUserId(long userId); 140 141 /** 142 * Returns the user uuid of this repository entry. 143 * 144 * @return the user uuid of this repository entry 145 * @throws SystemException if a system exception occurred 146 */ 147 @Override 148 public String getUserUuid() throws SystemException; 149 150 /** 151 * Sets the user uuid of this repository entry. 152 * 153 * @param userUuid the user uuid of this repository entry 154 */ 155 @Override 156 public void setUserUuid(String userUuid); 157 158 /** 159 * Returns the user name of this repository entry. 160 * 161 * @return the user name of this repository entry 162 */ 163 @AutoEscape 164 @Override 165 public String getUserName(); 166 167 /** 168 * Sets the user name of this repository entry. 169 * 170 * @param userName the user name of this repository entry 171 */ 172 @Override 173 public void setUserName(String userName); 174 175 /** 176 * Returns the create date of this repository entry. 177 * 178 * @return the create date of this repository entry 179 */ 180 @Override 181 public Date getCreateDate(); 182 183 /** 184 * Sets the create date of this repository entry. 185 * 186 * @param createDate the create date of this repository entry 187 */ 188 @Override 189 public void setCreateDate(Date createDate); 190 191 /** 192 * Returns the modified date of this repository entry. 193 * 194 * @return the modified date of this repository entry 195 */ 196 @Override 197 public Date getModifiedDate(); 198 199 /** 200 * Sets the modified date of this repository entry. 201 * 202 * @param modifiedDate the modified date of this repository entry 203 */ 204 @Override 205 public void setModifiedDate(Date modifiedDate); 206 207 /** 208 * Returns the repository ID of this repository entry. 209 * 210 * @return the repository ID of this repository entry 211 */ 212 public long getRepositoryId(); 213 214 /** 215 * Sets the repository ID of this repository entry. 216 * 217 * @param repositoryId the repository ID of this repository entry 218 */ 219 public void setRepositoryId(long repositoryId); 220 221 /** 222 * Returns the mapped ID of this repository entry. 223 * 224 * @return the mapped ID of this repository entry 225 */ 226 @AutoEscape 227 public String getMappedId(); 228 229 /** 230 * Sets the mapped ID of this repository entry. 231 * 232 * @param mappedId the mapped ID of this repository entry 233 */ 234 public void setMappedId(String mappedId); 235 236 /** 237 * Returns the manual check in required of this repository entry. 238 * 239 * @return the manual check in required of this repository entry 240 */ 241 public boolean getManualCheckInRequired(); 242 243 /** 244 * Returns <code>true</code> if this repository entry is manual check in required. 245 * 246 * @return <code>true</code> if this repository entry is manual check in required; <code>false</code> otherwise 247 */ 248 public boolean isManualCheckInRequired(); 249 250 /** 251 * Sets whether this repository entry is manual check in required. 252 * 253 * @param manualCheckInRequired the manual check in required of this repository entry 254 */ 255 public void setManualCheckInRequired(boolean manualCheckInRequired); 256 257 @Override 258 public boolean isNew(); 259 260 @Override 261 public void setNew(boolean n); 262 263 @Override 264 public boolean isCachedModel(); 265 266 @Override 267 public void setCachedModel(boolean cachedModel); 268 269 @Override 270 public boolean isEscapedModel(); 271 272 @Override 273 public Serializable getPrimaryKeyObj(); 274 275 @Override 276 public void setPrimaryKeyObj(Serializable primaryKeyObj); 277 278 @Override 279 public ExpandoBridge getExpandoBridge(); 280 281 @Override 282 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 283 284 @Override 285 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 286 287 @Override 288 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 289 290 @Override 291 public Object clone(); 292 293 @Override 294 public int compareTo(RepositoryEntry repositoryEntry); 295 296 @Override 297 public int hashCode(); 298 299 @Override 300 public CacheModel<RepositoryEntry> toCacheModel(); 301 302 @Override 303 public RepositoryEntry toEscapedModel(); 304 305 @Override 306 public RepositoryEntry toUnescapedModel(); 307 308 @Override 309 public String toString(); 310 311 @Override 312 public String toXmlString(); 313 }