001 /** 002 * Copyright (c) 2000-2010 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.annotation.AutoEscape; 018 import com.liferay.portal.kernel.exception.SystemException; 019 import com.liferay.portal.model.BaseModel; 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 * <p> 036 * Never modify or reference this interface directly. All methods that expect a d l file rank model instance should use the {@link DLFileRank} interface instead. 037 * </p> 038 * 039 * @author Brian Wing Shun Chan 040 * @see DLFileRank 041 * @see com.liferay.portlet.documentlibrary.model.impl.DLFileRankImpl 042 * @see com.liferay.portlet.documentlibrary.model.impl.DLFileRankModelImpl 043 * @generated 044 */ 045 public interface DLFileRankModel extends BaseModel<DLFileRank> { 046 /** 047 * Gets the primary key of this d l file rank. 048 * 049 * @return the primary key of this d l file rank 050 */ 051 public long getPrimaryKey(); 052 053 /** 054 * Sets the primary key of this d l file rank 055 * 056 * @param pk the primary key of this d l file rank 057 */ 058 public void setPrimaryKey(long pk); 059 060 /** 061 * Gets the file rank id of this d l file rank. 062 * 063 * @return the file rank id of this d l file rank 064 */ 065 public long getFileRankId(); 066 067 /** 068 * Sets the file rank id of this d l file rank. 069 * 070 * @param fileRankId the file rank id of this d l file rank 071 */ 072 public void setFileRankId(long fileRankId); 073 074 /** 075 * Gets the group id of this d l file rank. 076 * 077 * @return the group id of this d l file rank 078 */ 079 public long getGroupId(); 080 081 /** 082 * Sets the group id of this d l file rank. 083 * 084 * @param groupId the group id of this d l file rank 085 */ 086 public void setGroupId(long groupId); 087 088 /** 089 * Gets the company id of this d l file rank. 090 * 091 * @return the company id of this d l file rank 092 */ 093 public long getCompanyId(); 094 095 /** 096 * Sets the company id of this d l file rank. 097 * 098 * @param companyId the company id of this d l file rank 099 */ 100 public void setCompanyId(long companyId); 101 102 /** 103 * Gets the user id of this d l file rank. 104 * 105 * @return the user id of this d l file rank 106 */ 107 public long getUserId(); 108 109 /** 110 * Sets the user id of this d l file rank. 111 * 112 * @param userId the user id of this d l file rank 113 */ 114 public void setUserId(long userId); 115 116 /** 117 * Gets the user uuid of this d l file rank. 118 * 119 * @return the user uuid of this d l file rank 120 * @throws SystemException if a system exception occurred 121 */ 122 public String getUserUuid() throws SystemException; 123 124 /** 125 * Sets the user uuid of this d l file rank. 126 * 127 * @param userUuid the user uuid of this d l file rank 128 */ 129 public void setUserUuid(String userUuid); 130 131 /** 132 * Gets the create date of this d l file rank. 133 * 134 * @return the create date of this d l file rank 135 */ 136 public Date getCreateDate(); 137 138 /** 139 * Sets the create date of this d l file rank. 140 * 141 * @param createDate the create date of this d l file rank 142 */ 143 public void setCreateDate(Date createDate); 144 145 /** 146 * Gets the folder id of this d l file rank. 147 * 148 * @return the folder id of this d l file rank 149 */ 150 public long getFolderId(); 151 152 /** 153 * Sets the folder id of this d l file rank. 154 * 155 * @param folderId the folder id of this d l file rank 156 */ 157 public void setFolderId(long folderId); 158 159 /** 160 * Gets the name of this d l file rank. 161 * 162 * @return the name of this d l file rank 163 */ 164 @AutoEscape 165 public String getName(); 166 167 /** 168 * Sets the name of this d l file rank. 169 * 170 * @param name the name of this d l file rank 171 */ 172 public void setName(String name); 173 174 /** 175 * Gets a copy of this d l file rank as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}. 176 * 177 * @return the escaped model instance 178 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler 179 */ 180 public DLFileRank toEscapedModel(); 181 182 public boolean isNew(); 183 184 public void setNew(boolean n); 185 186 public boolean isCachedModel(); 187 188 public void setCachedModel(boolean cachedModel); 189 190 public boolean isEscapedModel(); 191 192 public void setEscapedModel(boolean escapedModel); 193 194 public Serializable getPrimaryKeyObj(); 195 196 public ExpandoBridge getExpandoBridge(); 197 198 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 199 200 public Object clone(); 201 202 public int compareTo(DLFileRank dlFileRank); 203 204 public int hashCode(); 205 206 public String toString(); 207 208 public String toXmlString(); 209 }