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