|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.model.DLSyncWrapper
public class DLSyncWrapper
This class is a wrapper for DLSync.
DLSync,
Serialized Form| Constructor Summary | |
|---|---|
DLSyncWrapper(DLSync dlSync)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLSync dlSync)
|
long |
getCompanyId()
Returns the company ID of this d l sync. |
java.util.Date |
getCreateDate()
Returns the create date of this d l sync. |
java.lang.String |
getDescription()
Returns the description of this d l sync. |
java.lang.String |
getEvent()
Returns the event of this d l sync. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getFileId()
Returns the file ID of this d l sync. |
java.lang.String |
getFileUuid()
Returns the file uuid of this d l sync. |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes()
|
java.lang.Class<?> |
getModelClass()
|
java.lang.String |
getModelClassName()
|
java.util.Date |
getModifiedDate()
Returns the modified date of this d l sync. |
java.lang.String |
getName()
Returns the name of this d l sync. |
long |
getParentFolderId()
Returns the parent folder ID of this d l sync. |
long |
getPrimaryKey()
Returns the primary key of this d l sync. |
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRepositoryId()
Returns the repository ID of this d l sync. |
long |
getSyncId()
Returns the sync ID of this d l sync. |
java.lang.String |
getType()
Returns the type of this d l sync. |
java.lang.String |
getVersion()
Returns the version of this d l sync. |
DLSync |
getWrappedDLSync()
Deprecated. Renamed to getWrappedModel() |
DLSync |
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 |
setCompanyId(long companyId)
Sets the company ID of this d l sync. |
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this d l sync. |
void |
setDescription(java.lang.String description)
Sets the description of this d l sync. |
void |
setEvent(java.lang.String event)
Sets the event of this d l sync. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFileId(long fileId)
Sets the file ID of this d l sync. |
void |
setFileUuid(java.lang.String fileUuid)
Sets the file uuid of this d l sync. |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this d l sync. |
void |
setName(java.lang.String name)
Sets the name of this d l sync. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentFolderId(long parentFolderId)
Sets the parent folder ID of this d l sync. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this d l sync. |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this d l sync. |
void |
setSyncId(long syncId)
Sets the sync ID of this d l sync. |
void |
setType(java.lang.String type)
Sets the type of this d l sync. |
void |
setVersion(java.lang.String version)
Sets the version of this d l sync. |
CacheModel<DLSync> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DLSync |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
java.lang.String |
toString()
|
java.lang.String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DLSyncWrapper(DLSync dlSync)
| Method Detail |
|---|
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLSync>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<DLSync>public long getPrimaryKey()
getPrimaryKey in interface DLSyncModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLSyncModelprimaryKey - the primary key of this d l syncpublic long getSyncId()
getSyncId in interface DLSyncModelpublic void setSyncId(long syncId)
setSyncId in interface DLSyncModelsyncId - the sync ID of this d l syncpublic long getCompanyId()
getCompanyId in interface DLSyncModelpublic void setCompanyId(long companyId)
setCompanyId in interface DLSyncModelcompanyId - the company ID of this d l syncpublic java.util.Date getCreateDate()
getCreateDate in interface DLSyncModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface DLSyncModelcreateDate - the create date of this d l syncpublic java.util.Date getModifiedDate()
getModifiedDate in interface DLSyncModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface DLSyncModelmodifiedDate - the modified date of this d l syncpublic long getFileId()
getFileId in interface DLSyncModelpublic void setFileId(long fileId)
setFileId in interface DLSyncModelfileId - the file ID of this d l syncpublic java.lang.String getFileUuid()
getFileUuid in interface DLSyncModelpublic void setFileUuid(java.lang.String fileUuid)
setFileUuid in interface DLSyncModelfileUuid - the file uuid of this d l syncpublic long getRepositoryId()
getRepositoryId in interface DLSyncModelpublic void setRepositoryId(long repositoryId)
setRepositoryId in interface DLSyncModelrepositoryId - the repository ID of this d l syncpublic long getParentFolderId()
getParentFolderId in interface DLSyncModelpublic void setParentFolderId(long parentFolderId)
setParentFolderId in interface DLSyncModelparentFolderId - the parent folder ID of this d l syncpublic java.lang.String getName()
getName in interface DLSyncModelpublic void setName(java.lang.String name)
setName in interface DLSyncModelname - the name of this d l syncpublic java.lang.String getDescription()
getDescription in interface DLSyncModelpublic void setDescription(java.lang.String description)
setDescription in interface DLSyncModeldescription - the description of this d l syncpublic java.lang.String getEvent()
getEvent in interface DLSyncModelpublic void setEvent(java.lang.String event)
setEvent in interface DLSyncModelevent - the event of this d l syncpublic java.lang.String getType()
getType in interface DLSyncModelpublic void setType(java.lang.String type)
setType in interface DLSyncModeltype - the type of this d l syncpublic java.lang.String getVersion()
getVersion in interface DLSyncModelpublic void setVersion(java.lang.String version)
setVersion in interface DLSyncModelversion - the version of this d l syncpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<DLSync>isNew in interface DLSyncModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<DLSync>setNew in interface DLSyncModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<DLSync>isCachedModel in interface DLSyncModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DLSync>setCachedModel in interface DLSyncModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<DLSync>isEscapedModel in interface DLSyncModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLSync>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DLSyncModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DLSync>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DLSyncModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLSync>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLSyncModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLSync>setExpandoBridgeAttributes in interface DLSyncModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModel
clone in interface BaseModel<DLSync>clone in interface DLSyncModelclone in class java.lang.Objectpublic int compareTo(DLSync dlSync)
compareTo in interface DLSyncModelcompareTo in interface java.lang.Comparable<DLSync>public int hashCode()
hashCode in interface DLSyncModelhashCode in class java.lang.Objectpublic CacheModel<DLSync> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DLSync>toCacheModel in interface DLSyncModelpublic DLSync toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DLSync>toEscapedModel in interface DLSyncModelAutoEscapeBeanHandlerpublic java.lang.String toString()
toString in interface DLSyncModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLSync>toXmlString in interface DLSyncModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic DLSync getWrappedDLSync()
getWrappedModel()
public DLSync getWrappedModel()
getWrappedModel in interface ModelWrapper<DLSync>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DLSync>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||