|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface I_CmsPropertyProvider
Interface for dynamic CMIS properties.
Dynamic properties don't actually exist in the VFS, instead they are read and written by calling methods on the subclasses implementing this interface which have been configured in the repository configuration.
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of the dynamic property. |
java.lang.String |
getPropertyValue(CmsObject cms,
CmsResource resource)
Reads the property value. |
boolean |
isWritable()
Returns true if this dynamic property is writable. |
void |
setPropertyValue(CmsObject cms,
CmsResource resource,
java.lang.String valueToSet)
Writes the property value. |
| Method Detail |
|---|
java.lang.String getName()
The id of the property will consist of the name combined with an opencms-dynamic: prefix.
java.lang.String getPropertyValue(CmsObject cms,
CmsResource resource)
throws CmsException
cms - the current CMS contextresource - the resource for which the property should be read
CmsException - if something goes wrongboolean isWritable()
void setPropertyValue(CmsObject cms,
CmsResource resource,
java.lang.String valueToSet)
throws CmsException
cms - the current CMS context.resource - the resource for which to write the propertyvalueToSet - the value to write
CmsException - if something goes wrong
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||