public function delete($typeId, $status) { $this->deleteGroupAssignmentsForType($typeId, $status); $this->deleteFieldDefinitionsForType($typeId, $status); $this->deleteTypeNameData($typeId, $status); $this->deleteType($typeId, $status); }