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