Package org.ametys.plugins.repository
Interface RemovableAmetysObject
-
- All Superinterfaces:
AmetysObject
- All Known Subinterfaces:
CalendarEvent
,CalendarResource
,CommentableContent
,JCRAmetysObject
,JCRTraversableAmetysObject
,ModelAwareJCRAmetysObject
,ModelLessJCRAmetysObject
,ModifiableCalendar
,ModifiableCalendarEvent
,ModifiableContent
,ModifiablePage
,ModifiableResource
,ModifiableResourceCollection
,ModifiableThread
,ModifiableWebContent
,ModifiableWorkflowAwareContent
,ModifiableZone
,ModifiableZoneItem
,ProgramPart
,SharedContent
,Task
,TasksList
,TraversableProgramPart
,WorkflowAwareAmetysObject
,WorkflowAwareContent
- All Known Implementing Classes:
AbstractProgram
,AbstractProgramPart
,AbstractSurveyElement
,AbstractTraversableProgramPart
,AmetysObjectCollection
,Cart
,CartContainer
,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
,JCRCalendarResource
,JCRCategory
,JCRPost
,JCRProjectMember
,JCRResource
,JCRResourcesCollection
,JCRTag
,JCRTask
,JCRTasksList
,JCRThread
,JCRWorkflow
,JCRWorkflowProcess
,KeywordJCR
,ModifiableDefaultContent
,ModifiableDefaultWebContent
,OrgUnit
,Person
,Program
,Project
,ProjectTagJCR
,Query
,QueryContainer
,RootAmetysObject
,SimpleAmetysObject
,Site
,Sitemap
,SubProgram
,Survey
,SurveyPage
,SurveyQuestion
,ThemeJCR
,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.
-
-