Liferay 6.0.5

com.liferay.portal.model
Class WebDAVPropsWrapper

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

public class WebDAVPropsWrapper
extends Object
implements 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 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)
           
 String getClassName()
          Gets the class name of the model instance this web d a v props is polymorphically associated with.
 long getClassNameId()
          Gets the class name id of this web d a v props.
 long getClassPK()
          Gets the class p k of this web d a v props.
 long getCompanyId()
          Gets the company id of this web d a v props.
 Date getCreateDate()
          Gets the create date of this web d a v props.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 Date getModifiedDate()
          Gets the modified date of this web d a v props.
 long getPrimaryKey()
          Gets the primary key of this web d a v props.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 String getProps()
          Gets the props of this web d a v props.
 Set<Tuple> getPropsSet()
           
 String getText(String name, String prefix, String uri)
           
 long getWebDavPropsId()
          Gets the web dav props id of this web d a v props.
 WebDAVProps getWrappedWebDAVProps()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 void removeProp(String name, String prefix, String uri)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 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 setEscapedModel(boolean escapedModel)
          Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 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 pk)
          Sets the primary key of this web d a v props
 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()
           
 WebDAVProps toEscapedModel()
          Gets a copy of this web d a v props as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebDAVPropsWrapper

public WebDAVPropsWrapper(WebDAVProps webDAVProps)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: WebDAVPropsModel
Gets 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 pk)
Description copied from interface: WebDAVPropsModel
Sets the primary key of this web d a v props

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

getWebDavPropsId

public long getWebDavPropsId()
Description copied from interface: WebDAVPropsModel
Gets 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)
Description copied from interface: WebDAVPropsModel
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()
Description copied from interface: WebDAVPropsModel
Gets 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)
Description copied from interface: WebDAVPropsModel
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()
Description copied from interface: WebDAVPropsModel
Gets 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)
Description copied from interface: WebDAVPropsModel
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()
Description copied from interface: WebDAVPropsModel
Gets 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)
Description copied from interface: WebDAVPropsModel
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()
Description copied from interface: WebDAVPropsModel
Gets the class name of the model instance this web d a v props is polymorphically associated with.

Specified by:
getClassName in interface WebDAVPropsModel
Returns:
the class name of the model instance this web d a v props is polymorphically associated with

getClassNameId

public long getClassNameId()
Description copied from interface: WebDAVPropsModel
Gets the class name id of this web d a v props.

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

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: WebDAVPropsModel
Sets the class name id of this web d a v props.

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

getClassPK

public long getClassPK()
Description copied from interface: WebDAVPropsModel
Gets the class p k of this web d a v props.

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

setClassPK

public void setClassPK(long classPK)
Description copied from interface: WebDAVPropsModel
Sets the class p k of this web d a v props.

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

getProps

public String getProps()
Description copied from interface: WebDAVPropsModel
Gets 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)
Description copied from interface: WebDAVPropsModel
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

toEscapedModel

public WebDAVProps toEscapedModel()
Description copied from interface: WebDAVPropsModel
Gets a copy of this web d a v props as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface WebDAVPropsModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines 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
Determines 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
Determines 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
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<WebDAVProps>
Specified by:
setEscapedModel in interface WebDAVPropsModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

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

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<WebDAVProps>
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 to retrieve the expando bridge attributes from
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

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets 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

getPropsSet

public Set<Tuple> 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

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

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

getWrappedWebDAVProps

public WebDAVProps getWrappedWebDAVProps()

Liferay 6.0.5