Module: Schron::Repository::Interface

Includes:
Archive::Interface
Included in:
IdentityMapRepository, Schron::Repository
Defined in:
lib/schron/repository/interface.rb

Instance Method Summary collapse

Methods included from Archive::Interface

#dump_all, #first, #get, #identity, #insert, #load_all, #multi_get, #multi_insert, #query

Instance Method Details

#dump(object) ⇒ Object

Raises:

  • (NotImplementedError)


25
26
27
# File 'lib/schron/repository/interface.rb', line 25

def dump(object)
  raise NotImplementedError
end

#load(attributes) ⇒ Object

Raises:

  • (NotImplementedError)


29
30
31
# File 'lib/schron/repository/interface.rb', line 29

def load(attributes)
  raise NotImplementedError
end

#multi_remove(ids) ⇒ Object

Raises:

  • (NotImplementedError)


21
22
23
# File 'lib/schron/repository/interface.rb', line 21

def multi_remove(ids)
  raise NotImplementedError
end

#multi_update(objects) ⇒ Object

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/schron/repository/interface.rb', line 13

def multi_update(objects)
  raise NotImplementedError
end

#remove(id) ⇒ Object

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/schron/repository/interface.rb', line 17

def remove(id)
  raise NotImplementedError
end

#update(object) ⇒ Object

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/schron/repository/interface.rb', line 9

def update(object)
  raise NotImplementedError
end