@Deprecated public interface ModifiableRichText extends RichText, ModifiableResource
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(String name,
String value)
Deprecated.
Add a value to a semantic annotation
|
void |
addAnnotation(String name,
String[] values)
Deprecated.
Add values to a semantic annotation
|
ModifiableFolder |
getAdditionalDataFolder()
Deprecated.
Returns the Folder holding additional data.
Its internal organization is application dependant. |
void |
removeAnnotation(String name)
Deprecated.
Remove a given semantic annotation
|
void |
removeAnnotations()
Deprecated.
Return all semantic annotations
|
getAnnotationNames, getAnnotationValues
getOutputStream, rename, setEncoding, setInputStream, setLastModified, setMimeType
getEncoding, getInputStream, getLastModified, getLength, getMimeType
ModifiableFolder getAdditionalDataFolder()
getAdditionalDataFolder
in interface RichText
void addAnnotation(String name, String value) throws AmetysRepositoryException
name
- The name of the annotationvalue
- The value to appendAmetysRepositoryException
- if an error occurs.void addAnnotation(String name, String[] values) throws AmetysRepositoryException
name
- The name of the annotationvalues
- The values to appendAmetysRepositoryException
- if an error occurs.void removeAnnotations() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.void removeAnnotation(String name) throws AmetysRepositoryException
name
- The name of the semantic association to removeAmetysRepositoryException
- if an error occurs.