public class WebDAVPropsWrapper extends BaseModelWrapper<WebDAVProps> implements ModelWrapper<WebDAVProps>, WebDAVProps
This class is a wrapper for WebDAVProps.
WebDAVProps,
Serialized FormmodelWEB_DAV_PROPS_ID_ACCESSOR| Constructor and Description |
|---|
WebDAVPropsWrapper(WebDAVProps webDAVProps) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProp(String name,
String prefix,
String uri) |
void |
addProp(String name,
String prefix,
String uri,
String text) |
WebDAVProps |
cloneWithOriginalValues() |
String |
getClassName()
Returns the fully qualified class name of this web dav props.
|
long |
getClassNameId()
Returns the class name ID of this web dav props.
|
long |
getClassPK()
Returns the class pk of this web dav props.
|
long |
getCompanyId()
Returns the company ID of this web dav props.
|
Date |
getCreateDate()
Returns the create date of this web dav props.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this web dav props.
|
long |
getMvccVersion()
Returns the mvcc version of this web dav props.
|
long |
getPrimaryKey()
Returns the primary key of this web dav props.
|
String |
getProps()
Returns the props of this web dav props.
|
Set<QName> |
getPropsSet() |
String |
getText(String name,
String prefix,
String uri) |
long |
getWebDavPropsId()
Returns the web dav props ID of this web dav props.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
removeProp(String name,
String prefix,
String uri) |
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this web dav props.
|
void |
setClassPK(long classPK)
Sets the class pk of this web dav props.
|
void |
setCompanyId(long companyId)
Sets the company ID of this web dav props.
|
void |
setCreateDate(Date createDate)
Sets the create date of this web dav props.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this web dav props.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this web dav props.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this web dav props.
|
void |
setProps(String props)
Sets the props of this web dav props.
|
void |
setWebDavPropsId(long webDavPropsId)
Sets the web dav props ID of this web dav props.
|
void |
store() |
protected WebDAVPropsWrapper |
wrap(WebDAVProps webDAVProps) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic WebDAVPropsWrapper(WebDAVProps webDAVProps)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<WebDAVProps>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<WebDAVProps>public void addProp(String name,
String prefix,
String uri)
throws Exception
addProp in interface WebDAVPropsExceptionpublic void addProp(String name,
String prefix,
String uri,
String text)
throws Exception
addProp in interface WebDAVPropsExceptionpublic WebDAVProps cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<WebDAVProps>cloneWithOriginalValues in interface WebDAVPropsModelpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface WebDAVPropsModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface WebDAVPropsModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface WebDAVPropsModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface WebDAVPropsModelpublic Date getCreateDate()
getCreateDate in interface WebDAVPropsModelpublic Date getModifiedDate()
getModifiedDate in interface WebDAVPropsModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface WebDAVPropsModelpublic long getPrimaryKey()
getPrimaryKey in interface WebDAVPropsModelpublic String getProps()
getProps in interface WebDAVPropsModelpublic Set<QName> getPropsSet() throws Exception
getPropsSet in interface WebDAVPropsExceptionpublic String getText(String name,
String prefix,
String uri)
throws Exception
getText in interface WebDAVPropsExceptionpublic long getWebDavPropsId()
getWebDavPropsId in interface WebDAVPropsModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void removeProp(String name,
String prefix,
String uri)
throws Exception
removeProp in interface WebDAVPropsExceptionpublic void setClassName(String className)
setClassName in interface WebDAVPropsModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface WebDAVPropsModelclassNameId - the class name ID of this web dav propspublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface WebDAVPropsModelclassPK - the class pk of this web dav propspublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface WebDAVPropsModelcompanyId - the company ID of this web dav propspublic void setCreateDate(Date createDate)
setCreateDate in interface WebDAVPropsModelcreateDate - the create date of this web dav propspublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface WebDAVPropsModelmodifiedDate - the modified date of this web dav propspublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface WebDAVPropsModelmvccVersion - the mvcc version of this web dav propspublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface WebDAVPropsModelprimaryKey - the primary key of this web dav propspublic void setProps(String props)
setProps in interface WebDAVPropsModelprops - the props of this web dav propspublic void setWebDavPropsId(long webDavPropsId)
setWebDavPropsId in interface WebDAVPropsModelwebDavPropsId - the web dav props ID of this web dav propspublic void store()
throws Exception
store in interface WebDAVPropsExceptionprotected WebDAVPropsWrapper wrap(WebDAVProps webDAVProps)
wrap in class BaseModelWrapper<WebDAVProps>