Sha256: ca9828e61fa1f147c9241f1730d099fa2481141b048d22818dfa2ac0d891a08a

Contents?: true

Size: 1.77 KB

Versions: 22

Compression:

Stored size: 1.77 KB

Contents

module Exlibris
  module Primo
    module WebService
      module Request
        # 
        # Abstract class for eshelf interaction
        # 
        class Eshelf < UserBase
          self.add_base_elements :folder_id
          self.abstract = true
          self.has_client
        end

        # 
        # Abstract class for eshelf record interaction
        # 
        class EshelfRecord < Eshelf
          self.add_base_elements :doc_id
          self.abstract = true
        end

        # 
        # Abstract class for eshelf structure interaction
        # 
        class EshelfStructure < Eshelf
          self.add_base_elements :include_basket_items
          self.has_client
          self.abstract = true
        end

        # 
        # Get eshelf structure from Primo for a specified user
        # 
        class GetEshelfStructure < EshelfStructure; end

        # 
        # Get eshelf from Primo for a specified user
        # 
        class GetEshelf < Eshelf
          self.add_base_elements :get_delivery
        end

        # 
        # Add given record to Primo for a specified user
        # 
        class AddToEshelf < EshelfRecord
          self.add_base_elements :searchkey
          self.remove_base_elements :folder_id
        end

        # 
        # Remove given record from Primo for a specified user
        # 
        class RemoveFromEshelf < EshelfRecord; end

        # 
        # Add given folder name to Primo for a specified user
        # 
        class AddFolderToEshelf < Eshelf
          self.add_base_elements :folder_name, :parent_folder
          self.remove_base_elements :folder_id
        end

        # 
        # Remove given folder from Primo for a specified user
        # 
        class RemoveFolderFromEshelf < Eshelf; end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

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