Sha256: 027d3e1abdea5cd68ed365cf242dd0d4891df81f25d548de9ab82a48ead8cc7b

Contents?: true

Size: 1.23 KB

Versions: 24

Compression:

Stored size: 1.23 KB

Contents

module Exlibris
  module Primo
    module WebService
      module Request
        # 
        # Abstract class for tags interaction
        # 
        class Tags < UserRecord
          self.abstract = true
          self.has_client
        end

        # 
        # Get tags from from Primo for a specified user
        # and record
        # 
        class GetTags < Tags; end

        # 
        # Get all tags for a specified user from Primo
        # 
        class GetAllMyTags < Tags
          self.remove_base_elements :doc_id
        end

        # 
        # Get tags for a specified record from Primo
        # 
        class GetTagsForRecord < Tags
          self.remove_base_elements :user_id
        end

        # 
        # Add given tag to Primo for a specified record and user
        # 
        class AddTag < Tags
          self.add_base_elements :value
        end

        # 
        # Remove given tag from Primo for a specified record and user
        # 
        class RemoveTag < Tags
          self.add_base_elements :value
        end

        # 
        # Remove all tags from Primo for a specified user
        # 
        class RemoveUserTags < Tags
          self.remove_base_elements :doc_id
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
exlibris-primo-2.1.1 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-2.1.0 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-2.0.0 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.1.9 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.1.8 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.1.7 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.1.6 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.1.5 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.1.4 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.1.3 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.1.2 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.1.1 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.1.0 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.0.11 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.0.10 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.0.9 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.0.8 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.0.7 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.0.6 lib/exlibris/primo/web_service/request/tags.rb
exlibris-primo-1.0.5 lib/exlibris/primo/web_service/request/tags.rb