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.portal.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
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 Ticket service. Represents a row in the "Ticket" 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.portal.model.impl.TicketModelImpl} 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.portal.model.impl.TicketImpl}.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see Ticket
037     * @see com.liferay.portal.model.impl.TicketImpl
038     * @see com.liferay.portal.model.impl.TicketModelImpl
039     * @generated
040     */
041    @ProviderType
042    public interface TicketModel extends AttachedModel, BaseModel<Ticket>, MVCCModel,
043            ShardedModel {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. All methods that expect a ticket model instance should use the {@link Ticket} interface instead.
048             */
049    
050            /**
051             * Returns the primary key of this ticket.
052             *
053             * @return the primary key of this ticket
054             */
055            public long getPrimaryKey();
056    
057            /**
058             * Sets the primary key of this ticket.
059             *
060             * @param primaryKey the primary key of this ticket
061             */
062            public void setPrimaryKey(long primaryKey);
063    
064            /**
065             * Returns the mvcc version of this ticket.
066             *
067             * @return the mvcc version of this ticket
068             */
069            @Override
070            public long getMvccVersion();
071    
072            /**
073             * Sets the mvcc version of this ticket.
074             *
075             * @param mvccVersion the mvcc version of this ticket
076             */
077            @Override
078            public void setMvccVersion(long mvccVersion);
079    
080            /**
081             * Returns the ticket ID of this ticket.
082             *
083             * @return the ticket ID of this ticket
084             */
085            public long getTicketId();
086    
087            /**
088             * Sets the ticket ID of this ticket.
089             *
090             * @param ticketId the ticket ID of this ticket
091             */
092            public void setTicketId(long ticketId);
093    
094            /**
095             * Returns the company ID of this ticket.
096             *
097             * @return the company ID of this ticket
098             */
099            @Override
100            public long getCompanyId();
101    
102            /**
103             * Sets the company ID of this ticket.
104             *
105             * @param companyId the company ID of this ticket
106             */
107            @Override
108            public void setCompanyId(long companyId);
109    
110            /**
111             * Returns the create date of this ticket.
112             *
113             * @return the create date of this ticket
114             */
115            public Date getCreateDate();
116    
117            /**
118             * Sets the create date of this ticket.
119             *
120             * @param createDate the create date of this ticket
121             */
122            public void setCreateDate(Date createDate);
123    
124            /**
125             * Returns the fully qualified class name of this ticket.
126             *
127             * @return the fully qualified class name of this ticket
128             */
129            @Override
130            public String getClassName();
131    
132            public void setClassName(String className);
133    
134            /**
135             * Returns the class name ID of this ticket.
136             *
137             * @return the class name ID of this ticket
138             */
139            @Override
140            public long getClassNameId();
141    
142            /**
143             * Sets the class name ID of this ticket.
144             *
145             * @param classNameId the class name ID of this ticket
146             */
147            @Override
148            public void setClassNameId(long classNameId);
149    
150            /**
151             * Returns the class p k of this ticket.
152             *
153             * @return the class p k of this ticket
154             */
155            @Override
156            public long getClassPK();
157    
158            /**
159             * Sets the class p k of this ticket.
160             *
161             * @param classPK the class p k of this ticket
162             */
163            @Override
164            public void setClassPK(long classPK);
165    
166            /**
167             * Returns the key of this ticket.
168             *
169             * @return the key of this ticket
170             */
171            @AutoEscape
172            public String getKey();
173    
174            /**
175             * Sets the key of this ticket.
176             *
177             * @param key the key of this ticket
178             */
179            public void setKey(String key);
180    
181            /**
182             * Returns the type of this ticket.
183             *
184             * @return the type of this ticket
185             */
186            public int getType();
187    
188            /**
189             * Sets the type of this ticket.
190             *
191             * @param type the type of this ticket
192             */
193            public void setType(int type);
194    
195            /**
196             * Returns the extra info of this ticket.
197             *
198             * @return the extra info of this ticket
199             */
200            @AutoEscape
201            public String getExtraInfo();
202    
203            /**
204             * Sets the extra info of this ticket.
205             *
206             * @param extraInfo the extra info of this ticket
207             */
208            public void setExtraInfo(String extraInfo);
209    
210            /**
211             * Returns the expiration date of this ticket.
212             *
213             * @return the expiration date of this ticket
214             */
215            public Date getExpirationDate();
216    
217            /**
218             * Sets the expiration date of this ticket.
219             *
220             * @param expirationDate the expiration date of this ticket
221             */
222            public void setExpirationDate(Date expirationDate);
223    
224            @Override
225            public boolean isNew();
226    
227            @Override
228            public void setNew(boolean n);
229    
230            @Override
231            public boolean isCachedModel();
232    
233            @Override
234            public void setCachedModel(boolean cachedModel);
235    
236            @Override
237            public boolean isEscapedModel();
238    
239            @Override
240            public Serializable getPrimaryKeyObj();
241    
242            @Override
243            public void setPrimaryKeyObj(Serializable primaryKeyObj);
244    
245            @Override
246            public ExpandoBridge getExpandoBridge();
247    
248            @Override
249            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
250    
251            @Override
252            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
253    
254            @Override
255            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
256    
257            @Override
258            public Object clone();
259    
260            @Override
261            public int compareTo(com.liferay.portal.model.Ticket ticket);
262    
263            @Override
264            public int hashCode();
265    
266            @Override
267            public CacheModel<com.liferay.portal.model.Ticket> toCacheModel();
268    
269            @Override
270            public com.liferay.portal.model.Ticket toEscapedModel();
271    
272            @Override
273            public com.liferay.portal.model.Ticket toUnescapedModel();
274    
275            @Override
276            public String toString();
277    
278            @Override
279            public String toXmlString();
280    }