|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.TicketWrapper
@ProviderType public class TicketWrapper
This class is a wrapper for Ticket.
Ticket,
Serialized Form| Constructor Summary | |
|---|---|
TicketWrapper(Ticket ticket)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Ticket ticket)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this ticket. |
long |
getClassNameId()
Returns the class name ID of this ticket. |
long |
getClassPK()
Returns the class p k of this ticket. |
long |
getCompanyId()
Returns the company ID of this ticket. |
Date |
getCreateDate()
Returns the create date of this ticket. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Date |
getExpirationDate()
Returns the expiration date of this ticket. |
String |
getExtraInfo()
Returns the extra info of this ticket. |
String |
getKey()
Returns the key of this ticket. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getPrimaryKey()
Returns the primary key of this ticket. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getTicketId()
Returns the ticket ID of this ticket. |
int |
getType()
Returns the type of this ticket. |
Ticket |
getWrappedModel()
|
Ticket |
getWrappedTicket()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
|
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this ticket. |
void |
setClassPK(long classPK)
Sets the class p k 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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setExpirationDate(Date expirationDate)
Sets the expiration date of this ticket. |
void |
setExtraInfo(String extraInfo)
Sets the extra info of this ticket. |
void |
setKey(String key)
Sets the key of this ticket. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ticket. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setTicketId(long ticketId)
Sets the ticket ID of this ticket. |
void |
setType(int type)
Sets the type of this ticket. |
CacheModel<Ticket> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Ticket |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
Ticket |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TicketWrapper(Ticket ticket)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Ticket>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Ticket>public long getPrimaryKey()
getPrimaryKey in interface TicketModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface TicketModelprimaryKey - the primary key of this ticketpublic long getTicketId()
getTicketId in interface TicketModelpublic void setTicketId(long ticketId)
setTicketId in interface TicketModelticketId - the ticket ID of this ticketpublic long getCompanyId()
getCompanyId in interface TicketModelpublic void setCompanyId(long companyId)
setCompanyId in interface TicketModelcompanyId - the company ID of this ticketpublic Date getCreateDate()
getCreateDate in interface TicketModelpublic void setCreateDate(Date createDate)
setCreateDate in interface TicketModelcreateDate - the create date of this ticketpublic String getClassName()
getClassName in interface TicketModelgetClassName in interface TypedModelpublic void setClassName(String className)
setClassName in interface TicketModelpublic long getClassNameId()
getClassNameId in interface TicketModelgetClassNameId in interface TypedModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TicketModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this ticketpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface TicketModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface TicketModelclassPK - the class p k of this ticketpublic String getKey()
getKey in interface TicketModelpublic void setKey(String key)
setKey in interface TicketModelkey - the key of this ticketpublic int getType()
getType in interface TicketModelpublic void setType(int type)
setType in interface TicketModeltype - the type of this ticketpublic String getExtraInfo()
getExtraInfo in interface TicketModelpublic void setExtraInfo(String extraInfo)
setExtraInfo in interface TicketModelextraInfo - the extra info of this ticketpublic Date getExpirationDate()
getExpirationDate in interface TicketModelpublic void setExpirationDate(Date expirationDate)
setExpirationDate in interface TicketModelexpirationDate - the expiration date of this ticketpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Ticket>isNew in interface TicketModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Ticket>setNew in interface TicketModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Ticket>isCachedModel in interface TicketModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Ticket>setCachedModel in interface TicketModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Ticket>isEscapedModel in interface TicketModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Ticket>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface TicketModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Ticket>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface TicketModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Ticket>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface TicketModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Ticket>setExpandoBridgeAttributes in interface TicketModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Ticket>setExpandoBridgeAttributes in interface TicketModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Ticket>setExpandoBridgeAttributes in interface TicketModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Ticket>clone in interface TicketModelclone in class Objectpublic int compareTo(Ticket ticket)
compareTo in interface TicketModelcompareTo in interface Comparable<Ticket>public int hashCode()
hashCode in interface TicketModelhashCode in class Objectpublic CacheModel<Ticket> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Ticket>toCacheModel in interface TicketModelpublic Ticket toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Ticket>toEscapedModel in interface TicketModelAutoEscapeBeanHandlerpublic Ticket toUnescapedModel()
toUnescapedModel in interface BaseModel<Ticket>toUnescapedModel in interface TicketModelpublic String toString()
toString in interface TicketModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Ticket>toXmlString in interface TicketModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic boolean isExpired()
isExpired in interface Ticketpublic boolean equals(Object obj)
equals in class Objectpublic Ticket getWrappedTicket()
getWrappedModel()
public Ticket getWrappedModel()
getWrappedModel in interface ModelWrapper<Ticket>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Ticket>
|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||