Package org.ametys.plugins.repository
Interface RemovableAmetysObject
-
- All Superinterfaces:
AmetysObject
- All Known Subinterfaces:
CalendarEvent
,CommentableContent
,JCRAmetysObject
,JCRTraversableAmetysObject
,ModelAwareJCRAmetysObject
,ModelLessJCRAmetysObject
,ModifiableCalendar
,ModifiableCalendarEvent
,ModifiableContent
,ModifiablePage
,ModifiableResource
,ModifiableResourceCollection
,ModifiableTask
,ModifiableTasksList
,ModifiableThread
,ModifiableWebContent
,ModifiableWorkflowAwareContent
,ModifiableZone
,ModifiableZoneItem
,ProgramPart
,SharedContent
,TraversableProgramPart
,WorkflowAwareAmetysObject
,WorkflowAwareContent
- All Known Implementing Classes:
AbstractProgram
,AbstractProgramPart
,AbstractSurveyElement
,AbstractTraversableProgramPart
,AmetysObjectCollection
,Cart
,Catalog
,CategoryJCR
,CMISRootResourcesCollection
,CMSJCRTag
,Container
,ContentBackupAmetysObject
,Course
,CourseList
,CoursePart
,DefaultAlias
,DefaultAmetysObject
,DefaultContent
,DefaultDefinition
,DefaultLink
,DefaultLockableAmetysObject
,DefaultPage
,DefaultSharedContent
,DefaultTheme
,DefaultTraversableAmetysObject
,DefaultWebContent
,DefaultWorkflowAwareContent
,DefaultZone
,DefaultZoneItem
,JCRCalendar
,JCRCalendarEvent
,JCRCategory
,JCRPost
,JCRProjectMember
,JCRResource
,JCRResourcesCollection
,JCRSubscribersList
,JCRTag
,JCRTask
,JCRTasksList
,JCRThread
,JCRWorkflow
,JCRWorkflowProcess
,KeywordJCR
,ModifiableDefaultContent
,ModifiableDefaultWebContent
,OrgUnit
,Person
,Program
,Project
,ProjectTagJCR
,Query
,QueryContainer
,RootAmetysObject
,SimpleAmetysObject
,Site
,Sitemap
,SubProgram
,Survey
,SurveyPage
,SurveyQuestion
,Thesaurus
,VersionAmetysObject
,VersionComponentAmetysObject
,VersionsAmetysObject
public interface RemovableAmetysObject extends AmetysObject
AmetysObject
which can be deleted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
remove()
Removes thisAmetysObject
from the Ametys tree.-
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
-
-
-
-
Method Detail
-
remove
void remove() throws AmetysRepositoryException, RepositoryIntegrityViolationException
Removes thisAmetysObject
from the Ametys tree.- Throws:
AmetysRepositoryException
- if an error occurs.RepositoryIntegrityViolationException
- if thisAmetysObject
is referenced by another objects.
-
-