Returns the link definition of the link used to connect to the given busname

@return VirtualLinkDefinition
182496
public VirtualLinkDefinition getLinkDefinition(String busName)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "getLinkDefinition", busName);

        ForeignBusDefinition foreignBus = messageProcessor.getForeignBus(busName);

        VirtualLinkDefinition link = null;

        if (foreignBus != null && foreignBus.hasLink())
        {
            try
            {
                link = foreignBus.getLink();
            } catch (SIBExceptionNoLinkExists e)
            {
                // SIBExceptionNoLinkExists shouldn't occur so FFDC.
                FFDCFilter.processException(
                                            e,
                                            "com.ibm.ws.sib.processor.impl.DestinationManager.getLinkDefinition",
                                            "1:1951:1.508.1.7",
                                            this);

                SibTr.exception(tc, e);
            }
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "getLinkDefinition", link);

        return link;
    }
1243506
public function getLink()
    {
        return ($this->_link === null) ? Yii::$app->menu->buildItemLink($this->alias, $this->getLang()) : $this->_link;
    }
392928
public ConnectionLink getConnectionLink(VirtualConnection vc) {
        HttpInboundLink link = (HttpInboundLink) vc.getStateMap().get(CallbackIDs.CALLBACK_HTTPICL);
        if (null == link) {
            link = new HttpInboundLink(this, vc);
        }
        return link;
    }
521170
public function getLinkURL()
     {
         if (!$this->ID) {
             return;
         }
         $type = $this->Type;
         switch ($type) {
            case 'URL':
                $LinkURL = $this->URL;
                break;
            case 'Email':
                $LinkURL = $this->Email ? "mailto:$this->Email" : null;
                break;
            case 'Phone':
                $phone = $this->obj('Phone')->PhoneFriendly();
                $LinkURL = $phone ? "tel:$phone" : null;
                break;
            case 'File':
            case 'SiteTree':
                if ($type && $component = $this->getComponent($type)) {
                    if (!$component->exists()) {
                        $LinkURL = false;
                    }
                    if ($component->hasMethod('Link')) {
                        $LinkURL = $component->Link() . $this->Anchor;
                    } else {
                        $LinkURL = "Please implement a Link() method on your dataobject \"$type\"";
                    }
                }
                break;
            default:
                $LinkURL = false;
                break;
         }

         $this->extend('updateLinkURL', $LinkURL);
         return $LinkURL;
     }
1186773
public function getLink($presenterName, $parameters = array())
	{
		$url = new \Nette\Http\UrlScript($this->context->parameters['selenium']['baseUrl']);
		$url->scriptPath = $url->path;
		$appRequest = new \Nette\Application\Request($presenterName, 'GET', Utils::strToArray($parameters));
		return $this->context->router->constructUrl($appRequest, $url);
	}
1360223
public function getEditLink() {
        if(!empty($this->urlParams['OtherID']) && is_numeric($this->urlParams['OtherID'])) {
            return $this->LinkWithSearch('admin/codeBank/show/'.$this->currentPageID().'/'.intval($this->urlParams['OtherID']));
        }
        
        return $this->LinkWithSearch('admin/codeBank/show/'.$this->currentPageID());
    }
777530
public function getEntityNameLink()
    {
        if ($this->hasEntityLink() && !$this->EntityLinkDisabled) {
            
            $target = $this->OpenEntityLinkInNewTab ? ' target="_blank"' : '';
            
            return sprintf(
                '<a href="%s" rel="nofollow"%s>%s</a>',
                $this->EntityLink,
                $target,
                $this->EntityName
            );
            
        }
        
        return $this->EntityName;
    }
641457
public function getBasketLink()
    {
        if ($this->getAmazonLoginIsActive() === true) {
            $sValue = $this->getViewConfigParam('basketlink');

            if ((string)$sValue === '') {
                $sValue = $this->_getContainer()->getConfig()->getShopSecureHomeUrl().'cl=basket';
                $this->setViewConfigParam('basketlink', $sValue);
            }

            return $sValue;
        }

        return parent::getBasketLink();
    }
185368
public function AbsoluteLink()
    {
        if ($this->failover->hasMethod('AbsoluteLink')) {
            return $this->failover->AbsoluteLink();
        } else {
            if ($this->failover->hasMethod('Link')) {
                return Director::absoluteURL($this->failover->Link());
            }
        }

        throw new BadMethodCallException(
            get_class($this->failover) . " object has neither an AbsoluteLink nor a Link method." . " Can't put a link in the RSS feed",
            E_USER_WARNING
        );
    }
