001 /** 002 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 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 repository ID of this d l sync. 134 * 135 * @return the repository ID of this d l sync 136 */ 137 public long getRepositoryId(); 138 139 /** 140 * Sets the repository ID of this d l sync. 141 * 142 * @param repositoryId the repository ID of this d l sync 143 */ 144 public void setRepositoryId(long repositoryId); 145 146 /** 147 * Returns the parent folder ID of this d l sync. 148 * 149 * @return the parent folder ID of this d l sync 150 */ 151 public long getParentFolderId(); 152 153 /** 154 * Sets the parent folder ID of this d l sync. 155 * 156 * @param parentFolderId the parent folder ID of this d l sync 157 */ 158 public void setParentFolderId(long parentFolderId); 159 160 /** 161 * Returns the event of this d l sync. 162 * 163 * @return the event of this d l sync 164 */ 165 @AutoEscape 166 public String getEvent(); 167 168 /** 169 * Sets the event of this d l sync. 170 * 171 * @param event the event of this d l sync 172 */ 173 public void setEvent(String event); 174 175 /** 176 * Returns the type of this d l sync. 177 * 178 * @return the type of this d l sync 179 */ 180 @AutoEscape 181 public String getType(); 182 183 /** 184 * Sets the type of this d l sync. 185 * 186 * @param type the type of this d l sync 187 */ 188 public void setType(String type); 189 190 public boolean isNew(); 191 192 public void setNew(boolean n); 193 194 public boolean isCachedModel(); 195 196 public void setCachedModel(boolean cachedModel); 197 198 public boolean isEscapedModel(); 199 200 public Serializable getPrimaryKeyObj(); 201 202 public void setPrimaryKeyObj(Serializable primaryKeyObj); 203 204 public ExpandoBridge getExpandoBridge(); 205 206 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 207 208 public Object clone(); 209 210 public int compareTo(DLSync dlSync); 211 212 public int hashCode(); 213 214 public CacheModel<DLSync> toCacheModel(); 215 216 public DLSync toEscapedModel(); 217 218 public String toString(); 219 220 public String toXmlString(); 221 }