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
modelFields 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.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.booleanvoidpersist()Updates this model instance in the database or adds it if it does not yet exist.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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected TicketWrapperMethods 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
TicketWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Ticket>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Ticket>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Ticket>- Specified by:
cloneWithOriginalValuesin interfaceTicketModel
-
getClassName
Returns the fully qualified class name of this ticket.- Specified by:
getClassNamein interfaceTicketModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this ticket
-
getClassNameId
public long getClassNameId()Returns the class name ID of this ticket.- Specified by:
getClassNameIdin interfaceTicketModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this ticket
-
getClassPK
public long getClassPK()Returns the class pk of this ticket.- Specified by:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfaceTicketModel- Returns:
- the class pk of this ticket
-
getCompanyId
public long getCompanyId()Returns the company ID of this ticket.- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceTicketModel- Returns:
- the company ID of this ticket
-
getCreateDate
Returns the create date of this ticket.- Specified by:
getCreateDatein interfaceTicketModel- Returns:
- the create date of this ticket
-
getExpirationDate
Returns the expiration date of this ticket.- Specified by:
getExpirationDatein interfaceTicketModel- Returns:
- the expiration date of this ticket
-
getExtraInfo
Returns the extra info of this ticket.- Specified by:
getExtraInfoin interfaceTicketModel- Returns:
- the extra info of this ticket
-
getKey
Returns the key of this ticket.- Specified by:
getKeyin interfaceTicketModel- Returns:
- the key of this ticket
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this ticket.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceTicketModel- Returns:
- the mvcc version of this ticket
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this ticket.- Specified by:
getPrimaryKeyin interfaceTicketModel- Returns:
- the primary key of this ticket
-
getTicketId
public long getTicketId()Returns the ticket ID of this ticket.- Specified by:
getTicketIdin interfaceTicketModel- Returns:
- the ticket ID of this ticket
-
getType
public int getType()Returns the type of this ticket.- Specified by:
getTypein interfaceTicketModel- Returns:
- the type of this ticket
-
isExpired
public boolean isExpired() -
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setClassName
- Specified by:
setClassNamein interfaceTicketModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this ticket.- Specified by:
setClassNameIdin interfaceTicketModel- Specified by:
setClassNameIdin 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:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin interfaceTicketModel- Parameters:
classPK- the class pk of this ticket
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this ticket.- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceTicketModel- Parameters:
companyId- the company ID of this ticket
-
setCreateDate
Sets the create date of this ticket.- Specified by:
setCreateDatein interfaceTicketModel- Parameters:
createDate- the create date of this ticket
-
setExpirationDate
Sets the expiration date of this ticket.- Specified by:
setExpirationDatein interfaceTicketModel- Parameters:
expirationDate- the expiration date of this ticket
-
setExtraInfo
Sets the extra info of this ticket.- Specified by:
setExtraInfoin interfaceTicketModel- Parameters:
extraInfo- the extra info of this ticket
-
setKey
Sets the key of this ticket.- Specified by:
setKeyin interfaceTicketModel- Parameters:
key- the key of this ticket
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this ticket.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceTicketModel- Parameters:
mvccVersion- the mvcc version of this ticket
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this ticket.- Specified by:
setPrimaryKeyin interfaceTicketModel- Parameters:
primaryKey- the primary key of this ticket
-
setTicketId
public void setTicketId(long ticketId) Sets the ticket ID of this ticket.- Specified by:
setTicketIdin interfaceTicketModel- Parameters:
ticketId- the ticket ID of this ticket
-
setType
public void setType(int type) Sets the type of this ticket.- Specified by:
setTypein interfaceTicketModel- Parameters:
type- the type of this ticket
-
toXmlString
- Specified by:
toXmlStringin interfaceTicketModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Ticket>
-