Package comodit_client :: Package api :: Module importer :: Class UpdateEntity

Class UpdateEntity


Entity update action.

Instance Methods
 
__init__(self, res_object, entity_type)
Updates an existing entity.
 
execute(self)
Executes this action.
string
get_summary(self)
Provides a description of this action.

Inherited from Action: conflict, display

Inherited from object: __long__, __native__, __nonzero__, __unicode__, next

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, res_object, entity_type)
(Constructor)

 

Updates an existing entity.

Parameters:
  • res_object (Entity) - The entity to update.
  • entity_type (string) - Entity type.
Overrides: object.__init__

execute(self)

 

Executes this action.

Overrides: Action.execute
(inherited documentation)

get_summary(self)

 

Provides a description of this action.

Returns: string
A description of this action.
Overrides: Action.get_summary
(inherited documentation)