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