287729
public function getMetaAbsoluteLink()
    {
        if ($this->owner->hasMethod('AbsoluteLink')) {
            return $this->owner->AbsoluteLink();
        } elseif ($this->owner->AbsoluteLink) {
            return $this->owner->AbsoluteLink;
        }
    }
141985
public function toRouteDefinitionDetail()
    {
        $routes = [];

        foreach ($this->paths as $path) {
            $routes[] = [
                'verb' => $path->verb,
                'path' => $path->path,
                'uses' => $this->uses,
                'as' => $path->as,
                'middleware' => array_merge($this->getClassMiddlewareForPath($path)->all(), $path->middleware, $this->middleware),
                'where' => $path->where,
                'domain' => $path->domain,
            ];
        }

        return $routes;
    }
1022790
public function CMSEditLink()
    {
        $link = Controller::join_links(
            CMSPageEditController::singleton()->Link('show'),
            $this->ID
        );
        return Director::absoluteURL($link);
    }
464385
public function getToBasketLink()
    {
        if ($this->_sToBasketLink == null) {
            $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

            if (\OxidEsales\Eshop\Core\Registry::getUtils()->isSearchEngine()) {
                $this->_sToBasketLink = $this->getLink();
            } else {
                // and assign special article values
                $this->_sToBasketLink = $myConfig->getShopHomeUrl();

                // override some classes as these should never showup
                $actControllerId = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestControllerId();
                if ($actControllerId == 'thankyou') {
                    $actControllerId = 'basket';
                }
                $this->_sToBasketLink .= 'cl=' . $actControllerId;

                // this is not very correct
                if ($sActCat = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('cnid')) {
                    $this->_sToBasketLink .= '&amp;cnid=' . $sActCat;
                }

                $this->_sToBasketLink .= '&amp;fnc=tobasket&amp;aid=' . $this->getId() . '&amp;anid=' . $this->getId();

                if ($sTpl = basename(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('tpl'))) {
                    $this->_sToBasketLink .= '&amp;tpl=' . $sTpl;
                }
            }
        }

        return $this->_sToBasketLink;
    }
593604
public function getChannelDescriptor()
    {
        $descriptor = self::TECHNOLOGY .'/' .$this->target;

        if (null !== $this->provider) {
            $descriptor .= '@' .$this->provider;
        }

        return $descriptor;
    }
6547
protected function getPrevLink()
    {
        if(!($sCall = $this->xPaginator->getPrevCall()))
        {
            return '';
        }
        return $this->xTemplate->render('pagination::links/prev',
            ['call' => $sCall, 'text' => $this->xPaginator->getPreviousText()]);
    }
523917
public BaseDestinationDefinition getSIBDestination(String busName, String name) throws SIBExceptionBase, SIBExceptionDestinationNotFound {

        String thisMethodName = "getSIBDestination";

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            SibTr.entry(tc, thisMethodName, new Object[] { busName, name });
        }

        BaseDestinationDefinition bdd = null;
        if (oldDestCache == null) {
            bdd = (BaseDestinationDefinition) _bus.getDestinationCache().getSIBDestination(busName, name).clone();
        } else {
            bdd = (BaseDestinationDefinition) oldDestCache.getSIBDestination(busName, name).clone();
        }

        // Resolve Exception Destination if necessary
        resolveExceptionDestination(bdd);

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            SibTr.exit(tc, thisMethodName, bdd);
        }

        return bdd;
    }
1207733
@Override
    public ConnectionLink getConnectionLink(VirtualConnection vc) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            Tr.entry(tc, "getConnectionLink");
        }

        // add this new connection link to the next in-use list based on
        // the atomic index, the extra add/mod handles the negative values
        int index = ((this.inUseIndex.getAndIncrement() % SIZE_IN_USE) + SIZE_IN_USE) % SIZE_IN_USE;

        TCPConnLink connLink = new TCPConnLink(vc, this, this.config, index);
        this.inUse[index].add(connLink);

        // assign default ConnectionType and unique ConnectionHandle to new inbound
        // connection
        // ConnectionType may seem redundant, but is used on some platforms to
        // identify
        // more than just inbound/outbound flow.
        ConnectionType.setDefaultVCConnectionType(vc);
        ConnectionHandle.getConnectionHandle(vc);

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            Tr.exit(tc, "getConnectionLink: " + connLink);
        }
        return connLink;
    }