Class: ActiveFedora::File

Inherits:
Object
  • Object
show all
Defined in:
lib/wings/setup.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.default_sort_paramsObject



47
48
49
# File 'lib/wings/setup.rb', line 47

def self.default_sort_params
  ["system_create_dtsi asc"]
end

.propertiesObject



43
44
45
# File 'lib/wings/setup.rb', line 43

def self.properties
  .properties
end

.supports_property?(property) ⇒ Boolean

Returns:

  • (Boolean)


38
39
40
41
# File 'lib/wings/setup.rb', line 38

def self.supports_property?(property)
  return true if ['pcdm_use'].include?(property.to_s)
  properties.key?(property.to_s)
end

Instance Method Details

#pcdm_useObject



51
52
53
# File 'lib/wings/setup.rb', line 51

def pcdm_use
  .type
end

#pcdm_use=(value) ⇒ Object



55
56
57
# File 'lib/wings/setup.rb', line 55

def pcdm_use=(value)
  .type = value
end