info.magnolia.link
Class Link
java.lang.Object
info.magnolia.link.Link
public class Link
- extends java.lang.Object
Representation of the link to a content in Magnolia CMS. The target for the link might be a content (page, paragraph) or the node data (binary file).
- Author:
- had
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Link
public Link()
- A constructor for undefined links. (i.e linking to a nonexistent page, for instance)
Link
public Link(Content content)
- Parameters:
content
-
Link
public Link(java.lang.String repoName,
Content parent,
NodeData nodedata)
getExtension
public java.lang.String getExtension()
setExtension
public void setExtension(java.lang.String extension)
getFileName
public java.lang.String getFileName()
setFileName
public void setFileName(java.lang.String fileName)
getNode
public Content getNode()
setNode
public void setNode(Content node)
getNodeData
public NodeData getNodeData()
setNodeData
public void setNodeData(NodeData nodeData)
getNodeDataName
public java.lang.String getNodeDataName()
setNodeDataName
public void setNodeDataName(java.lang.String nodeDataName)
getHandle
public java.lang.String getHandle()
setHandle
public void setHandle(java.lang.String path)
getRepository
public java.lang.String getRepository()
setRepository
public void setRepository(java.lang.String repository)
getUUID
public java.lang.String getUUID()
setUUID
public void setUUID(java.lang.String uuid)
getFallbackHandle
public java.lang.String getFallbackHandle()
setFallbackHandle
public void setFallbackHandle(java.lang.String fallbackPath)
getAnchor
public java.lang.String getAnchor()
setAnchor
public void setAnchor(java.lang.String anchor)
getParameters
public java.lang.String getParameters()
setParameters
public void setParameters(java.lang.String parameters)
Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.