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