Class TagsImpl

  • All Implemented Interfaces:
    Tags

    public class TagsImpl
    extends java.lang.Object
    implements Tags
    Centralises access to tag services and maps between representations.
    Since:
    publicapi1.0
    Author:
    steveglover
    • Constructor Summary

      Constructors 
      Constructor Description
      TagsImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Tag> addTags​(java.lang.String nodeId, java.util.List<Tag> tags)  
      Tag changeTag​(org.alfresco.service.cmr.repository.StoreRef storeRef, java.lang.String tagId, Tag tag)  
      void deleteTag​(java.lang.String nodeId, java.lang.String tagId)  
      Tag getTag​(java.lang.String tagId)  
      Tag getTag​(org.alfresco.service.cmr.repository.StoreRef storeRef, java.lang.String tagId)  
      CollectionWithPagingInfo<Tag> getTags​(java.lang.String nodeId, Parameters params)  
      CollectionWithPagingInfo<Tag> getTags​(org.alfresco.service.cmr.repository.StoreRef storeRef, Parameters params)  
      void setNodes​(Nodes nodes)  
      void setTaggingService​(org.alfresco.service.cmr.tagging.TaggingService taggingService)  
      void setTypeConstraint​(org.alfresco.util.TypeConstraint typeConstraint)  
      org.alfresco.service.cmr.repository.NodeRef validateTag​(java.lang.String tagId)  
      org.alfresco.service.cmr.repository.NodeRef validateTag​(org.alfresco.service.cmr.repository.StoreRef storeRef, java.lang.String tagId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TagsImpl

        public TagsImpl()
    • Method Detail

      • setTypeConstraint

        public void setTypeConstraint​(org.alfresco.util.TypeConstraint typeConstraint)
      • setNodes

        public void setNodes​(Nodes nodes)
      • setTaggingService

        public void setTaggingService​(org.alfresco.service.cmr.tagging.TaggingService taggingService)
      • addTags

        public java.util.List<Tag> addTags​(java.lang.String nodeId,
                                           java.util.List<Tag> tags)
        Specified by:
        addTags in interface Tags
      • deleteTag

        public void deleteTag​(java.lang.String nodeId,
                              java.lang.String tagId)
        Specified by:
        deleteTag in interface Tags
      • validateTag

        public org.alfresco.service.cmr.repository.NodeRef validateTag​(java.lang.String tagId)
      • validateTag

        public org.alfresco.service.cmr.repository.NodeRef validateTag​(org.alfresco.service.cmr.repository.StoreRef storeRef,
                                                                       java.lang.String tagId)
      • changeTag

        public Tag changeTag​(org.alfresco.service.cmr.repository.StoreRef storeRef,
                             java.lang.String tagId,
                             Tag tag)
        Specified by:
        changeTag in interface Tags
      • getTag

        public Tag getTag​(java.lang.String tagId)
      • getTag

        public Tag getTag​(org.alfresco.service.cmr.repository.StoreRef storeRef,
                          java.lang.String tagId)
        Specified by:
        getTag in interface Tags