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
public interface LockableAmetysObject extends LockAwareAmetysObject
AmetysObject
that can be locked.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
lock
void lock() throws AmetysRepositoryException
Locks thisAmetysObject
- Throws:
AmetysRepositoryException
- if a problem occurs
-
unlock
void unlock() throws AmetysRepositoryException
Unlocks thisAmetysObject
- Throws:
AmetysRepositoryException
- if a problem occurs
-
-