001 /** 002 * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.model.BaseModel; 021 import com.liferay.portal.model.CacheModel; 022 import com.liferay.portal.model.ShardedModel; 023 import com.liferay.portal.service.ServiceContext; 024 025 import com.liferay.portlet.expando.model.ExpandoBridge; 026 027 import java.io.Serializable; 028 029 /** 030 * The base model interface for the DLSyncEvent service. Represents a row in the "DLSyncEvent" database table, with each column mapped to a property of this class. 031 * 032 * <p> 033 * This interface and its corresponding implementation {@link com.liferay.portlet.documentlibrary.model.impl.DLSyncEventModelImpl} 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.DLSyncEventImpl}. 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see DLSyncEvent 038 * @see com.liferay.portlet.documentlibrary.model.impl.DLSyncEventImpl 039 * @see com.liferay.portlet.documentlibrary.model.impl.DLSyncEventModelImpl 040 * @generated 041 */ 042 @ProviderType 043 public interface DLSyncEventModel extends BaseModel<DLSyncEvent>, ShardedModel { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify or reference this interface directly. All methods that expect a d l sync event model instance should use the {@link DLSyncEvent} interface instead. 048 */ 049 050 /** 051 * Returns the primary key of this d l sync event. 052 * 053 * @return the primary key of this d l sync event 054 */ 055 public long getPrimaryKey(); 056 057 /** 058 * Sets the primary key of this d l sync event. 059 * 060 * @param primaryKey the primary key of this d l sync event 061 */ 062 public void setPrimaryKey(long primaryKey); 063 064 /** 065 * Returns the sync event ID of this d l sync event. 066 * 067 * @return the sync event ID of this d l sync event 068 */ 069 public long getSyncEventId(); 070 071 /** 072 * Sets the sync event ID of this d l sync event. 073 * 074 * @param syncEventId the sync event ID of this d l sync event 075 */ 076 public void setSyncEventId(long syncEventId); 077 078 /** 079 * Returns the company ID of this d l sync event. 080 * 081 * @return the company ID of this d l sync event 082 */ 083 @Override 084 public long getCompanyId(); 085 086 /** 087 * Sets the company ID of this d l sync event. 088 * 089 * @param companyId the company ID of this d l sync event 090 */ 091 @Override 092 public void setCompanyId(long companyId); 093 094 /** 095 * Returns the modified time of this d l sync event. 096 * 097 * @return the modified time of this d l sync event 098 */ 099 public long getModifiedTime(); 100 101 /** 102 * Sets the modified time of this d l sync event. 103 * 104 * @param modifiedTime the modified time of this d l sync event 105 */ 106 public void setModifiedTime(long modifiedTime); 107 108 /** 109 * Returns the event of this d l sync event. 110 * 111 * @return the event of this d l sync event 112 */ 113 @AutoEscape 114 public String getEvent(); 115 116 /** 117 * Sets the event of this d l sync event. 118 * 119 * @param event the event of this d l sync event 120 */ 121 public void setEvent(String event); 122 123 /** 124 * Returns the type of this d l sync event. 125 * 126 * @return the type of this d l sync event 127 */ 128 @AutoEscape 129 public String getType(); 130 131 /** 132 * Sets the type of this d l sync event. 133 * 134 * @param type the type of this d l sync event 135 */ 136 public void setType(String type); 137 138 /** 139 * Returns the type p k of this d l sync event. 140 * 141 * @return the type p k of this d l sync event 142 */ 143 public long getTypePK(); 144 145 /** 146 * Sets the type p k of this d l sync event. 147 * 148 * @param typePK the type p k of this d l sync event 149 */ 150 public void setTypePK(long typePK); 151 152 @Override 153 public boolean isNew(); 154 155 @Override 156 public void setNew(boolean n); 157 158 @Override 159 public boolean isCachedModel(); 160 161 @Override 162 public void setCachedModel(boolean cachedModel); 163 164 @Override 165 public boolean isEscapedModel(); 166 167 @Override 168 public Serializable getPrimaryKeyObj(); 169 170 @Override 171 public void setPrimaryKeyObj(Serializable primaryKeyObj); 172 173 @Override 174 public ExpandoBridge getExpandoBridge(); 175 176 @Override 177 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 178 179 @Override 180 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 181 182 @Override 183 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 184 185 @Override 186 public Object clone(); 187 188 @Override 189 public int compareTo( 190 com.liferay.portlet.documentlibrary.model.DLSyncEvent dlSyncEvent); 191 192 @Override 193 public int hashCode(); 194 195 @Override 196 public CacheModel<com.liferay.portlet.documentlibrary.model.DLSyncEvent> toCacheModel(); 197 198 @Override 199 public com.liferay.portlet.documentlibrary.model.DLSyncEvent toEscapedModel(); 200 201 @Override 202 public com.liferay.portlet.documentlibrary.model.DLSyncEvent toUnescapedModel(); 203 204 @Override 205 public String toString(); 206 207 @Override 208 public String toXmlString(); 209 }