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