com.liferay.portal.kernel.model.TicketModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.kernel Show documentation
Show all versions of com.liferay.portal.kernel Show documentation
Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.kernel.model;
import aQute.bnd.annotation.ProviderType;
import com.liferay.expando.kernel.model.ExpandoBridge;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.service.ServiceContext;
import java.io.Serializable;
import java.util.Date;
/**
* 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.
*
*
* 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}.
*
*
* @author Brian Wing Shun Chan
* @see Ticket
* @see com.liferay.portal.model.impl.TicketImpl
* @see com.liferay.portal.model.impl.TicketModelImpl
* @generated
*/
@ProviderType
public interface TicketModel extends AttachedModel, BaseModel, MVCCModel,
ShardedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a ticket model instance should use the {@link Ticket} interface instead.
*/
/**
* Returns the primary key of this ticket.
*
* @return the primary key of this ticket
*/
public long getPrimaryKey();
/**
* Sets the primary key of this ticket.
*
* @param primaryKey the primary key of this ticket
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the mvcc version of this ticket.
*
* @return the mvcc version of this ticket
*/
@Override
public long getMvccVersion();
/**
* Sets the mvcc version of this ticket.
*
* @param mvccVersion the mvcc version of this ticket
*/
@Override
public void setMvccVersion(long mvccVersion);
/**
* Returns the ticket ID of this ticket.
*
* @return the ticket ID of this ticket
*/
public long getTicketId();
/**
* Sets the ticket ID of this ticket.
*
* @param ticketId the ticket ID of this ticket
*/
public void setTicketId(long ticketId);
/**
* Returns the company ID of this ticket.
*
* @return the company ID of this ticket
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this ticket.
*
* @param companyId the company ID of this ticket
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the create date of this ticket.
*
* @return the create date of this ticket
*/
public Date getCreateDate();
/**
* Sets the create date of this ticket.
*
* @param createDate the create date of this ticket
*/
public void setCreateDate(Date createDate);
/**
* Returns the fully qualified class name of this ticket.
*
* @return the fully qualified class name of this ticket
*/
@Override
public String getClassName();
public void setClassName(String className);
/**
* Returns the class name ID of this ticket.
*
* @return the class name ID of this ticket
*/
@Override
public long getClassNameId();
/**
* Sets the class name ID of this ticket.
*
* @param classNameId the class name ID of this ticket
*/
@Override
public void setClassNameId(long classNameId);
/**
* Returns the class p k of this ticket.
*
* @return the class p k of this ticket
*/
@Override
public long getClassPK();
/**
* Sets the class p k of this ticket.
*
* @param classPK the class p k of this ticket
*/
@Override
public void setClassPK(long classPK);
/**
* Returns the key of this ticket.
*
* @return the key of this ticket
*/
@AutoEscape
public String getKey();
/**
* Sets the key of this ticket.
*
* @param key the key of this ticket
*/
public void setKey(String key);
/**
* Returns the type of this ticket.
*
* @return the type of this ticket
*/
public int getType();
/**
* Sets the type of this ticket.
*
* @param type the type of this ticket
*/
public void setType(int type);
/**
* Returns the extra info of this ticket.
*
* @return the extra info of this ticket
*/
@AutoEscape
public String getExtraInfo();
/**
* Sets the extra info of this ticket.
*
* @param extraInfo the extra info of this ticket
*/
public void setExtraInfo(String extraInfo);
/**
* Returns the expiration date of this ticket.
*
* @return the expiration date of this ticket
*/
public Date getExpirationDate();
/**
* Sets the expiration date of this ticket.
*
* @param expirationDate the expiration date of this ticket
*/
public void setExpirationDate(Date expirationDate);
@Override
public boolean isNew();
@Override
public void setNew(boolean n);
@Override
public boolean isCachedModel();
@Override
public void setCachedModel(boolean cachedModel);
@Override
public boolean isEscapedModel();
@Override
public Serializable getPrimaryKeyObj();
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj);
@Override
public ExpandoBridge getExpandoBridge();
@Override
public void setExpandoBridgeAttributes(BaseModel> baseModel);
@Override
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
@Override
public void setExpandoBridgeAttributes(ServiceContext serviceContext);
@Override
public Object clone();
@Override
public int compareTo(com.liferay.portal.kernel.model.Ticket ticket);
@Override
public int hashCode();
@Override
public CacheModel toCacheModel();
@Override
public com.liferay.portal.kernel.model.Ticket toEscapedModel();
@Override
public com.liferay.portal.kernel.model.Ticket toUnescapedModel();
@Override
public String toString();
@Override
public String toXmlString();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy