Package org.ametys.cms.repository
Interface TaggableAmetysObject
-
- All Superinterfaces:
AmetysObject
,TagAwareAmetysObject
- All Known Subinterfaces:
CommentableContent
,ModifiableContent
,ModifiablePage
,ModifiableWebContent
,ModifiableWorkflowAwareContent
,SharedContent
- All Known Implementing Classes:
AbstractProgram
,AbstractProgramPart
,AbstractTraversableProgramPart
,Container
,Course
,CourseList
,CoursePart
,DefaultPage
,DefaultSharedContent
,ModifiableDefaultContent
,ModifiableDefaultWebContent
,OrgUnit
,Person
,Program
,SubProgram
public interface TaggableAmetysObject extends TagAwareAmetysObject
A modifiable tag aware
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
tag(String tag)
Tags.void
untag(String tag)
Untags.-
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
-
Methods inherited from interface org.ametys.cms.repository.TagAwareAmetysObject
getTags
-
-
-
-
Method Detail
-
tag
void tag(String tag) throws AmetysRepositoryException
Tags.- Parameters:
tag
- the tag to add.- Throws:
AmetysRepositoryException
- if an error occurs.
-
untag
void untag(String tag) throws AmetysRepositoryException
Untags.- Parameters:
tag
- the tag to remove.- Throws:
AmetysRepositoryException
- if an error occurs.
-
-