Package com.liferay.portal.kernel.model
Class TicketWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Ticket>
com.liferay.portal.kernel.model.TicketWrapper
- All Implemented Interfaces:
AttachedModel
,BaseModel<Ticket>
,ClassedModel
,ModelWrapper<Ticket>
,MVCCModel
,PersistedModel
,ShardedModel
,Ticket
,TicketModel
,TypedModel
,Serializable
,Cloneable
,Comparable<Ticket>
This class is a wrapper for Ticket
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.Ticket
TICKET_ID_ACCESSOR
-
Constructor Summary
Constructors -
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.boolean
void
persist()
Updates this model instance in the database or adds it if it does not yet exist.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
setModelAttributes
(Map<String, Object> attributes) 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.protected TicketWrapper
Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
TicketWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<Ticket>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<Ticket>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Ticket>
- Specified by:
cloneWithOriginalValues
in interfaceTicketModel
-
getClassName
Returns the fully qualified class name of this ticket.- Specified by:
getClassName
in interfaceTicketModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this ticket
-
getClassNameId
public long getClassNameId()Returns the class name ID of this ticket.- Specified by:
getClassNameId
in interfaceTicketModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this ticket
-
getClassPK
public long getClassPK()Returns the class pk of this ticket.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfaceTicketModel
- Returns:
- the class pk of this ticket
-
getCompanyId
public long getCompanyId()Returns the company ID of this ticket.- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceTicketModel
- Returns:
- the company ID of this ticket
-
getCreateDate
Returns the create date of this ticket.- Specified by:
getCreateDate
in interfaceTicketModel
- Returns:
- the create date of this ticket
-
getExpirationDate
Returns the expiration date of this ticket.- Specified by:
getExpirationDate
in interfaceTicketModel
- Returns:
- the expiration date of this ticket
-
getExtraInfo
Returns the extra info of this ticket.- Specified by:
getExtraInfo
in interfaceTicketModel
- Returns:
- the extra info of this ticket
-
getKey
Returns the key of this ticket.- Specified by:
getKey
in interfaceTicketModel
- Returns:
- the key of this ticket
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this ticket.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceTicketModel
- Returns:
- the mvcc version of this ticket
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this ticket.- Specified by:
getPrimaryKey
in interfaceTicketModel
- Returns:
- the primary key of this ticket
-
getTicketId
public long getTicketId()Returns the ticket ID of this ticket.- Specified by:
getTicketId
in interfaceTicketModel
- Returns:
- the ticket ID of this ticket
-
getType
public int getType()Returns the type of this ticket.- Specified by:
getType
in interfaceTicketModel
- Returns:
- the type of this ticket
-
isExpired
public boolean isExpired() -
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setClassName
- Specified by:
setClassName
in interfaceTicketModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this ticket.- Specified by:
setClassNameId
in interfaceTicketModel
- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this ticket
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this ticket.- Specified by:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in interfaceTicketModel
- Parameters:
classPK
- the class pk of this ticket
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this ticket.- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceTicketModel
- Parameters:
companyId
- the company ID of this ticket
-
setCreateDate
Sets the create date of this ticket.- Specified by:
setCreateDate
in interfaceTicketModel
- Parameters:
createDate
- the create date of this ticket
-
setExpirationDate
Sets the expiration date of this ticket.- Specified by:
setExpirationDate
in interfaceTicketModel
- Parameters:
expirationDate
- the expiration date of this ticket
-
setExtraInfo
Sets the extra info of this ticket.- Specified by:
setExtraInfo
in interfaceTicketModel
- Parameters:
extraInfo
- the extra info of this ticket
-
setKey
Sets the key of this ticket.- Specified by:
setKey
in interfaceTicketModel
- Parameters:
key
- the key of this ticket
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this ticket.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceTicketModel
- Parameters:
mvccVersion
- the mvcc version of this ticket
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this ticket.- Specified by:
setPrimaryKey
in interfaceTicketModel
- Parameters:
primaryKey
- the primary key of this ticket
-
setTicketId
public void setTicketId(long ticketId) Sets the ticket ID of this ticket.- Specified by:
setTicketId
in interfaceTicketModel
- Parameters:
ticketId
- the ticket ID of this ticket
-
setType
public void setType(int type) Sets the type of this ticket.- Specified by:
setType
in interfaceTicketModel
- Parameters:
type
- the type of this ticket
-
toXmlString
- Specified by:
toXmlString
in interfaceTicketModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<Ticket>
-