Package | Description |
---|---|
info.magnolia.link |
Modifier and Type | Method and Description |
---|---|
static String |
LinkUtil.convertLinksFromUUIDPattern(String str) |
static String |
LinkUtil.convertLinksFromUUIDPattern(String str,
LinkTransformer transformer)
Converts provided html with links in UUID pattern format to any other kind of links based on provided link transformer.
|
static String |
LinkUtil.convertUUIDtoHandle(String uuid,
String workspaceName)
Transforms a uuid to a handle beginning with a /.
|
static String |
LinkUtil.convertUUIDtoURI(String uuid,
String workspaceName)
Transforms a uuid to an uri.
|
static String |
LinkUtil.createAbsoluteLink(javax.jcr.Property property)
Creates absolute link including context path for provided Property.
|
static String |
LinkUtil.createLink(javax.jcr.Property property)
Creates link guessing best possible link format from current site and provided Property.
|
static Link |
LinkUtil.createLinkInstance(javax.jcr.Property property) |
static Link |
LinkUtil.createLinkInstance(String workspaceName,
String uuid)
Creates link to the content denoted by repository and uuid.
|
static Link |
LinkUtil.createLinkInstance(String workspaceName,
String path,
String extension,
String anchor,
String parameters)
Creates link to the content identified by the repository and path.
|
static Link |
LinkUtil.createLinkInstance(String uuid,
String workspaceName,
String fallbackHandle,
String nodeDataName,
String extension,
String anchor,
String parameters)
Creates link based on provided parameters.
|
javax.jcr.Property |
Link.getProperty() |
static Link |
LinkUtil.parseLink(String link)
Parses provided URI to the link.
|
static Link |
LinkUtil.parseUUIDLink(String uuidLink)
Parses UUID link pattern string and converts it into a Link object.
|
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.