info.magnolia.link
Class Link
java.lang.Object
info.magnolia.link.Link
public class Link
- extends 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(String repoName,
Content parent,
NodeData nodedata)
getExtension
public String getExtension()
setExtension
public void setExtension(String extension)
getFileName
public String getFileName()
setFileName
public void setFileName(String fileName)
getNode
public Content getNode()
setNode
public void setNode(Content node)
getNodeData
public NodeData getNodeData()
setNodeData
public void setNodeData(NodeData nodeData)
isEditorBinaryLink
public boolean isEditorBinaryLink()
getNodeDataName
public String getNodeDataName()
setNodeDataName
public void setNodeDataName(String nodeDataName)
getHandle
public String getHandle()
setHandle
public void setHandle(String path)
getRepository
public String getRepository()
setRepository
public void setRepository(String repository)
getUUID
public String getUUID()
setUUID
public void setUUID(String uuid)
getFallbackHandle
public String getFallbackHandle()
setFallbackHandle
public void setFallbackHandle(String fallbackPath)
getAnchor
public String getAnchor()
setAnchor
public void setAnchor(String anchor)
getParameters
public String getParameters()
setParameters
public void setParameters(String parameters)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.