Package org.ametys.cms.repository
Interface AttachableAmetysObject
- All Superinterfaces:
AmetysObject,DataHolder
Interface to handle attachments on AmetysObject
-
Method Summary
Modifier and TypeMethodDescriptionGet the attachments listvoidsetAttachments(List<Binary> attachments) Set the attachments listMethods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCodeMethods inherited from interface org.ametys.plugins.repository.data.holder.DataHolder
copyTo, copyTo, dataToJSON, dataToJSON, dataToJSON, dataToJSON, dataToSAX, dataToSAX, dataToSAX, dataToSAX, getComposite, getDataNames, getModelItemTypeExtensionPoint, getParentDataHolder, getRepositoryData, getRootDataHolder, getType, getValue, getValueOfType, getValueOfTypeOrDefault, getValueOrDefault, hasDifferences, hasValue, hasValue, hasValueOrEmpty, isMultiple, isMultiple
-
Method Details
-
getAttachments
Get the attachments list- Returns:
- the attachments list
-
setAttachments
Set the attachments list- Parameters:
attachments- the attachments list
-