Interface ModifiableRichText
- All Superinterfaces:
ModifiableResource,Resource,RichText
- All Known Implementing Classes:
JCRRichText
Deprecated.
Use org.ametys.cms.data.RichText instead
Rich text that is modifiable
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotation(String name, String value) Deprecated.Add a value to a semantic annotationvoidaddAnnotation(String name, String[] values) Deprecated.Add values to a semantic annotationDeprecated.Returns the Folder holding additional data.
Its internal organization is application dependant.voidremoveAnnotation(String name) Deprecated.Remove a given semantic annotationvoidDeprecated.Return all semantic annotationsMethods inherited from interface org.ametys.plugins.repository.metadata.ModifiableResource
getOutputStream, rename, setEncoding, setInputStream, setLastModified, setMimeTypeMethods inherited from interface org.ametys.plugins.repository.metadata.Resource
getEncoding, getInputStream, getLastModified, getLength, getMimeTypeMethods inherited from interface org.ametys.plugins.repository.metadata.RichText
getAnnotationNames, getAnnotationValues
-
Method Details
-
getAdditionalDataFolder
Deprecated.Returns the Folder holding additional data.
Its internal organization is application dependant.- Specified by:
getAdditionalDataFolderin interfaceRichText- Returns:
- the Folder holding additional data
-
addAnnotation
Deprecated.Add a value to a semantic annotation- Parameters:
name- The name of the annotationvalue- The value to append- Throws:
AmetysRepositoryException- if an error occurs.
-
addAnnotation
Deprecated.Add values to a semantic annotation- Parameters:
name- The name of the annotationvalues- The values to append- Throws:
AmetysRepositoryException- if an error occurs.
-
removeAnnotations
Deprecated.Return all semantic annotations- Throws:
AmetysRepositoryException- if an error occurs.
-
removeAnnotation
Deprecated.Remove a given semantic annotation- Parameters:
name- The name of the semantic association to remove- Throws:
AmetysRepositoryException- if an error occurs.
-