Use a service dependency when you want a service's status to depend on other service(s) status(es). More...
Public Member Functions | |
validate_object () | |
Make sure user-input is sane prior to invoking save/glue_objects. | |
compute_master_obj_id () | |
Compute the master object id. | |
prepare_draw () | |
Prepare this object for drawing in the gui. | |
get_cmd_bar_links () | |
Returns a list of actions that are legal for this object type. | |
Data Fields | |
$type = 'servicedependency' | |
object type | |
$master_obj_type = 'service' | |
master object type | |
$master_obj_identifier = 'dependent_service' | |
Variable in this object identifying the master object. |
Use a service dependency when you want a service's status to depend on other service(s) status(es).
servicedependency_class::compute_master_obj_id | ( | ) |
Compute the master object id.
Reimplemented from object_class.
servicedependency_class::validate_object | ( | ) |
Make sure user-input is sane prior to invoking save/glue_objects.
service and dependent_service can legally be the same in 'new' if the user hasn't changed anything. This is the call for us to remove the 'new' object from the list.
Reimplemented from object_class.