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 DLSyncEvent service. Represents a row in the "DLSyncEvent" 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.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}. 031 * </p> 032 * 033 * @author Brian Wing Shun Chan 034 * @see DLSyncEvent 035 * @see com.liferay.portlet.documentlibrary.model.impl.DLSyncEventImpl 036 * @see com.liferay.portlet.documentlibrary.model.impl.DLSyncEventModelImpl 037 * @generated 038 */ 039 public interface DLSyncEventModel extends BaseModel<DLSyncEvent> { 040 /* 041 * NOTE FOR DEVELOPERS: 042 * 043 * 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. 044 */ 045 046 /** 047 * Returns the primary key of this d l sync event. 048 * 049 * @return the primary key of this d l sync event 050 */ 051 public long getPrimaryKey(); 052 053 /** 054 * Sets the primary key of this d l sync event. 055 * 056 * @param primaryKey the primary key of this d l sync event 057 */ 058 public void setPrimaryKey(long primaryKey); 059 060 /** 061 * Returns the sync event ID of this d l sync event. 062 * 063 * @return the sync event ID of this d l sync event 064 */ 065 public long getSyncEventId(); 066 067 /** 068 * Sets the sync event ID of this d l sync event. 069 * 070 * @param syncEventId the sync event ID of this d l sync event 071 */ 072 public void setSyncEventId(long syncEventId); 073 074 /** 075 * Returns the modified time of this d l sync event. 076 * 077 * @return the modified time of this d l sync event 078 */ 079 public long getModifiedTime(); 080 081 /** 082 * Sets the modified time of this d l sync event. 083 * 084 * @param modifiedTime the modified time of this d l sync event 085 */ 086 public void setModifiedTime(long modifiedTime); 087 088 /** 089 * Returns the event of this d l sync event. 090 * 091 * @return the event of this d l sync event 092 */ 093 @AutoEscape 094 public String getEvent(); 095 096 /** 097 * Sets the event of this d l sync event. 098 * 099 * @param event the event of this d l sync event 100 */ 101 public void setEvent(String event); 102 103 /** 104 * Returns the type of this d l sync event. 105 * 106 * @return the type of this d l sync event 107 */ 108 @AutoEscape 109 public String getType(); 110 111 /** 112 * Sets the type of this d l sync event. 113 * 114 * @param type the type of this d l sync event 115 */ 116 public void setType(String type); 117 118 /** 119 * Returns the type p k of this d l sync event. 120 * 121 * @return the type p k of this d l sync event 122 */ 123 public long getTypePK(); 124 125 /** 126 * Sets the type p k of this d l sync event. 127 * 128 * @param typePK the type p k of this d l sync event 129 */ 130 public void setTypePK(long typePK); 131 132 @Override 133 public boolean isNew(); 134 135 @Override 136 public void setNew(boolean n); 137 138 @Override 139 public boolean isCachedModel(); 140 141 @Override 142 public void setCachedModel(boolean cachedModel); 143 144 @Override 145 public boolean isEscapedModel(); 146 147 @Override 148 public Serializable getPrimaryKeyObj(); 149 150 @Override 151 public void setPrimaryKeyObj(Serializable primaryKeyObj); 152 153 @Override 154 public ExpandoBridge getExpandoBridge(); 155 156 @Override 157 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 158 159 @Override 160 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 161 162 @Override 163 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 164 165 @Override 166 public Object clone(); 167 168 @Override 169 public int compareTo(DLSyncEvent dlSyncEvent); 170 171 @Override 172 public int hashCode(); 173 174 @Override 175 public CacheModel<DLSyncEvent> toCacheModel(); 176 177 @Override 178 public DLSyncEvent toEscapedModel(); 179 180 @Override 181 public DLSyncEvent toUnescapedModel(); 182 183 @Override 184 public String toString(); 185 186 @Override 187 public String toXmlString(); 188 }