@ProviderType public interface DLSyncEventModel extends BaseModel<DLSyncEvent>, ShardedModel
This interface and its corresponding implementation com.liferay.portlet.documentlibrary.model.impl.DLSyncEventModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.documentlibrary.model.impl.DLSyncEventImpl.
DLSyncEvent,
com.liferay.portlet.documentlibrary.model.impl.DLSyncEventImpl,
com.liferay.portlet.documentlibrary.model.impl.DLSyncEventModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DLSyncEvent dlSyncEvent) |
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.
|
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.
|
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 |
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 |
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.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this d l sync eventlong getSyncEventId()
void setSyncEventId(long syncEventId)
syncEventId - the sync event ID of this d l sync eventlong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this d l sync eventlong getModifiedTime()
void setModifiedTime(long modifiedTime)
modifiedTime - the modified time of this d l sync event@AutoEscape String getEvent()
void setEvent(String event)
event - the event of this d l sync event@AutoEscape String getType()
void setType(String type)
type - the type of this d l sync eventlong getTypePK()
void setTypePK(long typePK)
typePK - the type p k of this d l sync eventboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<DLSyncEvent>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<DLSyncEvent>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<DLSyncEvent>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<DLSyncEvent>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<DLSyncEvent>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<DLSyncEvent>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<DLSyncEvent>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<DLSyncEvent>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DLSyncEvent>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DLSyncEvent>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<DLSyncEvent>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelclone in interface BaseModel<DLSyncEvent>int compareTo(DLSyncEvent dlSyncEvent)
compareTo in interface Comparable<DLSyncEvent>CacheModel<DLSyncEvent> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<DLSyncEvent>DLSyncEvent toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<DLSyncEvent>AutoEscapeBeanHandlerDLSyncEvent toUnescapedModel()
toUnescapedModel in interface BaseModel<DLSyncEvent>String toXmlString()
BaseModeltoXmlString in interface BaseModel<DLSyncEvent>