info.magnolia.module.samples.model
Class InternalLinkModel
java.lang.Object
info.magnolia.rendering.model.RenderingModelImpl<RenderableDefinition>
info.magnolia.module.samples.model.InternalLinkModel
- All Implemented Interfaces:
- RenderingModel<RenderableDefinition>
public class InternalLinkModel
- extends RenderingModelImpl<RenderableDefinition>
Resolving internal links, either identifier or path link.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InternalLinkModel
public InternalLinkModel(javax.jcr.Node content,
RenderableDefinition definition,
RenderingModel<?> parent)
getTarget
public ContentMap getTarget()
throws javax.jcr.ValueFormatException,
javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException
- Throws:
javax.jcr.ValueFormatException
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
getTargetLink
public String getTargetLink()
throws javax.jcr.ValueFormatException,
javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException
- Throws:
javax.jcr.ValueFormatException
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.