|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.model.DLSyncWrapper
public class DLSyncWrapper
This class is a wrapper for DLSync
.
DLSync
,
Serialized FormConstructor Summary | |
---|---|
DLSyncWrapper(DLSync dlSync)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLSync dlSync)
|
boolean |
equals(Object obj)
|
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 |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DLSyncWrapper(DLSync dlSync)
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<DLSync>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DLSync>
public long getPrimaryKey()
getPrimaryKey
in interface DLSyncModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DLSyncModel
primaryKey
- the primary key of this d l syncpublic long getSyncId()
getSyncId
in interface DLSyncModel
public void setSyncId(long syncId)
setSyncId
in interface DLSyncModel
syncId
- the sync ID of this d l syncpublic long getCompanyId()
getCompanyId
in interface DLSyncModel
public void setCompanyId(long companyId)
setCompanyId
in interface DLSyncModel
companyId
- the company ID of this d l syncpublic Date getCreateDate()
getCreateDate
in interface DLSyncModel
public void setCreateDate(Date createDate)
setCreateDate
in interface DLSyncModel
createDate
- the create date of this d l syncpublic Date getModifiedDate()
getModifiedDate
in interface DLSyncModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface DLSyncModel
modifiedDate
- the modified date of this d l syncpublic long getFileId()
getFileId
in interface DLSyncModel
public void setFileId(long fileId)
setFileId
in interface DLSyncModel
fileId
- the file ID of this d l syncpublic String getFileUuid()
getFileUuid
in interface DLSyncModel
public void setFileUuid(String fileUuid)
setFileUuid
in interface DLSyncModel
fileUuid
- the file uuid of this d l syncpublic long getRepositoryId()
getRepositoryId
in interface DLSyncModel
public void setRepositoryId(long repositoryId)
setRepositoryId
in interface DLSyncModel
repositoryId
- the repository ID of this d l syncpublic long getParentFolderId()
getParentFolderId
in interface DLSyncModel
public void setParentFolderId(long parentFolderId)
setParentFolderId
in interface DLSyncModel
parentFolderId
- the parent folder ID of this d l syncpublic String getName()
getName
in interface DLSyncModel
public void setName(String name)
setName
in interface DLSyncModel
name
- the name of this d l syncpublic String getDescription()
getDescription
in interface DLSyncModel
public void setDescription(String description)
setDescription
in interface DLSyncModel
description
- the description of this d l syncpublic String getEvent()
getEvent
in interface DLSyncModel
public void setEvent(String event)
setEvent
in interface DLSyncModel
event
- the event of this d l syncpublic String getType()
getType
in interface DLSyncModel
public void setType(String type)
setType
in interface DLSyncModel
type
- the type of this d l syncpublic String getVersion()
getVersion
in interface DLSyncModel
public void setVersion(String version)
setVersion
in interface DLSyncModel
version
- the version of this d l syncpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<DLSync>
isNew
in interface DLSyncModel
true
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 DLSyncModel
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<DLSync>
isCachedModel
in interface DLSyncModel
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<DLSync>
setCachedModel
in interface DLSyncModel
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<DLSync>
isEscapedModel
in interface DLSyncModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLSync>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DLSyncModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DLSync>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DLSyncModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLSync>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DLSyncModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLSync>
setExpandoBridgeAttributes
in interface DLSyncModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<DLSync>
clone
in interface DLSyncModel
clone
in class Object
public int compareTo(DLSync dlSync)
compareTo
in interface DLSyncModel
compareTo
in interface Comparable<DLSync>
public int hashCode()
hashCode
in interface DLSyncModel
hashCode
in class Object
public CacheModel<DLSync> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DLSync>
toCacheModel
in interface DLSyncModel
public DLSync toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLSync>
toEscapedModel
in interface DLSyncModel
AutoEscapeBeanHandler
public DLSync toUnescapedModel()
toUnescapedModel
in interface BaseModel<DLSync>
toUnescapedModel
in interface DLSyncModel
public String toString()
toString
in interface DLSyncModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLSync>
toXmlString
in interface DLSyncModel
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 DLSync getWrappedDLSync()
getWrappedModel()
public DLSync getWrappedModel()
getWrappedModel
in interface ModelWrapper<DLSync>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DLSync>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |