Package expedient :: Package clearinghouse :: Package aggregate :: Package tests :: Module models :: Class DummyAggregate
[hide private]
[frames] | no frames]

Class DummyAggregate

source code


DummyAggregate(id, leaf_name, module_name, name, logo, description, location, available, aggregate_ptr_id)

Nested Classes [hide private]
  DoesNotExist
  Extend
  MultipleObjectsReturned

Inherited from models.Aggregate: Meta

Inherited from common.extendable.models.Extendable: __metaclass__

Instance Methods [hide private]
 
create_resources(self) source code
 
stop_slice(self, slice)
Take out the resource reservation from the aggregates.
source code
 
_base_manager(...)
 
objects(...)

Inherited from models.Aggregate: __unicode__, add_to_project, add_to_slice, add_to_user, check_status, delete, get_delete_url, get_edit_url, get_logo_url, remove_from_project, remove_from_slice, remove_from_user, save, start_slice

Inherited from models.Aggregate (private): _get_managers, _get_slice_set

Inherited from common.extendable.models.Extendable: __init__, as_leaf_class, is_instance_of

Inherited from django.db.models.base.Model: __eq__, __hash__, __ne__, __reduce__, __repr__, __str__, clean, clean_fields, date_error_message, full_clean, prepare_database_save, save_base, serializable_value, unique_error_message, validate_unique

Inherited from django.db.models.base.Model (private): _collect_sub_objects, _get_FIELD_display, _get_next_or_previous_by_FIELD, _get_next_or_previous_in_order, _get_pk_val, _get_unique_checks, _perform_date_checks, _perform_unique_checks, _set_pk_val

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from models.Aggregate: get_aggregates_url, get_create_url, get_url_name_prefix

Class Variables [hide private]
  _default_manager = <expedient.common.extendable.models.Extenda...
  _meta = <Options for DummyAggregate>
  aggregate_ptr = <django.db.models.fields.related.ReverseSingle...

Inherited from models.Aggregate: dummyaggregate, geniaggregate, information, openflowaggregate, resource_set

Inherited from common.extendable.models.Extendable: leaf_name, module_name

Inherited from django.db.models.base.Model (private): _deferred

Instance Variables [hide private]

Inherited from models.Aggregate: available, description, location, logo, managers, name, slice_set

Properties [hide private]

Inherited from django.db.models.base.Model: pk

Inherited from object: __class__

Method Details [hide private]

stop_slice(self, slice)

source code 

Take out the resource reservation from the aggregates.

Subclasses overriding this method should call the parent class to ensure permission checks.

Overrides: models.Aggregate.stop_slice
(inherited documentation)

_base_manager(...)

 
Overrides: models.Aggregate._base_manager

objects(...)

 
Overrides: common.extendable.models.Extendable.objects

Class Variable Details [hide private]

_default_manager

Value:
<expedient.common.extendable.models.ExtendableManager object at 0x9a54\
56c>

aggregate_ptr

Value:
<django.db.models.fields.related.ReverseSingleRelatedObjectDescriptor \
object at 0x9a5444c>