Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.model
Class DLSyncEventWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.model.DLSyncEventWrapper
All Implemented Interfaces:
BaseModel<DLSyncEvent>, ClassedModel, ModelWrapper<DLSyncEvent>, PersistedModel, DLSyncEvent, DLSyncEventModel, Serializable, Cloneable, Comparable<DLSyncEvent>

@ProviderType
public class DLSyncEventWrapper
extends Object
implements DLSyncEvent, ModelWrapper<DLSyncEvent>

This class is a wrapper for DLSyncEvent.

See Also:
DLSyncEvent, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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)
           
 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

DLSyncEventWrapper

public DLSyncEventWrapper(DLSyncEvent dlSyncEvent)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<DLSyncEvent>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<DLSyncEvent>

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this d l sync event.

Specified by:
getPrimaryKey in interface DLSyncEventModel
Returns:
the primary key of this d l sync event

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this d l sync event.

Specified by:
setPrimaryKey in interface DLSyncEventModel
Parameters:
primaryKey - the primary key of this d l sync event

getSyncEventId

public long getSyncEventId()
Returns the sync event ID of this d l sync event.

Specified by:
getSyncEventId in interface DLSyncEventModel
Returns:
the sync event ID of this d l sync event

setSyncEventId

public void setSyncEventId(long syncEventId)
Sets the sync event ID of this d l sync event.

Specified by:
setSyncEventId in interface DLSyncEventModel
Parameters:
syncEventId - the sync event ID of this d l sync event

getModifiedTime

public long getModifiedTime()
Returns the modified time of this d l sync event.

Specified by:
getModifiedTime in interface DLSyncEventModel
Returns:
the modified time of this d l sync event

setModifiedTime

public void setModifiedTime(long modifiedTime)
Sets the modified time of this d l sync event.

Specified by:
setModifiedTime in interface DLSyncEventModel
Parameters:
modifiedTime - the modified time of this d l sync event

getEvent

public String getEvent()
Returns the event of this d l sync event.

Specified by:
getEvent in interface DLSyncEventModel
Returns:
the event of this d l sync event

setEvent

public void setEvent(String event)
Sets the event of this d l sync event.

Specified by:
setEvent in interface DLSyncEventModel
Parameters:
event - the event of this d l sync event

getType

public String getType()
Returns the type of this d l sync event.

Specified by:
getType in interface DLSyncEventModel
Returns:
the type of this d l sync event

setType

public void setType(String type)
Sets the type of this d l sync event.

Specified by:
setType in interface DLSyncEventModel
Parameters:
type - the type of this d l sync event

getTypePK

public long getTypePK()
Returns the type p k of this d l sync event.

Specified by:
getTypePK in interface DLSyncEventModel
Returns:
the type p k of this d l sync event

setTypePK

public void setTypePK(long typePK)
Sets the type p k of this d l sync event.

Specified by:
setTypePK in interface DLSyncEventModel
Parameters:
typePK - the type p k of this d l sync event

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<DLSyncEvent>
Specified by:
isNew in interface DLSyncEventModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<DLSyncEvent>
Specified by:
setNew in interface DLSyncEventModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<DLSyncEvent>
Specified by:
isCachedModel in interface DLSyncEventModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<DLSyncEvent>
Specified by:
setCachedModel in interface DLSyncEventModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<DLSyncEvent>
Specified by:
isEscapedModel in interface DLSyncEventModel
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<DLSyncEvent>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface DLSyncEventModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<DLSyncEvent>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface DLSyncEventModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<DLSyncEvent>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DLSyncEventModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<DLSyncEvent>
Specified by:
setExpandoBridgeAttributes in interface DLSyncEventModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<DLSyncEvent>
Specified by:
setExpandoBridgeAttributes in interface DLSyncEventModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<DLSyncEvent>
Specified by:
setExpandoBridgeAttributes in interface DLSyncEventModel
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<DLSyncEvent>
Specified by:
clone in interface DLSyncEventModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(DLSyncEvent dlSyncEvent)
Specified by:
compareTo in interface DLSyncEventModel
Specified by:
compareTo in interface Comparable<DLSyncEvent>

hashCode

public int hashCode()
Specified by:
hashCode in interface DLSyncEventModel
Overrides:
hashCode in class Object

toCacheModel

public CacheModel<DLSyncEvent> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<DLSyncEvent>
Specified by:
toCacheModel in interface DLSyncEventModel
Returns:
the cache model object

toEscapedModel

public DLSyncEvent toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<DLSyncEvent>
Specified by:
toEscapedModel in interface DLSyncEventModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public DLSyncEvent toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<DLSyncEvent>
Specified by:
toUnescapedModel in interface DLSyncEventModel

toString

public String toString()
Specified by:
toString in interface DLSyncEventModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<DLSyncEvent>
Specified by:
toXmlString in interface DLSyncEventModel
Returns:
the XML representation of this model instance

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedDLSyncEvent

public DLSyncEvent getWrappedDLSyncEvent()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

public DLSyncEvent getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<DLSyncEvent>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<DLSyncEvent>

Liferay 6.2-ce-ga5