Liferay 6.1.2-ce-ga3

com.liferay.portal.model
Class WebDAVPropsWrapper

java.lang.Object
  extended by com.liferay.portal.model.WebDAVPropsWrapper
All Implemented Interfaces:
AttachedModel, BaseModel<WebDAVProps>, ClassedModel, ModelWrapper<WebDAVProps>, PersistedModel, WebDAVProps, WebDAVPropsModel, Serializable, Cloneable, Comparable<WebDAVProps>

public class WebDAVPropsWrapper
extends Object
implements WebDAVProps, ModelWrapper<WebDAVProps>

This class is a wrapper for WebDAVProps.

See Also:
WebDAVProps, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
WebDAVPropsWrapper(WebDAVProps webDAVProps)
           
 
Method Summary
 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 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()
           
 WebDAVProps getWrappedWebDAVProps()
          Deprecated. Renamed to 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 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(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 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.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebDAVPropsWrapper

public WebDAVPropsWrapper(WebDAVProps webDAVProps)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<WebDAVProps>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<WebDAVProps>

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this web d a v props.

Specified by:
getPrimaryKey in interface WebDAVPropsModel
Returns:
the primary key of this web d a v props

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this web d a v props.

Specified by:
setPrimaryKey in interface WebDAVPropsModel
Parameters:
primaryKey - the primary key of this web d a v props

getWebDavPropsId

public long getWebDavPropsId()
Returns the web dav props ID of this web d a v props.

Specified by:
getWebDavPropsId in interface WebDAVPropsModel
Returns:
the web dav props ID of this web d a v props

setWebDavPropsId

public void setWebDavPropsId(long webDavPropsId)
Sets the web dav props ID of this web d a v props.

Specified by:
setWebDavPropsId in interface WebDAVPropsModel
Parameters:
webDavPropsId - the web dav props ID of this web d a v props

getCompanyId

public long getCompanyId()
Returns the company ID of this web d a v props.

Specified by:
getCompanyId in interface WebDAVPropsModel
Returns:
the company ID of this web d a v props

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this web d a v props.

Specified by:
setCompanyId in interface WebDAVPropsModel
Parameters:
companyId - the company ID of this web d a v props

getCreateDate

public Date getCreateDate()
Returns the create date of this web d a v props.

Specified by:
getCreateDate in interface WebDAVPropsModel
Returns:
the create date of this web d a v props

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this web d a v props.

Specified by:
setCreateDate in interface WebDAVPropsModel
Parameters:
createDate - the create date of this web d a v props

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this web d a v props.

Specified by:
getModifiedDate in interface WebDAVPropsModel
Returns:
the modified date of this web d a v props

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this web d a v props.

Specified by:
setModifiedDate in interface WebDAVPropsModel
Parameters:
modifiedDate - the modified date of this web d a v props

getClassName

public String getClassName()
Returns the fully qualified class name of this web d a v props.

Specified by:
getClassName in interface AttachedModel
Specified by:
getClassName in interface WebDAVPropsModel
Returns:
the fully qualified class name of this web d a v props

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface WebDAVPropsModel

getClassNameId

public long getClassNameId()
Returns the class name ID of this web d a v props.

Specified by:
getClassNameId in interface AttachedModel
Specified by:
getClassNameId in interface WebDAVPropsModel
Returns:
the class name ID of this web d a v props

setClassNameId

public void setClassNameId(long classNameId)
Sets the class name ID of this web d a v props.

Specified by:
setClassNameId in interface AttachedModel
Specified by:
setClassNameId in interface WebDAVPropsModel
Parameters:
classNameId - the class name ID of this web d a v props

getClassPK

public long getClassPK()
Returns the class p k of this web d a v props.

Specified by:
getClassPK in interface AttachedModel
Specified by:
getClassPK in interface WebDAVPropsModel
Returns:
the class p k of this web d a v props

setClassPK

public void setClassPK(long classPK)
Sets the class p k of this web d a v props.

Specified by:
setClassPK in interface AttachedModel
Specified by:
setClassPK in interface WebDAVPropsModel
Parameters:
classPK - the class p k of this web d a v props

getProps

public String getProps()
Returns the props of this web d a v props.

Specified by:
getProps in interface WebDAVProps
Specified by:
getProps in interface WebDAVPropsModel
Returns:
the props of this web d a v props

setProps

public void setProps(String props)
Sets the props of this web d a v props.

Specified by:
setProps in interface WebDAVPropsModel
Parameters:
props - the props of this web d a v props

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<WebDAVProps>
Specified by:
isNew in interface WebDAVPropsModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<WebDAVProps>
Specified by:
setNew in interface WebDAVPropsModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<WebDAVProps>
Specified by:
isCachedModel in interface WebDAVPropsModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<WebDAVProps>
Specified by:
setCachedModel in interface WebDAVPropsModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<WebDAVProps>
Specified by:
isEscapedModel in interface WebDAVPropsModel
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<WebDAVProps>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface WebDAVPropsModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<WebDAVProps>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface WebDAVPropsModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<WebDAVProps>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface WebDAVPropsModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<WebDAVProps>
Specified by:
setExpandoBridgeAttributes in interface WebDAVPropsModel
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<WebDAVProps>
Specified by:
clone in interface WebDAVPropsModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(WebDAVProps webDAVProps)
Specified by:
compareTo in interface WebDAVPropsModel
Specified by:
compareTo in interface Comparable<WebDAVProps>

hashCode

public int hashCode()
Specified by:
hashCode in interface WebDAVPropsModel
Overrides:
hashCode in class Object

toCacheModel

public CacheModel<WebDAVProps> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<WebDAVProps>
Specified by:
toCacheModel in interface WebDAVPropsModel
Returns:
the cache model object

toEscapedModel

public WebDAVProps toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<WebDAVProps>
Specified by:
toEscapedModel in interface WebDAVPropsModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public WebDAVProps toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<WebDAVProps>
Specified by:
toUnescapedModel in interface WebDAVPropsModel

toString

public String toString()
Specified by:
toString in interface WebDAVPropsModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<WebDAVProps>
Specified by:
toXmlString in interface WebDAVPropsModel
Returns:
the XML representation of this model instance

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

addProp

public void addProp(String name,
                    String prefix,
                    String uri)
             throws Exception
Specified by:
addProp in interface WebDAVProps
Throws:
Exception

addProp

public void addProp(String name,
                    String prefix,
                    String uri,
                    String text)
             throws Exception
Specified by:
addProp in interface WebDAVProps
Throws:
Exception

getPropsSet

public Set<QName> getPropsSet()
                       throws Exception
Specified by:
getPropsSet in interface WebDAVProps
Throws:
Exception

getText

public String getText(String name,
                      String prefix,
                      String uri)
               throws Exception
Specified by:
getText in interface WebDAVProps
Throws:
Exception

removeProp

public void removeProp(String name,
                       String prefix,
                       String uri)
                throws Exception
Specified by:
removeProp in interface WebDAVProps
Throws:
Exception

store

public void store()
           throws Exception
Specified by:
store in interface WebDAVProps
Throws:
Exception

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedWebDAVProps

public WebDAVProps getWrappedWebDAVProps()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

public WebDAVProps getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<WebDAVProps>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<WebDAVProps>

Liferay 6.1.2-ce-ga3