001 /** 002 * Copyright (c) 2000-2011 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.portal.model; 016 017 import com.liferay.portal.kernel.bean.AutoEscape; 018 import com.liferay.portal.service.ServiceContext; 019 020 import com.liferay.portlet.expando.model.ExpandoBridge; 021 022 import java.io.Serializable; 023 024 import java.util.Date; 025 026 /** 027 * The base model interface for the Repository service. Represents a row in the "Repository" database table, with each column mapped to a property of this class. 028 * 029 * <p> 030 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.RepositoryModelImpl} 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.portal.model.impl.RepositoryImpl}. 031 * </p> 032 * 033 * @author Brian Wing Shun Chan 034 * @see Repository 035 * @see com.liferay.portal.model.impl.RepositoryImpl 036 * @see com.liferay.portal.model.impl.RepositoryModelImpl 037 * @generated 038 */ 039 public interface RepositoryModel extends BaseModel<Repository> { 040 /* 041 * NOTE FOR DEVELOPERS: 042 * 043 * Never modify or reference this interface directly. All methods that expect a repository model instance should use the {@link Repository} interface instead. 044 */ 045 046 /** 047 * Returns the primary key of this repository. 048 * 049 * @return the primary key of this repository 050 */ 051 public long getPrimaryKey(); 052 053 /** 054 * Sets the primary key of this repository. 055 * 056 * @param primaryKey the primary key of this repository 057 */ 058 public void setPrimaryKey(long primaryKey); 059 060 /** 061 * Returns the repository ID of this repository. 062 * 063 * @return the repository ID of this repository 064 */ 065 public long getRepositoryId(); 066 067 /** 068 * Sets the repository ID of this repository. 069 * 070 * @param repositoryId the repository ID of this repository 071 */ 072 public void setRepositoryId(long repositoryId); 073 074 /** 075 * Returns the group ID of this repository. 076 * 077 * @return the group ID of this repository 078 */ 079 public long getGroupId(); 080 081 /** 082 * Sets the group ID of this repository. 083 * 084 * @param groupId the group ID of this repository 085 */ 086 public void setGroupId(long groupId); 087 088 /** 089 * Returns the company ID of this repository. 090 * 091 * @return the company ID of this repository 092 */ 093 public long getCompanyId(); 094 095 /** 096 * Sets the company ID of this repository. 097 * 098 * @param companyId the company ID of this repository 099 */ 100 public void setCompanyId(long companyId); 101 102 /** 103 * Returns the create date of this repository. 104 * 105 * @return the create date of this repository 106 */ 107 public Date getCreateDate(); 108 109 /** 110 * Sets the create date of this repository. 111 * 112 * @param createDate the create date of this repository 113 */ 114 public void setCreateDate(Date createDate); 115 116 /** 117 * Returns the modified date of this repository. 118 * 119 * @return the modified date of this repository 120 */ 121 public Date getModifiedDate(); 122 123 /** 124 * Sets the modified date of this repository. 125 * 126 * @param modifiedDate the modified date of this repository 127 */ 128 public void setModifiedDate(Date modifiedDate); 129 130 /** 131 * Returns the fully qualified class name of this repository. 132 * 133 * @return the fully qualified class name of this repository 134 */ 135 public String getClassName(); 136 137 /** 138 * Returns the class name ID of this repository. 139 * 140 * @return the class name ID of this repository 141 */ 142 public long getClassNameId(); 143 144 /** 145 * Sets the class name ID of this repository. 146 * 147 * @param classNameId the class name ID of this repository 148 */ 149 public void setClassNameId(long classNameId); 150 151 /** 152 * Returns the name of this repository. 153 * 154 * @return the name of this repository 155 */ 156 @AutoEscape 157 public String getName(); 158 159 /** 160 * Sets the name of this repository. 161 * 162 * @param name the name of this repository 163 */ 164 public void setName(String name); 165 166 /** 167 * Returns the description of this repository. 168 * 169 * @return the description of this repository 170 */ 171 @AutoEscape 172 public String getDescription(); 173 174 /** 175 * Sets the description of this repository. 176 * 177 * @param description the description of this repository 178 */ 179 public void setDescription(String description); 180 181 /** 182 * Returns the portlet ID of this repository. 183 * 184 * @return the portlet ID of this repository 185 */ 186 @AutoEscape 187 public String getPortletId(); 188 189 /** 190 * Sets the portlet ID of this repository. 191 * 192 * @param portletId the portlet ID of this repository 193 */ 194 public void setPortletId(String portletId); 195 196 /** 197 * Returns the type settings of this repository. 198 * 199 * @return the type settings of this repository 200 */ 201 @AutoEscape 202 public String getTypeSettings(); 203 204 /** 205 * Sets the type settings of this repository. 206 * 207 * @param typeSettings the type settings of this repository 208 */ 209 public void setTypeSettings(String typeSettings); 210 211 /** 212 * Returns the dl folder ID of this repository. 213 * 214 * @return the dl folder ID of this repository 215 */ 216 public long getDlFolderId(); 217 218 /** 219 * Sets the dl folder ID of this repository. 220 * 221 * @param dlFolderId the dl folder ID of this repository 222 */ 223 public void setDlFolderId(long dlFolderId); 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(Repository repository); 246 247 public int hashCode(); 248 249 public CacheModel<Repository> toCacheModel(); 250 251 public Repository toEscapedModel(); 252 253 public String toString(); 254 255 public String toXmlString(); 256 }