@ProviderType public class DLSyncEventWrapper extends Object implements DLSyncEvent, ModelWrapper<DLSyncEvent>
This class is a wrapper for DLSyncEvent.
DLSyncEvent,
Serialized FormSYNC_EVENT_ID_ACCESSOR| Constructor and Description |
|---|
DLSyncEventWrapper(DLSyncEvent dlSyncEvent) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DLSyncEvent dlSyncEvent) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this d l sync event.
|
String |
getEvent()
Returns the event of this d l sync event.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getModifiedTime()
Returns the modified time of this d l sync event.
|
long |
getPrimaryKey()
Returns the primary key of this d l sync event.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getSyncEventId()
Returns the sync event ID of this d l sync event.
|
String |
getType()
Returns the type of this d l sync event.
|
long |
getTypePK()
Returns the type p k of this d l sync event.
|
DLSyncEvent |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
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 |
setCompanyId(long companyId)
Sets the company ID of this d l sync event.
|
void |
setEvent(String event)
Sets the event of this d l sync event.
|
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 |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedTime(long modifiedTime)
Sets the modified time of this d l sync event.
|
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 d l sync event.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setSyncEventId(long syncEventId)
Sets the sync event ID of this d l sync event.
|
void |
setType(String type)
Sets the type of this d l sync event.
|
void |
setTypePK(long typePK)
Sets the type p k of this d l sync event.
|
CacheModel<DLSyncEvent> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
DLSyncEvent |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
DLSyncEvent |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public DLSyncEventWrapper(DLSyncEvent dlSyncEvent)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLSyncEvent>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DLSyncEvent>public DLSyncEvent toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface DLSyncEventModeltoEscapedModel in interface BaseModel<DLSyncEvent>AutoEscapeBeanHandlerpublic DLSyncEvent toUnescapedModel()
toUnescapedModel in interface DLSyncEventModeltoUnescapedModel in interface BaseModel<DLSyncEvent>public boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface DLSyncEventModelisCachedModel in interface BaseModel<DLSyncEvent>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface DLSyncEventModelisEscapedModel in interface BaseModel<DLSyncEvent>true if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface DLSyncEventModelisNew in interface BaseModel<DLSyncEvent>true if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface DLSyncEventModelgetExpandoBridge in interface BaseModel<DLSyncEvent>getExpandoBridge in interface ClassedModelpublic CacheModel<DLSyncEvent> toCacheModel()
BaseModeltoCacheModel in interface DLSyncEventModeltoCacheModel in interface BaseModel<DLSyncEvent>public int compareTo(DLSyncEvent dlSyncEvent)
compareTo in interface DLSyncEventModelcompareTo in interface Comparable<DLSyncEvent>public int hashCode()
hashCode in interface DLSyncEventModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface DLSyncEventModelgetPrimaryKeyObj in interface BaseModel<DLSyncEvent>getPrimaryKeyObj in interface ClassedModelpublic Object clone()
BaseModelclone in interface DLSyncEventModelclone in interface BaseModel<DLSyncEvent>clone in class Objectpublic String getEvent()
getEvent in interface DLSyncEventModelpublic String getType()
getType in interface DLSyncEventModelpublic String toString()
toString in interface DLSyncEventModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface DLSyncEventModeltoXmlString in interface BaseModel<DLSyncEvent>public long getCompanyId()
getCompanyId in interface DLSyncEventModelgetCompanyId in interface ShardedModelpublic long getModifiedTime()
getModifiedTime in interface DLSyncEventModelpublic long getPrimaryKey()
getPrimaryKey in interface DLSyncEventModelpublic long getSyncEventId()
getSyncEventId in interface DLSyncEventModelpublic long getTypePK()
getTypePK in interface DLSyncEventModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface DLSyncEventModelsetCachedModel in interface BaseModel<DLSyncEvent>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface DLSyncEventModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this d l sync eventpublic void setEvent(String event)
setEvent in interface DLSyncEventModelevent - the event of this d l sync eventpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface DLSyncEventModelsetExpandoBridgeAttributes in interface BaseModel<DLSyncEvent>public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface DLSyncEventModelsetExpandoBridgeAttributes in interface BaseModel<DLSyncEvent>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface DLSyncEventModelsetExpandoBridgeAttributes in interface BaseModel<DLSyncEvent>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setModifiedTime(long modifiedTime)
setModifiedTime in interface DLSyncEventModelmodifiedTime - the modified time of this d l sync eventpublic void setNew(boolean n)
BaseModelsetNew in interface DLSyncEventModelsetNew in interface BaseModel<DLSyncEvent>n - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLSyncEventModelprimaryKey - the primary key of this d l sync eventpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface DLSyncEventModelsetPrimaryKeyObj in interface BaseModel<DLSyncEvent>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic void setSyncEventId(long syncEventId)
setSyncEventId in interface DLSyncEventModelsyncEventId - the sync event ID of this d l sync eventpublic void setType(String type)
setType in interface DLSyncEventModeltype - the type of this d l sync eventpublic void setTypePK(long typePK)
setTypePK in interface DLSyncEventModeltypePK - the type p k of this d l sync eventpublic DLSyncEvent getWrappedModel()
getWrappedModel in interface ModelWrapper<DLSyncEvent>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<DLSyncEvent>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<DLSyncEvent>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<DLSyncEvent>