Bases: watcher.objects.base.WatcherObject
Create a Action record in the DB.
Parameters: | context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: Action(context) |
---|
Delete the Action from the DB.
Parameters: | context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: Action(context) |
---|
Find a action based on its id or uuid and return a Action object.
Parameters: | action_id – the id or uuid of a action. |
---|---|
Returns: | a Action object. |
Find a action based on its integer id and return a Action object.
Parameters: | action_id – the id of a action. |
---|---|
Returns: | a Action object. |
Find a action based on uuid and return a Action object.
Parameters: |
|
---|---|
Returns: | a Action object. |
Return a list of Action objects.
Parameters: |
|
---|---|
Returns: | a list of Action object. |
Loads updates for this Action.
Loads a action with the same uuid from the database and checks for updated attributes. Updates are applied from the loaded action column by column, if there are any updates.
Parameters: | context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: Action(context) |
---|
Save updates to this Action.
Updates will be made column by column based on the result of self.what_changed().
Parameters: | context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: Action(context) |
---|
soft Delete the Audit from the DB.
Parameters: | context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: Audit(context) |
---|