@ProviderType public class WebDAVPropsWrapper extends Object implements WebDAVProps, ModelWrapper<WebDAVProps>
This class is a wrapper for WebDAVProps.
WebDAVProps,
Serialized FormWEB_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) |
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(WebDAVProps webDAVProps) |
boolean |
equals(Object obj) |
String |
getClassName()
Returns the fully qualified class name of this web d a v props.
|
long |
getClassNameId()
Returns the class name ID of this web d a v props.
|
long |
getClassPK()
Returns the class p k of this web d a v props.
|
long |
getCompanyId()
Returns the company ID of this web d a v props.
|
Date |
getCreateDate()
Returns the create date of this web d a v props.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate()
Returns the modified date of this web d a v props.
|
long |
getMvccVersion()
Returns the mvcc version of this web d a v props.
|
long |
getPrimaryKey()
Returns the primary key of this web d a v props.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
String |
getProps()
Returns the props of this web d a v props.
|
Set<QName> |
getPropsSet() |
String |
getText(String name,
String prefix,
String uri) |
long |
getWebDavPropsId()
Returns the web dav props ID of this web d a v props.
|
WebDAVProps |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
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 |
removeProp(String name,
String prefix,
String uri) |
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 |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this web d a v props.
|
void |
setClassPK(long classPK)
Sets the class p k of this web d a v props.
|
void |
setCompanyId(long companyId)
Sets the company ID of this web d a v props.
|
void |
setCreateDate(Date createDate)
Sets the create date of this web d a v props.
|
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 |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this web d a v props.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this web d a v props.
|
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 web d a v props.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setProps(String props)
Sets the props of this web d a v props.
|
void |
setWebDavPropsId(long webDavPropsId)
Sets the web dav props ID of this web d a v props.
|
void |
store() |
CacheModel<WebDAVProps> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
WebDAVProps |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
WebDAVProps |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public WebDAVPropsWrapper(WebDAVProps webDAVProps)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<WebDAVProps>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<WebDAVProps>public CacheModel<WebDAVProps> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<WebDAVProps>toCacheModel in interface WebDAVPropsModelpublic WebDAVProps toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<WebDAVProps>toEscapedModel in interface WebDAVPropsModelAutoEscapeBeanHandlerpublic WebDAVProps toUnescapedModel()
toUnescapedModel in interface BaseModel<WebDAVProps>toUnescapedModel in interface WebDAVPropsModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<WebDAVProps>isCachedModel in interface WebDAVPropsModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<WebDAVProps>isEscapedModel in interface WebDAVPropsModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<WebDAVProps>isNew in interface WebDAVPropsModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<WebDAVProps>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface WebDAVPropsModelpublic int compareTo(WebDAVProps webDAVProps)
compareTo in interface WebDAVPropsModelcompareTo in interface Comparable<WebDAVProps>public int hashCode()
hashCode in interface WebDAVPropsModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<WebDAVProps>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface WebDAVPropsModelpublic Object clone()
BaseModelclone in interface BaseModel<WebDAVProps>clone in interface WebDAVPropsModelclone in class Objectpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface WebDAVPropsModelpublic String getProps()
getProps in interface WebDAVPropsModelpublic String getText(String name, String prefix, String uri) throws Exception
getText in interface WebDAVPropsExceptionpublic String toString()
toString in interface WebDAVPropsModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<WebDAVProps>toXmlString in interface WebDAVPropsModelpublic Date getCreateDate()
getCreateDate in interface WebDAVPropsModelpublic Date getModifiedDate()
getModifiedDate in interface WebDAVPropsModelpublic Set<QName> getPropsSet() throws Exception
getPropsSet in interface WebDAVPropsExceptionpublic 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 long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface WebDAVPropsModelpublic long getPrimaryKey()
getPrimaryKey in interface WebDAVPropsModelpublic long getWebDavPropsId()
getWebDavPropsId in interface WebDAVPropsModelpublic 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 void persist()
PersistedModelpersist in interface PersistedModelpublic void removeProp(String name, String prefix, String uri) throws Exception
removeProp in interface WebDAVPropsExceptionpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<WebDAVProps>setCachedModel in interface WebDAVPropsModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 d a v propspublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface WebDAVPropsModelclassPK - the class p k of this web d a v propspublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface WebDAVPropsModelcompanyId - the company ID of this web d a v propspublic void setCreateDate(Date createDate)
setCreateDate in interface WebDAVPropsModelcreateDate - the create date of this web d a v propspublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<WebDAVProps>setExpandoBridgeAttributes in interface WebDAVPropsModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<WebDAVProps>setExpandoBridgeAttributes in interface WebDAVPropsModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<WebDAVProps>setExpandoBridgeAttributes in interface WebDAVPropsModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setModifiedDate(Date modifiedDate)
setModifiedDate in interface WebDAVPropsModelmodifiedDate - the modified date of this web d a v propspublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface WebDAVPropsModelmvccVersion - the mvcc version of this web d a v propspublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<WebDAVProps>setNew in interface WebDAVPropsModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface WebDAVPropsModelprimaryKey - the primary key of this web d a v propspublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<WebDAVProps>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface WebDAVPropsModelprimaryKeyObj - the primary key of this model instancepublic void setProps(String props)
setProps in interface WebDAVPropsModelprops - the props of this web d a v propspublic void setWebDavPropsId(long webDavPropsId)
setWebDavPropsId in interface WebDAVPropsModelwebDavPropsId - the web dav props ID of this web d a v propspublic void store()
throws Exception
store in interface WebDAVPropsExceptionpublic WebDAVProps getWrappedModel()
getWrappedModel in interface ModelWrapper<WebDAVProps>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<WebDAVProps>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<WebDAVProps>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<WebDAVProps>