public class RestApiLinkCreator extends Object
Constructor and Description |
---|
RestApiLinkCreator() |
Modifier and Type | Method and Description |
---|---|
Link |
convert(ResourceContext context,
String uuid,
HstLink hstLink) |
public Link convert(ResourceContext context, String uuid, HstLink hstLink)
context
- the ResourceContextuuid
- the UUID of the node for which the hstLink
was created. When the hstLink
is a
container resource (HstLink.isContainerResource()
, the uuid
is allowed to be null
hstLink
- the hstLink
for uuid
. If null
, a Link.invalid
is returnedCopyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.