/**
         * set shipping method as default
         * @return Object
         */
        public function procShopToolSetShippingMethodAsDefault()
		{
			$name = Context::get('name');
			if(!$name)
			{
				return new Object(-1, 'msg_invalid_request');
			}

			$shipping_repository = new ShippingMethodRepository();
			try
			{
				$shipping_repository->setDefault($name, $this->module_srl);
				$this->setMessage('success_registed');
			}
			catch(ArgumentException $e)
			{
				$this->setError(-1);
				$this->setMessage($e->getMessage());
			}
			catch(DbQueryException $e)
			{
				$this->setError(-1);
				$this->setMessage('db_query_failed');
			}
			catch(Exception $e)
			{
				$this->setError(-1);
				$this->setMessage('fail_to_update');
			}

			$vid = Context::get('vid');
			$returnUrl = getNotEncodedUrl('', 'vid', $vid, 'act', 'dispShopToolManageShippingMethods');
			$this->setRedirectUrl($returnUrl);
		}