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.bean.AutoEscape; 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 DLSync service. Represents a row in the "DLSync" 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.DLSyncModelImpl} 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.DLSyncImpl}. 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see DLSync 037 * @see com.liferay.portlet.documentlibrary.model.impl.DLSyncImpl 038 * @see com.liferay.portlet.documentlibrary.model.impl.DLSyncModelImpl 039 * @generated 040 */ 041 public interface DLSyncModel extends BaseModel<DLSync> { 042 /* 043 * NOTE FOR DEVELOPERS: 044 * 045 * Never modify or reference this interface directly. All methods that expect a d l sync model instance should use the {@link DLSync} interface instead. 046 */ 047 048 /** 049 * Returns the primary key of this d l sync. 050 * 051 * @return the primary key of this d l sync 052 */ 053 public long getPrimaryKey(); 054 055 /** 056 * Sets the primary key of this d l sync. 057 * 058 * @param primaryKey the primary key of this d l sync 059 */ 060 public void setPrimaryKey(long primaryKey); 061 062 /** 063 * Returns the sync ID of this d l sync. 064 * 065 * @return the sync ID of this d l sync 066 */ 067 public long getSyncId(); 068 069 /** 070 * Sets the sync ID of this d l sync. 071 * 072 * @param syncId the sync ID of this d l sync 073 */ 074 public void setSyncId(long syncId); 075 076 /** 077 * Returns the company ID of this d l sync. 078 * 079 * @return the company ID of this d l sync 080 */ 081 public long getCompanyId(); 082 083 /** 084 * Sets the company ID of this d l sync. 085 * 086 * @param companyId the company ID of this d l sync 087 */ 088 public void setCompanyId(long companyId); 089 090 /** 091 * Returns the create date of this d l sync. 092 * 093 * @return the create date of this d l sync 094 */ 095 public Date getCreateDate(); 096 097 /** 098 * Sets the create date of this d l sync. 099 * 100 * @param createDate the create date of this d l sync 101 */ 102 public void setCreateDate(Date createDate); 103 104 /** 105 * Returns the modified date of this d l sync. 106 * 107 * @return the modified date of this d l sync 108 */ 109 public Date getModifiedDate(); 110 111 /** 112 * Sets the modified date of this d l sync. 113 * 114 * @param modifiedDate the modified date of this d l sync 115 */ 116 public void setModifiedDate(Date modifiedDate); 117 118 /** 119 * Returns the file ID of this d l sync. 120 * 121 * @return the file ID of this d l sync 122 */ 123 public long getFileId(); 124 125 /** 126 * Sets the file ID of this d l sync. 127 * 128 * @param fileId the file ID of this d l sync 129 */ 130 public void setFileId(long fileId); 131 132 /** 133 * Returns the file uuid of this d l sync. 134 * 135 * @return the file uuid of this d l sync 136 */ 137 @AutoEscape 138 public String getFileUuid(); 139 140 /** 141 * Sets the file uuid of this d l sync. 142 * 143 * @param fileUuid the file uuid of this d l sync 144 */ 145 public void setFileUuid(String fileUuid); 146 147 /** 148 * Returns the repository ID of this d l sync. 149 * 150 * @return the repository ID of this d l sync 151 */ 152 public long getRepositoryId(); 153 154 /** 155 * Sets the repository ID of this d l sync. 156 * 157 * @param repositoryId the repository ID of this d l sync 158 */ 159 public void setRepositoryId(long repositoryId); 160 161 /** 162 * Returns the parent folder ID of this d l sync. 163 * 164 * @return the parent folder ID of this d l sync 165 */ 166 public long getParentFolderId(); 167 168 /** 169 * Sets the parent folder ID of this d l sync. 170 * 171 * @param parentFolderId the parent folder ID of this d l sync 172 */ 173 public void setParentFolderId(long parentFolderId); 174 175 /** 176 * Returns the name of this d l sync. 177 * 178 * @return the name of this d l sync 179 */ 180 @AutoEscape 181 public String getName(); 182 183 /** 184 * Sets the name of this d l sync. 185 * 186 * @param name the name of this d l sync 187 */ 188 public void setName(String name); 189 190 /** 191 * Returns the description of this d l sync. 192 * 193 * @return the description of this d l sync 194 */ 195 @AutoEscape 196 public String getDescription(); 197 198 /** 199 * Sets the description of this d l sync. 200 * 201 * @param description the description of this d l sync 202 */ 203 public void setDescription(String description); 204 205 /** 206 * Returns the event of this d l sync. 207 * 208 * @return the event of this d l sync 209 */ 210 @AutoEscape 211 public String getEvent(); 212 213 /** 214 * Sets the event of this d l sync. 215 * 216 * @param event the event of this d l sync 217 */ 218 public void setEvent(String event); 219 220 /** 221 * Returns the type of this d l sync. 222 * 223 * @return the type of this d l sync 224 */ 225 @AutoEscape 226 public String getType(); 227 228 /** 229 * Sets the type of this d l sync. 230 * 231 * @param type the type of this d l sync 232 */ 233 public void setType(String type); 234 235 /** 236 * Returns the version of this d l sync. 237 * 238 * @return the version of this d l sync 239 */ 240 @AutoEscape 241 public String getVersion(); 242 243 /** 244 * Sets the version of this d l sync. 245 * 246 * @param version the version of this d l sync 247 */ 248 public void setVersion(String version); 249 250 public boolean isNew(); 251 252 public void setNew(boolean n); 253 254 public boolean isCachedModel(); 255 256 public void setCachedModel(boolean cachedModel); 257 258 public boolean isEscapedModel(); 259 260 public Serializable getPrimaryKeyObj(); 261 262 public void setPrimaryKeyObj(Serializable primaryKeyObj); 263 264 public ExpandoBridge getExpandoBridge(); 265 266 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 267 268 public Object clone(); 269 270 public int compareTo(DLSync dlSync); 271 272 public int hashCode(); 273 274 public CacheModel<DLSync> toCacheModel(); 275 276 public DLSync toEscapedModel(); 277 278 public DLSync toUnescapedModel(); 279 280 public String toString(); 281 282 public String toXmlString(); 283 }