|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.WebDAVPropsWrapper
public class WebDAVPropsWrapper
This class is a wrapper for WebDAVProps
.
WebDAVProps
,
Serialized FormConstructor 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 |
---|
public WebDAVPropsWrapper(WebDAVProps webDAVProps)
Method Detail |
---|
public long getPrimaryKey()
WebDAVPropsModel
getPrimaryKey
in interface WebDAVPropsModel
public void setPrimaryKey(long pk)
WebDAVPropsModel
setPrimaryKey
in interface WebDAVPropsModel
pk
- the primary key of this web d a v propspublic long getWebDavPropsId()
WebDAVPropsModel
getWebDavPropsId
in interface WebDAVPropsModel
public void setWebDavPropsId(long webDavPropsId)
WebDAVPropsModel
setWebDavPropsId
in interface WebDAVPropsModel
webDavPropsId
- the web dav props id of this web d a v propspublic long getCompanyId()
WebDAVPropsModel
getCompanyId
in interface WebDAVPropsModel
public void setCompanyId(long companyId)
WebDAVPropsModel
setCompanyId
in interface WebDAVPropsModel
companyId
- the company id of this web d a v propspublic Date getCreateDate()
WebDAVPropsModel
getCreateDate
in interface WebDAVPropsModel
public void setCreateDate(Date createDate)
WebDAVPropsModel
setCreateDate
in interface WebDAVPropsModel
createDate
- the create date of this web d a v propspublic Date getModifiedDate()
WebDAVPropsModel
getModifiedDate
in interface WebDAVPropsModel
public void setModifiedDate(Date modifiedDate)
WebDAVPropsModel
setModifiedDate
in interface WebDAVPropsModel
modifiedDate
- the modified date of this web d a v propspublic String getClassName()
WebDAVPropsModel
getClassName
in interface WebDAVPropsModel
public long getClassNameId()
WebDAVPropsModel
getClassNameId
in interface WebDAVPropsModel
public void setClassNameId(long classNameId)
WebDAVPropsModel
setClassNameId
in interface WebDAVPropsModel
classNameId
- the class name id of this web d a v propspublic long getClassPK()
WebDAVPropsModel
getClassPK
in interface WebDAVPropsModel
public void setClassPK(long classPK)
WebDAVPropsModel
setClassPK
in interface WebDAVPropsModel
classPK
- the class p k of this web d a v propspublic String getProps()
WebDAVPropsModel
getProps
in interface WebDAVProps
getProps
in interface WebDAVPropsModel
public void setProps(String props)
WebDAVPropsModel
setProps
in interface WebDAVPropsModel
props
- the props of this web d a v propspublic WebDAVProps toEscapedModel()
WebDAVPropsModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface WebDAVPropsModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<WebDAVProps>
isNew
in interface WebDAVPropsModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<WebDAVProps>
setNew
in interface WebDAVPropsModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<WebDAVProps>
isCachedModel
in interface WebDAVPropsModel
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<WebDAVProps>
setCachedModel
in interface WebDAVPropsModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<WebDAVProps>
isEscapedModel
in interface WebDAVPropsModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<WebDAVProps>
setEscapedModel
in interface WebDAVPropsModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WebDAVProps>
getPrimaryKeyObj
in interface WebDAVPropsModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WebDAVProps>
getExpandoBridge
in interface WebDAVPropsModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WebDAVProps>
setExpandoBridgeAttributes
in interface WebDAVPropsModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<WebDAVProps>
clone
in interface WebDAVPropsModel
clone
in class Object
public int compareTo(WebDAVProps webDAVProps)
compareTo
in interface WebDAVPropsModel
compareTo
in interface Comparable<WebDAVProps>
public int hashCode()
hashCode
in interface WebDAVPropsModel
hashCode
in class Object
public String toString()
toString
in interface WebDAVPropsModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WebDAVProps>
toXmlString
in interface WebDAVPropsModel
public Set<Tuple> getPropsSet() throws Exception
getPropsSet
in interface WebDAVProps
Exception
public String getText(String name, String prefix, String uri) throws Exception
getText
in interface WebDAVProps
Exception
public void addProp(String name, String prefix, String uri) throws Exception
addProp
in interface WebDAVProps
Exception
public void addProp(String name, String prefix, String uri, String text) throws Exception
addProp
in interface WebDAVProps
Exception
public void removeProp(String name, String prefix, String uri) throws Exception
removeProp
in interface WebDAVProps
Exception
public void store() throws Exception
store
in interface WebDAVProps
Exception
public WebDAVProps getWrappedWebDAVProps()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |