public interface RemovableAmetysObject extends AmetysObject
AmetysObject
which can be deleted.Modifier and Type | Method and Description |
---|---|
void |
remove()
Removes this
AmetysObject from the Ametys tree. |
equals, getId, getName, getParent, getParentPath, getPath, hashCode
void remove() throws AmetysRepositoryException, RepositoryIntegrityViolationException
AmetysObject
from the Ametys tree.AmetysRepositoryException
- if an error occurs.RepositoryIntegrityViolationException
- if this AmetysObject
is referenced by another objects.