Interface ModifiableRichText
-
- All Superinterfaces:
ModifiableResource
,Resource
,RichText
- All Known Implementing Classes:
JCRRichText
@Deprecated public interface ModifiableRichText extends RichText, ModifiableResource
Deprecated.Use org.ametys.cms.data.RichText insteadRich text that is modifiable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
addAnnotation(String name, String value)
Deprecated.Add a value to a semantic annotationvoid
addAnnotation(String name, String[] values)
Deprecated.Add values to a semantic annotationModifiableFolder
getAdditionalDataFolder()
Deprecated.Returns the Folder holding additional data.
Its internal organization is application dependant.void
removeAnnotation(String name)
Deprecated.Remove a given semantic annotationvoid
removeAnnotations()
Deprecated.Return all semantic annotations-
Methods 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 Detail
-
getAdditionalDataFolder
ModifiableFolder 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
void addAnnotation(String name, String value) throws AmetysRepositoryException
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
void addAnnotation(String name, String[] values) throws AmetysRepositoryException
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
void removeAnnotations() throws AmetysRepositoryException
Deprecated.Return all semantic annotations- Throws:
AmetysRepositoryException
- if an error occurs.
-
removeAnnotation
void removeAnnotation(String name) throws AmetysRepositoryException
Deprecated.Remove a given semantic annotation- Parameters:
name
- The name of the semantic association to remove- Throws:
AmetysRepositoryException
- if an error occurs.
-
-