|
Liferay 6.1.2-ce-ga3 | |||||||||
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)
|
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 |
---|
public WebDAVPropsWrapper(WebDAVProps webDAVProps)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<WebDAVProps>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<WebDAVProps>
public long getPrimaryKey()
getPrimaryKey
in interface WebDAVPropsModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface WebDAVPropsModel
primaryKey
- the primary key of this web d a v propspublic long getWebDavPropsId()
getWebDavPropsId
in interface WebDAVPropsModel
public void setWebDavPropsId(long webDavPropsId)
setWebDavPropsId
in interface WebDAVPropsModel
webDavPropsId
- the web dav props ID of this web d a v propspublic long getCompanyId()
getCompanyId
in interface WebDAVPropsModel
public void setCompanyId(long companyId)
setCompanyId
in interface WebDAVPropsModel
companyId
- the company ID of this web d a v propspublic Date getCreateDate()
getCreateDate
in interface WebDAVPropsModel
public void setCreateDate(Date createDate)
setCreateDate
in interface WebDAVPropsModel
createDate
- the create date of this web d a v propspublic Date getModifiedDate()
getModifiedDate
in interface WebDAVPropsModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface WebDAVPropsModel
modifiedDate
- the modified date of this web d a v propspublic String getClassName()
getClassName
in interface AttachedModel
getClassName
in interface WebDAVPropsModel
public void setClassName(String className)
setClassName
in interface WebDAVPropsModel
public long getClassNameId()
getClassNameId
in interface AttachedModel
getClassNameId
in interface WebDAVPropsModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
setClassNameId
in interface WebDAVPropsModel
classNameId
- the class name ID of this web d a v propspublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface WebDAVPropsModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface WebDAVPropsModel
classPK
- the class p k of this web d a v propspublic String getProps()
getProps
in interface WebDAVProps
getProps
in interface WebDAVPropsModel
public void setProps(String props)
setProps
in interface WebDAVPropsModel
props
- the props of this web d a v propspublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
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
true
if this model instance was retrieved from the
entity cache.
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
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<WebDAVProps>
isEscapedModel
in interface WebDAVPropsModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WebDAVProps>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface WebDAVPropsModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<WebDAVProps>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface WebDAVPropsModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WebDAVProps>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface WebDAVPropsModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WebDAVProps>
setExpandoBridgeAttributes
in interface WebDAVPropsModel
serviceContext
- the service contextServiceContext.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 CacheModel<WebDAVProps> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<WebDAVProps>
toCacheModel
in interface WebDAVPropsModel
public WebDAVProps toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<WebDAVProps>
toEscapedModel
in interface WebDAVPropsModel
AutoEscapeBeanHandler
public WebDAVProps toUnescapedModel()
toUnescapedModel
in interface BaseModel<WebDAVProps>
toUnescapedModel
in interface WebDAVPropsModel
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 void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic 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 Set<QName> 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 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 boolean equals(Object obj)
equals
in class Object
public WebDAVProps getWrappedWebDAVProps()
getWrappedModel()
public WebDAVProps getWrappedModel()
getWrappedModel
in interface ModelWrapper<WebDAVProps>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<WebDAVProps>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |