|
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.portlet.documentlibrary.model.DLSyncEventWrapper
@ProviderType public class DLSyncEventWrapper
This class is a wrapper for DLSyncEvent
.
DLSyncEvent
,
Serialized FormConstructor Summary | |
---|---|
DLSyncEventWrapper(DLSyncEvent dlSyncEvent)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLSyncEvent dlSyncEvent)
|
boolean |
equals(Object obj)
|
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 |
getWrappedDLSyncEvent()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
DLSyncEvent |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
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 |
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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<DLSyncEvent>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DLSyncEvent>
public long getPrimaryKey()
getPrimaryKey
in interface DLSyncEventModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DLSyncEventModel
primaryKey
- the primary key of this d l sync eventpublic long getSyncEventId()
getSyncEventId
in interface DLSyncEventModel
public void setSyncEventId(long syncEventId)
setSyncEventId
in interface DLSyncEventModel
syncEventId
- the sync event ID of this d l sync eventpublic long getModifiedTime()
getModifiedTime
in interface DLSyncEventModel
public void setModifiedTime(long modifiedTime)
setModifiedTime
in interface DLSyncEventModel
modifiedTime
- the modified time of this d l sync eventpublic String getEvent()
getEvent
in interface DLSyncEventModel
public void setEvent(String event)
setEvent
in interface DLSyncEventModel
event
- the event of this d l sync eventpublic String getType()
getType
in interface DLSyncEventModel
public void setType(String type)
setType
in interface DLSyncEventModel
type
- the type of this d l sync eventpublic long getTypePK()
getTypePK
in interface DLSyncEventModel
public void setTypePK(long typePK)
setTypePK
in interface DLSyncEventModel
typePK
- the type p k of this d l sync eventpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<DLSyncEvent>
isNew
in interface DLSyncEventModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<DLSyncEvent>
setNew
in interface DLSyncEventModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<DLSyncEvent>
isCachedModel
in interface DLSyncEventModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<DLSyncEvent>
setCachedModel
in interface DLSyncEventModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<DLSyncEvent>
isEscapedModel
in interface DLSyncEventModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLSyncEvent>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DLSyncEventModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DLSyncEvent>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DLSyncEventModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLSyncEvent>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DLSyncEventModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<DLSyncEvent>
setExpandoBridgeAttributes
in interface DLSyncEventModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<DLSyncEvent>
setExpandoBridgeAttributes
in interface DLSyncEventModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLSyncEvent>
setExpandoBridgeAttributes
in interface DLSyncEventModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<DLSyncEvent>
clone
in interface DLSyncEventModel
clone
in class Object
public int compareTo(DLSyncEvent dlSyncEvent)
compareTo
in interface DLSyncEventModel
compareTo
in interface Comparable<DLSyncEvent>
public int hashCode()
hashCode
in interface DLSyncEventModel
hashCode
in class Object
public CacheModel<DLSyncEvent> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DLSyncEvent>
toCacheModel
in interface DLSyncEventModel
public DLSyncEvent toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLSyncEvent>
toEscapedModel
in interface DLSyncEventModel
AutoEscapeBeanHandler
public DLSyncEvent toUnescapedModel()
toUnescapedModel
in interface BaseModel<DLSyncEvent>
toUnescapedModel
in interface DLSyncEventModel
public String toString()
toString
in interface DLSyncEventModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLSyncEvent>
toXmlString
in interface DLSyncEventModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public DLSyncEvent getWrappedDLSyncEvent()
getWrappedModel()
public DLSyncEvent getWrappedModel()
getWrappedModel
in interface ModelWrapper<DLSyncEvent>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DLSyncEvent>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |