Package com.liferay.portal.kernel.model
Interface TicketModel
- All Superinterfaces:
AttachedModel
,BaseModel<Ticket>
,ClassedModel
,Cloneable
,Comparable<Ticket>
,MVCCModel
,Serializable
,ShardedModel
,TypedModel
- All Known Subinterfaces:
Ticket
- All Known Implementing Classes:
TicketWrapper
@ProviderType
public interface TicketModel
extends AttachedModel, BaseModel<Ticket>, MVCCModel, ShardedModel
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 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 com.liferay.portal.model.impl.TicketImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this ticket.long
Returns the class name ID of this ticket.long
Returns the class pk of this ticket.long
Returns the company ID of this ticket.Returns the create date of this ticket.Returns the expiration date of this ticket.Returns the extra info of this ticket.getKey()
Returns the key of this ticket.long
Returns the mvcc version of this ticket.long
Returns the primary key of this ticket.long
Returns the ticket ID of this ticket.int
getType()
Returns the type of this ticket.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this ticket.void
setClassPK
(long classPK) Sets the class pk of this ticket.void
setCompanyId
(long companyId) Sets the company ID of this ticket.void
setCreateDate
(Date createDate) Sets the create date of this ticket.void
setExpirationDate
(Date expirationDate) Sets the expiration date of this ticket.void
setExtraInfo
(String extraInfo) Sets the extra info of this ticket.void
Sets the key of this ticket.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this ticket.void
setPrimaryKey
(long primaryKey) Sets the primary key of this ticket.void
setTicketId
(long ticketId) Sets the ticket ID of this ticket.void
setType
(int type) Sets the type of this ticket.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this ticket.- Returns:
- the primary key of this ticket
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this ticket.- Parameters:
primaryKey
- the primary key of this ticket
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this ticket.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this ticket
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this ticket.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this ticket
-
getTicketId
long getTicketId()Returns the ticket ID of this ticket.- Returns:
- the ticket ID of this ticket
-
setTicketId
void setTicketId(long ticketId) Sets the ticket ID of this ticket.- Parameters:
ticketId
- the ticket ID of this ticket
-
getCompanyId
long getCompanyId()Returns the company ID of this ticket.- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this ticket
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this ticket.- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this ticket
-
getCreateDate
Date getCreateDate()Returns the create date of this ticket.- Returns:
- the create date of this ticket
-
setCreateDate
Sets the create date of this ticket.- Parameters:
createDate
- the create date of this ticket
-
getClassName
String getClassName()Returns the fully qualified class name of this ticket.- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this ticket
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this ticket.- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this ticket
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this ticket.- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this ticket
-
getClassPK
long getClassPK()Returns the class pk of this ticket.- Specified by:
getClassPK
in interfaceAttachedModel
- Returns:
- the class pk of this ticket
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this ticket.- Specified by:
setClassPK
in interfaceAttachedModel
- Parameters:
classPK
- the class pk of this ticket
-
getKey
Returns the key of this ticket.- Returns:
- the key of this ticket
-
setKey
Sets the key of this ticket.- Parameters:
key
- the key of this ticket
-
getType
int getType()Returns the type of this ticket.- Returns:
- the type of this ticket
-
setType
void setType(int type) Sets the type of this ticket.- Parameters:
type
- the type of this ticket
-
getExtraInfo
Returns the extra info of this ticket.- Returns:
- the extra info of this ticket
-
setExtraInfo
Sets the extra info of this ticket.- Parameters:
extraInfo
- the extra info of this ticket
-
getExpirationDate
Date getExpirationDate()Returns the expiration date of this ticket.- Returns:
- the expiration date of this ticket
-
setExpirationDate
Sets the expiration date of this ticket.- Parameters:
expirationDate
- the expiration date of this ticket
-
cloneWithOriginalValues
Ticket cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Ticket>
-
toXmlString
-