|
Liferay 7.0-ce-b4 | |||||||||
| 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
@ProviderType 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 Form| Field 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 Map<String,Integer> |
TABLE_COLUMNS_MAP
|
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 |
getMvccVersion()
Returns the mvcc version of this ticket. |
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()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this ticket. |
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 Map<String,Integer> TABLE_COLUMNS_MAP
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 final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long KEY_COLUMN_BITMASK
public static final long TYPE_COLUMN_BITMASK
public static final long TICKETID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public TicketModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
TicketModel
getPrimaryKey in interface TicketModelpublic void setPrimaryKey(long primaryKey)
TicketModel
setPrimaryKey in interface TicketModelprimaryKey - the primary key of this ticketpublic 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 getMvccVersion()
TicketModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface TicketModelpublic void setMvccVersion(long mvccVersion)
TicketModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface TicketModelmvccVersion - the mvcc version of this ticketpublic 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 ShardedModelgetCompanyId in interface TicketModelpublic void setCompanyId(long companyId)
TicketModel
setCompanyId in interface ShardedModelsetCompanyId 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 TicketModelgetClassName in interface TypedModelpublic void setClassName(String className)
setClassName in interface TicketModelpublic long getClassNameId()
TicketModel
getClassNameId in interface TicketModelgetClassNameId in interface TypedModelpublic void setClassNameId(long classNameId)
TicketModel
setClassNameId in interface TicketModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this ticketpublic long getOriginalClassNameId()
public long getClassPK()
TicketModel
getClassPK in interface AttachedModelgetClassPK in interface TicketModelpublic void setClassPK(long classPK)
TicketModel
setClassPK in interface AttachedModelsetClassPK in interface TicketModelclassPK - the class p k of this ticketpublic long getOriginalClassPK()
public String getKey()
TicketModel
getKey in interface TicketModelpublic void setKey(String key)
TicketModel
setKey in interface TicketModelkey - the key of this ticketpublic String getOriginalKey()
public int getType()
TicketModel
getType in interface TicketModelpublic void setType(int type)
TicketModel
setType in interface TicketModeltype - the type of this ticketpublic int getOriginalType()
public String getExtraInfo()
TicketModel
getExtraInfo in interface TicketModelpublic void setExtraInfo(String extraInfo)
TicketModel
setExtraInfo in interface TicketModelextraInfo - the extra info of this ticketpublic Date getExpirationDate()
TicketModel
getExpirationDate in interface TicketModelpublic void setExpirationDate(Date expirationDate)
TicketModel
setExpirationDate in interface TicketModelexpirationDate - the expiration date of this ticketpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Ticket>getExpandoBridge in interface ClassedModelgetExpandoBridge 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 be appliedServiceContext.getExpandoBridgeAttributes()public Ticket toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Ticket>toEscapedModel in interface TicketModeltoEscapedModel in class BaseModelImpl<Ticket>AutoEscapeBeanHandlerpublic 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 boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Ticket>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<Ticket>true if this model's finder cache is enabled;
false otherwisepublic 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 TicketModeltoCacheModel in class BaseModelImpl<Ticket>public String toString()
toString in interface TicketModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Ticket>toXmlString in interface TicketModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||