lib/seek/annotation_common.rb
def update_owned_annotations(entity, owner, attr, annotations)
      unless owner.nil?
        entity.tag_annotations_as_user(annotations, attr, owner)
        if immediately_clear_tag_cloud?
          expire_annotation_fragments(attr)
        else
          #TODO: should expire and rebuild in a background task
        end
      end
    end
#Updates tags for a given owner using the params passed through the tagging web interface. This just updates the tags for a given owner, which defaults
#to the current user - it doesn't affect other peoples tags for that item.
Updates tags for a given owner using the params passed through the tagging web interface. This just updates the tags for a given owner, which defaults
to the current user - it doesn't affect other peoples tags for that item.
Updates tags for a given owner using the params passed through the tagging web interface . This just updates the tags for a given owner which defaults to the current user - it doesn ' t affect other peoples tags for that item .
def update_owned_annotations(entity, owner, attr, annotations)
      unless owner.nil?
        entity.tag_annotations_as_user(annotations, attr, owner)
        if immediately_clear_tag_cloud?
          expire_annotation_fragments(attr)
        else
        end
      end
    end
def update_owned_annotations ( entity , owner , attr , annotations ) unless owner . nil? entity . tag_annotations_as_user ( annotations , attr , owner ) if immediately_clear_tag_cloud? expire_annotation_fragments ( attr ) else end end end
Updates tags for a given owner using the params passed through the tagging web interface.
Updates tags for a given owner using the params passed through the tagging web interface .
#TODO: should expire and rebuild in a background task
entity
owner
attr
annotations