|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 TicketModel
public void setPrimaryKey(long pk)
TicketModel
setPrimaryKey
in interface TicketModel
pk
- the primary key of this ticketpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Ticket>
getPrimaryKeyObj
in interface TicketModel
public long getTicketId()
TicketModel
getTicketId
in interface TicketModel
public void setTicketId(long ticketId)
TicketModel
setTicketId
in interface TicketModel
ticketId
- the ticket id of this ticketpublic long getCompanyId()
TicketModel
getCompanyId
in interface TicketModel
public void setCompanyId(long companyId)
TicketModel
setCompanyId
in interface TicketModel
companyId
- the company id of this ticketpublic Date getCreateDate()
TicketModel
getCreateDate
in interface TicketModel
public void setCreateDate(Date createDate)
TicketModel
setCreateDate
in interface TicketModel
createDate
- the create date of this ticketpublic String getClassName()
TicketModel
getClassName
in interface TicketModel
public long getClassNameId()
TicketModel
getClassNameId
in interface TicketModel
public void setClassNameId(long classNameId)
TicketModel
setClassNameId
in interface TicketModel
classNameId
- the class name id of this ticketpublic long getClassPK()
TicketModel
getClassPK
in interface TicketModel
public void setClassPK(long classPK)
TicketModel
setClassPK
in interface TicketModel
classPK
- the class p k of this ticketpublic String getKey()
TicketModel
getKey
in interface TicketModel
public void setKey(String key)
TicketModel
setKey
in interface TicketModel
key
- the key of this ticketpublic String getOriginalKey()
public Date getExpirationDate()
TicketModel
getExpirationDate
in interface TicketModel
public void setExpirationDate(Date expirationDate)
TicketModel
setExpirationDate
in interface TicketModel
expirationDate
- the expiration date of this ticketpublic Ticket toEscapedModel()
TicketModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface TicketModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Ticket>
getExpandoBridge
in interface TicketModel
getExpandoBridge
in class BaseModelImpl<Ticket>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Ticket>
setExpandoBridgeAttributes
in interface TicketModel
setExpandoBridgeAttributes
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 TicketModel
clone
in class BaseModelImpl<Ticket>
public int compareTo(Ticket ticket)
compareTo
in interface TicketModel
compareTo
in interface Comparable<Ticket>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface TicketModel
hashCode
in class Object
public String toString()
toString
in interface TicketModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Ticket>
toXmlString
in interface TicketModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |