Class: FilesMgrBase

Inherits:
Object
  • Object
show all
Defined in:
lib/glue_envs/files_mgr_base.rb

Overview

persistent layer helper classes/modules can go here

Instance Method Summary collapse

Constructor Details

#initialize(glue_env, node_key_value) ⇒ FilesMgrBase

persistent layer class initialization code persistent layer accessors

Raises:

  • (NotImplementedError)


11
12
13
14
# File 'lib/glue_envs/files_mgr_base.rb', line 11

def initialize(glue_env, node_key_value)
   #persistent layer object creation
   raise NotImplementedError
end

Instance Method Details

#add(node, file_datas) ⇒ Object

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/glue_envs/files_mgr_base.rb', line 16

def add(node, file_datas)
  raise NotImplementedError
end

#add_raw_data(node, attach_name, content_type, raw_data, file_modified_at = nil) ⇒ Object

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/glue_envs/files_mgr_base.rb', line 20

def add_raw_data(node, attach_name, content_type, raw_data, file_modified_at = nil)
  raise NotImplementedError
end

#get_attachments_metadata(node) ⇒ Object

Raises:

  • (NotImplementedError)


24
25
26
# File 'lib/glue_envs/files_mgr_base.rb', line 24

def (node)
  raise NotImplementedError
end

#get_raw_data(node, file_basename) ⇒ Object

Raises:

  • (NotImplementedError)


28
29
30
# File 'lib/glue_envs/files_mgr_base.rb', line 28

def get_raw_data(node, file_basename)
  raise NotImplementedError
end

#list(node) ⇒ Object

Raises:

  • (NotImplementedError)


32
33
34
# File 'lib/glue_envs/files_mgr_base.rb', line 32

def list(node)
  raise NotImplementedError
end

#subtract(node, file_basenames) ⇒ Object

Raises:

  • (NotImplementedError)


36
37
38
# File 'lib/glue_envs/files_mgr_base.rb', line 36

def subtract(node, file_basenames)
  raise NotImplementedError
end

#subtract_all(node) ⇒ Object

can be called from subtract using :all instead of a list of file_basenames

Raises:

  • (NotImplementedError)


40
41
42
# File 'lib/glue_envs/files_mgr_base.rb', line 40

def subtract_all(node) #can be called from subtract using :all instead of a list of file_basenames
  raise NotImplementedError
end

#subtract_some(node, file_basenames) ⇒ Object

Raises:

  • (NotImplementedError)


44
45
46
# File 'lib/glue_envs/files_mgr_base.rb', line 44

def subtract_some(node, file_basenames)
  raise NotImplementedError
end