Interface LockableAmetysObject
- All Superinterfaces:
AmetysObject
,LockAwareAmetysObject
- All Known Subinterfaces:
ModifiableResource
- All Known Implementing Classes:
AbstractProgram
,AbstractProgramPart
,AbstractTraversableProgramPart
,Container
,Course
,CourseList
,CoursePart
,DefaultLockableAmetysObject
,JCRResource
,ModifiableDefaultContent
,ModifiableDefaultWebContent
,OrgUnit
,Person
,Program
,SubProgram
AmetysObject
that can be locked.-
Method Summary
Modifier and TypeMethodDescriptionvoid
lock()
Locks thisAmetysObject
void
unlock()
Unlocks thisAmetysObject
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
Methods inherited from interface org.ametys.plugins.repository.lock.LockAwareAmetysObject
getLockOwner, isLocked
-
Method Details
-
lock
Locks thisAmetysObject
- Throws:
AmetysRepositoryException
- if a problem occurs
-
unlock
Unlocks thisAmetysObject
- Throws:
AmetysRepositoryException
- if a problem occurs
-