Class: SakaiInfo::MissingContentCollection
- Inherits:
-
ContentCollection
- Object
- SakaiObject
- Content
- ContentCollection
- SakaiInfo::MissingContentCollection
- Defined in:
- lib/sakai-info/content.rb
Instance Attribute Summary
Attributes inherited from ContentCollection
Attributes inherited from Content
Attributes inherited from SakaiObject
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id) ⇒ MissingContentCollection
constructor
A new instance of MissingContentCollection.
- #size_on_disk ⇒ Object
Methods inherited from ContentCollection
#child_counts, #children, #children_serialization, count_by_parent, #default_serialization, #detailed_summary_serialization, find!, find_by_parent, find_portfolio_interaction_collections, #full_children_serialization, query_by_parent, #summary_serialization
Methods inherited from Content
all_serializations, #binary_entity, #child_summary_serialization, #default_serialization, #effective_realm, #mod_details_serialization, #mod_serialization, #original_mod_details_serialization, #original_mod_serialization, #parent, #properties_serialization, #realm, #realm_serialization, #summary_serialization
Methods included from ModProps
Methods inherited from SakaiObject
all_serializations, #dbrow_only_serialization, #dbrow_serialization, #default_serialization, descendants, #object_type_serialization, #serialize, #shell_serialization, #summary_serialization, #to_csv, #to_json, #to_yaml
Constructor Details
#initialize(id) ⇒ MissingContentCollection
Returns a new instance of MissingContentCollection.
487 488 489 |
# File 'lib/sakai-info/content.rb', line 487 def initialize(id) @id = id end |
Class Method Details
.clear_cache ⇒ Object
482 483 484 |
# File 'lib/sakai-info/content.rb', line 482 def self.clear_cache @@cache = {} end |
.find(id) ⇒ Object
491 492 493 |
# File 'lib/sakai-info/content.rb', line 491 def self.find(id) @@cache[id] ||= MissingContentCollection.new(id) end |
Instance Method Details
#size_on_disk ⇒ Object
495 496 497 |
# File 'lib/sakai-info/content.rb', line 495 def size_on_disk 0 end |