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.documentlibrary.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.model.BaseModel; 020 import com.liferay.portal.model.CacheModel; 021 import com.liferay.portal.service.ServiceContext; 022 023 import com.liferay.portlet.expando.model.ExpandoBridge; 024 025 import java.io.Serializable; 026 027 import java.util.Date; 028 029 /** 030 * The base model interface for the DLFileRank service. Represents a row in the "DLFileRank" database table, with each column mapped to a property of this class. 031 * 032 * <p> 033 * This interface and its corresponding implementation {@link com.liferay.portlet.documentlibrary.model.impl.DLFileRankModelImpl} 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.DLFileRankImpl}. 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see DLFileRank 038 * @see com.liferay.portlet.documentlibrary.model.impl.DLFileRankImpl 039 * @see com.liferay.portlet.documentlibrary.model.impl.DLFileRankModelImpl 040 * @generated 041 */ 042 @ProviderType 043 public interface DLFileRankModel extends BaseModel<DLFileRank> { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify or reference this interface directly. All methods that expect a document library file rank model instance should use the {@link DLFileRank} interface instead. 048 */ 049 050 /** 051 * Returns the primary key of this document library file rank. 052 * 053 * @return the primary key of this document library file rank 054 */ 055 public long getPrimaryKey(); 056 057 /** 058 * Sets the primary key of this document library file rank. 059 * 060 * @param primaryKey the primary key of this document library file rank 061 */ 062 public void setPrimaryKey(long primaryKey); 063 064 /** 065 * Returns the file rank ID of this document library file rank. 066 * 067 * @return the file rank ID of this document library file rank 068 */ 069 public long getFileRankId(); 070 071 /** 072 * Sets the file rank ID of this document library file rank. 073 * 074 * @param fileRankId the file rank ID of this document library file rank 075 */ 076 public void setFileRankId(long fileRankId); 077 078 /** 079 * Returns the group ID of this document library file rank. 080 * 081 * @return the group ID of this document library file rank 082 */ 083 public long getGroupId(); 084 085 /** 086 * Sets the group ID of this document library file rank. 087 * 088 * @param groupId the group ID of this document library file rank 089 */ 090 public void setGroupId(long groupId); 091 092 /** 093 * Returns the company ID of this document library file rank. 094 * 095 * @return the company ID of this document library file rank 096 */ 097 public long getCompanyId(); 098 099 /** 100 * Sets the company ID of this document library file rank. 101 * 102 * @param companyId the company ID of this document library file rank 103 */ 104 public void setCompanyId(long companyId); 105 106 /** 107 * Returns the user ID of this document library file rank. 108 * 109 * @return the user ID of this document library file rank 110 */ 111 public long getUserId(); 112 113 /** 114 * Sets the user ID of this document library file rank. 115 * 116 * @param userId the user ID of this document library file rank 117 */ 118 public void setUserId(long userId); 119 120 /** 121 * Returns the user uuid of this document library file rank. 122 * 123 * @return the user uuid of this document library file rank 124 */ 125 public String getUserUuid(); 126 127 /** 128 * Sets the user uuid of this document library file rank. 129 * 130 * @param userUuid the user uuid of this document library file rank 131 */ 132 public void setUserUuid(String userUuid); 133 134 /** 135 * Returns the create date of this document library file rank. 136 * 137 * @return the create date of this document library file rank 138 */ 139 public Date getCreateDate(); 140 141 /** 142 * Sets the create date of this document library file rank. 143 * 144 * @param createDate the create date of this document library file rank 145 */ 146 public void setCreateDate(Date createDate); 147 148 /** 149 * Returns the file entry ID of this document library file rank. 150 * 151 * @return the file entry ID of this document library file rank 152 */ 153 public long getFileEntryId(); 154 155 /** 156 * Sets the file entry ID of this document library file rank. 157 * 158 * @param fileEntryId the file entry ID of this document library file rank 159 */ 160 public void setFileEntryId(long fileEntryId); 161 162 /** 163 * Returns the active of this document library file rank. 164 * 165 * @return the active of this document library file rank 166 */ 167 public boolean getActive(); 168 169 /** 170 * Returns <code>true</code> if this document library file rank is active. 171 * 172 * @return <code>true</code> if this document library file rank is active; <code>false</code> otherwise 173 */ 174 public boolean isActive(); 175 176 /** 177 * Sets whether this document library file rank is active. 178 * 179 * @param active the active of this document library file rank 180 */ 181 public void setActive(boolean active); 182 183 @Override 184 public boolean isNew(); 185 186 @Override 187 public void setNew(boolean n); 188 189 @Override 190 public boolean isCachedModel(); 191 192 @Override 193 public void setCachedModel(boolean cachedModel); 194 195 @Override 196 public boolean isEscapedModel(); 197 198 @Override 199 public Serializable getPrimaryKeyObj(); 200 201 @Override 202 public void setPrimaryKeyObj(Serializable primaryKeyObj); 203 204 @Override 205 public ExpandoBridge getExpandoBridge(); 206 207 @Override 208 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 209 210 @Override 211 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 212 213 @Override 214 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 215 216 @Override 217 public Object clone(); 218 219 @Override 220 public int compareTo( 221 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank); 222 223 @Override 224 public int hashCode(); 225 226 @Override 227 public CacheModel<com.liferay.portlet.documentlibrary.model.DLFileRank> toCacheModel(); 228 229 @Override 230 public com.liferay.portlet.documentlibrary.model.DLFileRank toEscapedModel(); 231 232 @Override 233 public com.liferay.portlet.documentlibrary.model.DLFileRank toUnescapedModel(); 234 235 @Override 236 public String toString(); 237 238 @Override 239 public String toXmlString(); 240 }