|
Liferay 6.2.0-ce-m3 | |||||||||
| 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 | |
|---|---|
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. |
Date |
getCreateDate()
Returns the create date of this d l sync. |
String |
getDescription()
Returns the description of this d l sync. |
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. |
String |
getFileUuid()
Returns the file uuid of this d l sync. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this d l sync. |
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. |
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. |
String |
getType()
Returns the type of this d l sync. |
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(Date createDate)
Sets the create date of this d l sync. |
void |
setDescription(String description)
Sets the description of this d l sync. |
void |
setEvent(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(String fileUuid)
Sets the file uuid of this d l sync. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this d l sync. |
void |
setName(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(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(String type)
Sets the type of this d l sync. |
void |
setVersion(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. |
String |
toString()
|
DLSync |
toUnescapedModel()
|
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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLSync>public void setModelAttributes(Map<String,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 Date getCreateDate()
getCreateDate in interface DLSyncModelpublic void setCreateDate(Date createDate)
setCreateDate in interface DLSyncModelcreateDate - the create date of this d l syncpublic Date getModifiedDate()
getModifiedDate in interface DLSyncModelpublic void setModifiedDate(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 String getFileUuid()
getFileUuid in interface DLSyncModelpublic void setFileUuid(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 String getName()
getName in interface DLSyncModelpublic void setName(String name)
setName in interface DLSyncModelname - the name of this d l syncpublic String getDescription()
getDescription in interface DLSyncModelpublic void setDescription(String description)
setDescription in interface DLSyncModeldescription - the description of this d l syncpublic String getEvent()
getEvent in interface DLSyncModelpublic void setEvent(String event)
setEvent in interface DLSyncModelevent - the event of this d l syncpublic String getType()
getType in interface DLSyncModelpublic void setType(String type)
setType in interface DLSyncModeltype - the type of this d l syncpublic String getVersion()
getVersion in interface DLSyncModelpublic void setVersion(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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLSync>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DLSyncModelpublic void setPrimaryKeyObj(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 Object clone()
BaseModel
clone in interface BaseModel<DLSync>clone in interface DLSyncModelclone in class Objectpublic int compareTo(DLSync dlSync)
compareTo in interface DLSyncModelcompareTo in interface Comparable<DLSync>public int hashCode()
hashCode in interface DLSyncModelhashCode in class 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 DLSync toUnescapedModel()
toUnescapedModel in interface BaseModel<DLSync>toUnescapedModel in interface DLSyncModelpublic String toString()
toString in interface DLSyncModeltoString in class Objectpublic 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>
|
Liferay 6.2.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||