Class: UU::BinaryStore::BinaryStoreControl
- Inherits:
 - 
      Object
      
        
- Object
 - UU::BinaryStore::BinaryStoreControl
 
 
- Defined in:
 - lib/uu_binarystore/binary_store_control.rb,
lib/uu_binarystore/binary_store_control/binary_store_delete.rb,
lib/uu_binarystore/binary_store_control/binary_store_create.rb,
lib/uu_binarystore/binary_store_control/binary_store_attributes.rb,
lib/uu_binarystore/binary_store_control/binary_store_get_store_list.rb,
lib/uu_binarystore/binary_store_control/binary_store_set_attributes.rb 
Overview
Binary store control service.
Defined Under Namespace
Classes: BinaryStoreAttributes, BinaryStoreCreate, BinaryStoreDelete, BinaryStoreGetStoreList, BinaryStoreSetAttributes
Class Method Summary collapse
- 
  
    
      .create(repository_uri, binary_store)  ⇒ UU::OS::UESURI 
    
    
  
  
  
  
  
  
  
  
  
    
Creates new binary store.
 - 
  
    
      .delete(binary_store_uri, options = {})  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Deletes binary store.
 - 
  
    
      .get_attributes(binary_store_uri)  ⇒ BinaryStoreAttributes 
    
    
  
  
  
  
  
  
  
  
  
    
Returns attributes of the binary store.
 - 
  
    
      .get_store_list(repository_uri, criteria = nil)  ⇒ UU::OS::REST::ResultList<BinaryStoreGetStoreList, BinaryStoreAttributes> 
    
    
  
  
  
  
  
  
  
  
  
    
Returns list of binary stores within given binary store repository.
 - 
  
    
      .set_attributes(binary_store_uri, binary_store)  ⇒ UU::OS::UESURI 
    
    
  
  
  
  
  
  
  
  
  
    
Updates attributes of the binary store.
 
Class Method Details
.create(repository_uri, binary_store) ⇒ UU::OS::UESURI
Creates new binary store.
      48 49 50 51  | 
    
      # File 'lib/uu_binarystore/binary_store_control.rb', line 48 def self.create(repository_uri, binary_store) session = UU::OS::Security::Session.current_session self.new(session).create(UU::OS::UESURI.new(repository_uri), binary_store) end  | 
  
.delete(binary_store_uri, options = {}) ⇒ Object
Deletes binary store.
      69 70 71 72  | 
    
      # File 'lib/uu_binarystore/binary_store_control.rb', line 69 def self.delete(binary_store_uri, = {}) session = UU::OS::Security::Session.current_session self.new(session).delete(UU::OS::UESURI.new(binary_store_uri), ) end  | 
  
.get_attributes(binary_store_uri) ⇒ BinaryStoreAttributes
Returns attributes of the binary store.
      84 85 86 87  | 
    
      # File 'lib/uu_binarystore/binary_store_control.rb', line 84 def self.get_attributes(binary_store_uri) session = UU::OS::Security::Session.current_session self.new(session).get_attributes(UU::OS::UESURI.new(binary_store_uri)) end  | 
  
.get_store_list(repository_uri, criteria = nil) ⇒ UU::OS::REST::ResultList<BinaryStoreGetStoreList, BinaryStoreAttributes>
Returns list of binary stores within given binary store repository.
      148 149 150 151  | 
    
      # File 'lib/uu_binarystore/binary_store_control.rb', line 148 def self.get_store_list(repository_uri, criteria = nil) session = UU::OS::Security::Session.current_session self.new(session).get_store_list(UU::OS::UESURI.new(repository_uri), criteria) end  | 
  
.set_attributes(binary_store_uri, binary_store) ⇒ UU::OS::UESURI
Updates attributes of the binary store.
      122 123 124 125  | 
    
      # File 'lib/uu_binarystore/binary_store_control.rb', line 122 def self.set_attributes(binary_store_uri, binary_store) session = UU::OS::Security::Session.current_session self.new(session).set_attributes(UU::OS::UESURI.new(binary_store_uri), binary_store) end  |