info.magnolia.link
Class Link

java.lang.Object
  extended by 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

Constructor Summary
Link()
          A constructor for undefined links.
Link(Content content)
           
Link(String repoName, Content parent, NodeData nodedata)
           
 
Method Summary
 String getAnchor()
           
 String getExtension()
           
 String getFallbackHandle()
           
 String getFileName()
           
 String getHandle()
           
 Content getNode()
           
 NodeData getNodeData()
           
 String getNodeDataName()
           
 String getParameters()
           
 String getRepository()
           
 String getUUID()
           
 boolean isEditorBinaryLink()
           
 void setAnchor(String anchor)
           
 void setExtension(String extension)
           
 void setFallbackHandle(String fallbackPath)
           
 void setFileName(String fileName)
           
 void setHandle(String path)
           
 void setNode(Content node)
           
 void setNodeData(NodeData nodeData)
           
 void setNodeDataName(String nodeDataName)
           
 void setParameters(String parameters)
           
 void setRepository(String repository)
           
 void setUUID(String uuid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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-2013 Magnolia International Ltd.. All Rights Reserved.