- All Superinterfaces:
AmetysObject, VersionAwareAmetysObject
- All Known Subinterfaces:
ModifiableDataAwareVersionableAmetysObject
- All Known Implementing Classes:
AbstractProgram, AbstractProgramPart, AbstractTraversableProgramPart, Cart, Container, Course, CourseList, CoursePart, DefaultAmetysObject, DefaultContent, DefaultLockableAmetysObject, DefaultSharedContent, DefaultWebContent, DefaultWorkflowAwareContent, JCRCalendarResource, JCRPost, JCRProjectMember, JCRResource, JCRTask, ModifiableDefaultContent, ModifiableDefaultWebContent, OrgUnit, Person, Program, Query, SubProgram
-
Method Summary
void
Add a label on this object.
void
void
Remove a label from this object.
If the label doesn't exist, it is silently ignored.
void
Restore data from the specified label.
void
Restore data from the specified revision.
-
Method Details
-
-
-
-
addLabel
Add a label on this object.
- Parameters:
label - the label to add.
moveIfPresent - what to do if the content already has this label : move it to the current revision if true, keep it unchanged if false.
- Throws:
AmetysRepositoryException - if some problem arises.
-
removeLabel
Remove a label from this object.
If the label doesn't exist, it is silently ignored.
- Parameters:
label - the label to remove
- Throws:
AmetysRepositoryException - if some problem arises.