.. _label-uc-service-remove: Remove a Service *********************************************************************** Short Description ----------------------------------------------------------------------- A service is removed from system. Actor(s) ----------------------------------------------------------------------- Officer Trigger(s) ----------------------------------------------------------------------- - Imports (removing existing data) - Web form(s) submitted by authorized user Result(s) ----------------------------------------------------------------------- - The given service and all connected data (contracts, etc.) were removed from the system. - All removed data is archived. Incoming Data ----------------------------------------------------------------------- - Service ID Outgoing Data ----------------------------------------------------------------------- - Message about service removal - Log message - Archive entry Precondition(s) ----------------------------------------------------------------------- - Service ID must exist. - Submitting user must be authorized to perform the operation. Postcondition(s) ----------------------------------------------------------------------- Invariant(s) ----------------------------------------------------------------------- A service cannot be removed from the system while still contracts connected to it exist in the system. Essential Steps ----------------------------------------------------------------------- - System checks service ID validity. - System checks whether any contracts created by the requested service are still in use in the system and cancels operation if so. - Removed data is archived. - System removes the given service. Open Issues ----------------------------------------------------------------------- Remarks ----------------------------------------------------------------------- .. raw:: latex \