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.longReturns the class name ID of this ticket.longReturns the class pk of this ticket.longReturns 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.longReturns the mvcc version of this ticket.longReturns the primary key of this ticket.longReturns the ticket ID of this ticket.intgetType()Returns the type of this ticket.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this ticket.voidsetClassPK(long classPK) Sets the class pk of this ticket.voidsetCompanyId(long companyId) Sets the company ID of this ticket.voidsetCreateDate(Date createDate) Sets the create date of this ticket.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this ticket.voidsetExtraInfo(String extraInfo) Sets the extra info of this ticket.voidSets the key of this ticket.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this ticket.voidsetPrimaryKey(long primaryKey) Sets the primary key of this ticket.voidsetTicketId(long ticketId) Sets the ticket ID of this ticket.voidsetType(int type) Sets the type of this ticket.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods 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:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this ticket
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this ticket.- Specified by:
setMvccVersionin 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:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this ticket
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this ticket.- Specified by:
setCompanyIdin 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:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this ticket
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this ticket.- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this ticket
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this ticket.- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this ticket
-
getClassPK
long getClassPK()Returns the class pk of this ticket.- Specified by:
getClassPKin interfaceAttachedModel- Returns:
- the class pk of this ticket
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this ticket.- Specified by:
setClassPKin 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:
cloneWithOriginalValuesin interfaceBaseModel<Ticket>
-
toXmlString
-