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 TypeMethodDescriptionvoid
addAnnotation
(String name, String value) Deprecated.Add a value to a semantic annotationvoid
addAnnotation
(String name, String[] values) Deprecated.Add values to a semantic annotationDeprecated.Returns the Folder holding additional data.
Its internal organization is application dependant.void
removeAnnotation
(String name) Deprecated.Remove a given semantic annotationvoid
Deprecated.Return all semantic annotationsMethods inherited from interface org.ametys.plugins.repository.metadata.ModifiableResource
getOutputStream, rename, setEncoding, setInputStream, setLastModified, setMimeType
Methods inherited from interface org.ametys.plugins.repository.metadata.Resource
getEncoding, getInputStream, getLastModified, getLength, getMimeType
Methods 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:
getAdditionalDataFolder
in 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.
-