|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Ticket>
com.liferay.portal.model.impl.TicketModelImpl
public class TicketModelImpl
The base model implementation for the Ticket service. Represents a row in the "Ticket" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface TicketModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in TicketImpl.
Never modify or reference this class directly. All methods that expect a ticket model instance should use the Ticket interface instead.
TicketImpl,
Ticket,
TicketModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
TicketModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Ticket ticket)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Gets the class name of the model instance this ticket is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this ticket. |
long |
getClassPK()
Gets the class p k of this ticket. |
long |
getCompanyId()
Gets the company id of this ticket. |
Date |
getCreateDate()
Gets the create date of this ticket. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Date |
getExpirationDate()
Gets the expiration date of this ticket. |
String |
getKey()
Gets the key of this ticket. |
String |
getOriginalKey()
|
long |
getPrimaryKey()
Gets the primary key of this ticket. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getTicketId()
Gets the ticket id of this ticket. |
int |
hashCode()
|
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(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 |
setKey(String key)
Sets the key of this ticket. |
void |
setPrimaryKey(long pk)
Sets the primary key of this ticket |
void |
setTicketId(long ticketId)
Sets the ticket id of this ticket. |
Ticket |
toEscapedModel()
Gets a copy of this ticket as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.TicketModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public TicketModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
TicketModel
getPrimaryKey in interface TicketModelpublic void setPrimaryKey(long pk)
TicketModel
setPrimaryKey in interface TicketModelpk - the primary key of this ticketpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Ticket>getPrimaryKeyObj in interface TicketModelpublic long getTicketId()
TicketModel
getTicketId in interface TicketModelpublic void setTicketId(long ticketId)
TicketModel
setTicketId in interface TicketModelticketId - the ticket id of this ticketpublic long getCompanyId()
TicketModel
getCompanyId in interface TicketModelpublic void setCompanyId(long companyId)
TicketModel
setCompanyId in interface TicketModelcompanyId - the company id of this ticketpublic Date getCreateDate()
TicketModel
getCreateDate in interface TicketModelpublic void setCreateDate(Date createDate)
TicketModel
setCreateDate in interface TicketModelcreateDate - the create date of this ticketpublic String getClassName()
TicketModel
getClassName in interface TicketModelpublic long getClassNameId()
TicketModel
getClassNameId in interface TicketModelpublic void setClassNameId(long classNameId)
TicketModel
setClassNameId in interface TicketModelclassNameId - the class name id of this ticketpublic long getClassPK()
TicketModel
getClassPK in interface TicketModelpublic void setClassPK(long classPK)
TicketModel
setClassPK in interface TicketModelclassPK - the class p k of this ticketpublic String getKey()
TicketModel
getKey in interface TicketModelpublic void setKey(String key)
TicketModel
setKey in interface TicketModelkey - the key of this ticketpublic String getOriginalKey()
public Date getExpirationDate()
TicketModel
getExpirationDate in interface TicketModelpublic void setExpirationDate(Date expirationDate)
TicketModel
setExpirationDate in interface TicketModelexpirationDate - the expiration date of this ticketpublic Ticket toEscapedModel()
TicketModelAutoEscapeBeanHandler.
toEscapedModel in interface TicketModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Ticket>getExpandoBridge in interface TicketModelgetExpandoBridge in class BaseModelImpl<Ticket>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Ticket>setExpandoBridgeAttributes in interface TicketModelsetExpandoBridgeAttributes in class BaseModelImpl<Ticket>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Ticket>clone in interface TicketModelclone in class BaseModelImpl<Ticket>public int compareTo(Ticket ticket)
compareTo in interface TicketModelcompareTo in interface Comparable<Ticket>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface TicketModelhashCode in class Objectpublic String toString()
toString in interface TicketModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Ticket>toXmlString in interface TicketModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||