info.magnolia.cms.link
Class LinkHelper

java.lang.Object
  extended by info.magnolia.link.LinkUtil
      extended by info.magnolia.cms.link.LinkHelper

Deprecated. since 4.0 use instead

public class LinkHelper
extends LinkUtil

This class is deprecated.


Field Summary
 
Fields inherited from class info.magnolia.link.LinkUtil
DEFAULT_EXTENSION, DEFAULT_REPOSITORY, EXTERNAL_LINK_PATTERN, LINK_OR_IMAGE_PATTERN
 
Constructor Summary
LinkHelper()
          Deprecated.  
 
Method Summary
static String convertAbsolutePathToUUID(String path)
          Deprecated. use LinkFactory.parseLink(String).getUUID() instead
static UUIDLink convertURIToUUIDLink(String uri)
          Deprecated.  
 
Methods inherited from class info.magnolia.link.LinkUtil
addParameter, convertAbsoluteLinksToUUIDs, convertLinksFromUUIDPattern, convertLinksFromUUIDPattern, convertUUIDtoHandle, convertUUIDtoURI, createAbsoluteLink, createAbsoluteLink, createAbsoluteLink, createExternalLink, createLink, createLink, createLink, isExternalLinkOrAnchor, isInternalRelativeLink, makePathRelative, mapPathToRepository
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkHelper

public LinkHelper()
Deprecated. 
Method Detail

convertURIToUUIDLink

public static UUIDLink convertURIToUUIDLink(String uri)
                                     throws LinkException
Deprecated. 
Throws:
LinkException

convertAbsolutePathToUUID

public static String convertAbsolutePathToUUID(String path)
                                        throws LinkException
Deprecated. use LinkFactory.parseLink(String).getUUID() instead

Converts provided path to an uuid.

Parameters:
path - path to the page
Returns:
the uuid
Throws:
LinkException - When node described by provided path doesn't exists or can't be retrieved.


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.