|
Liferay 6.2-ce-ga5 | |||||||||
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
.
TicketImpl
,
Ticket
,
TicketModel
,
Serialized FormField Summary | |
---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
KEY_COLUMN_BITMASK
|
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 long |
TICKETID_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
static long |
TYPE_COLUMN_BITMASK
|
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()
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 |
getColumnBitmask()
|
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 |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
String |
getOriginalKey()
|
int |
getOriginalType()
|
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. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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(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 |
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()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
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 boolean COLUMN_BITMASK_ENABLED
public static long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long KEY_COLUMN_BITMASK
public static long TYPE_COLUMN_BITMASK
public static long TICKETID_COLUMN_BITMASK
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 primaryKey)
TicketModel
setPrimaryKey
in interface TicketModel
primaryKey
- the primary key of this ticketpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Ticket>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface TicketModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Ticket>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface TicketModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Ticket>
getModelAttributes
in class BaseModelImpl<Ticket>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Ticket>
setModelAttributes
in class BaseModelImpl<Ticket>
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
getClassName
in interface TypedModel
public void setClassName(String className)
setClassName
in interface TicketModel
public long getClassNameId()
TicketModel
getClassNameId
in interface TicketModel
getClassNameId
in interface TypedModel
public void setClassNameId(long classNameId)
TicketModel
setClassNameId
in interface TicketModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this ticketpublic long getOriginalClassNameId()
public long getClassPK()
TicketModel
getClassPK
in interface AttachedModel
getClassPK
in interface TicketModel
public void setClassPK(long classPK)
TicketModel
setClassPK
in interface AttachedModel
setClassPK
in interface TicketModel
classPK
- the class p k of this ticketpublic long getOriginalClassPK()
public 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 int getType()
TicketModel
getType
in interface TicketModel
public void setType(int type)
TicketModel
setType
in interface TicketModel
type
- the type of this ticketpublic int getOriginalType()
public String getExtraInfo()
TicketModel
getExtraInfo
in interface TicketModel
public void setExtraInfo(String extraInfo)
TicketModel
setExtraInfo
in interface TicketModel
extraInfo
- the extra info of this ticketpublic Date getExpirationDate()
TicketModel
getExpirationDate
in interface TicketModel
public void setExpirationDate(Date expirationDate)
TicketModel
setExpirationDate
in interface TicketModel
expirationDate
- the expiration date of this ticketpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Ticket>
getExpandoBridge
in interface ClassedModel
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 be appliedServiceContext.getExpandoBridgeAttributes(
)
public Ticket toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Ticket>
toEscapedModel
in interface TicketModel
toEscapedModel
in class BaseModelImpl<Ticket>
AutoEscapeBeanHandler
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 void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Ticket>
resetOriginalValues
in class BaseModelImpl<Ticket>
public CacheModel<Ticket> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Ticket>
toCacheModel
in interface TicketModel
toCacheModel
in class BaseModelImpl<Ticket>
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.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |