|
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.portlet.documentlibrary.model.DLSyncEventWrapper
@ProviderType public class DLSyncEventWrapper
This class is a wrapper for DLSyncEvent.
DLSyncEvent,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.documentlibrary.model.DLSyncEvent |
|---|
SYNC_EVENT_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
DLSyncEventWrapper(DLSyncEvent dlSyncEvent)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DLSyncEventWrapper(DLSyncEvent dlSyncEvent)
| Method Detail |
|---|
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 Object clone()
BaseModel
clone in interface BaseModel<DLSyncEvent>clone in interface DLSyncEventModelclone in class Objectpublic int compareTo(DLSyncEvent dlSyncEvent)
compareTo in interface DLSyncEventModelcompareTo in interface Comparable<DLSyncEvent>public long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface DLSyncEventModelpublic String getEvent()
getEvent in interface DLSyncEventModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLSyncEvent>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLSyncEventModelpublic long getModifiedTime()
getModifiedTime in interface DLSyncEventModelpublic long getPrimaryKey()
getPrimaryKey in interface DLSyncEventModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLSyncEvent>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DLSyncEventModelpublic long getSyncEventId()
getSyncEventId in interface DLSyncEventModelpublic String getType()
getType in interface DLSyncEventModelpublic long getTypePK()
getTypePK in interface DLSyncEventModelpublic int hashCode()
hashCode in interface DLSyncEventModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<DLSyncEvent>isCachedModel in interface DLSyncEventModeltrue 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 BaseModel<DLSyncEvent>isEscapedModel in interface DLSyncEventModeltrue 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 BaseModel<DLSyncEvent>isNew in interface DLSyncEventModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DLSyncEvent>setCachedModel in interface DLSyncEventModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface DLSyncEventModelcompanyId - 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(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DLSyncEvent>setExpandoBridgeAttributes in interface DLSyncEventModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DLSyncEvent>setExpandoBridgeAttributes in interface DLSyncEventModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLSyncEvent>setExpandoBridgeAttributes in interface DLSyncEventModelserviceContext - 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)
BaseModel
setNew in interface BaseModel<DLSyncEvent>setNew in interface DLSyncEventModeln - 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)
BaseModel
setPrimaryKeyObj in interface BaseModel<DLSyncEvent>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DLSyncEventModelprimaryKeyObj - 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 CacheModel<DLSyncEvent> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DLSyncEvent>toCacheModel in interface DLSyncEventModelpublic DLSyncEvent toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DLSyncEvent>toEscapedModel in interface DLSyncEventModelAutoEscapeBeanHandlerpublic String toString()
toString in interface DLSyncEventModeltoString in class Objectpublic DLSyncEvent toUnescapedModel()
toUnescapedModel in interface BaseModel<DLSyncEvent>toUnescapedModel in interface DLSyncEventModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLSyncEvent>toXmlString in interface DLSyncEventModelpublic boolean equals(Object obj)
equals in class Objectpublic 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()
BaseModel
resetOriginalValues in interface BaseModel<DLSyncEvent>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||