info.magnolia.link
Class Link

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

Constructor Summary
Link()
          A constructor for undefined links.
Link(Content content)
           
Link(java.lang.String repoName, Content parent, NodeData nodedata)
           
 
Method Summary
 java.lang.String getAnchor()
           
 java.lang.String getExtension()
           
 java.lang.String getFallbackHandle()
           
 java.lang.String getFileName()
           
 java.lang.String getHandle()
           
 Content getNode()
           
 NodeData getNodeData()
           
 java.lang.String getNodeDataName()
           
 java.lang.String getParameters()
           
 java.lang.String getRepository()
           
 java.lang.String getUUID()
           
 void setAnchor(java.lang.String anchor)
           
 void setExtension(java.lang.String extension)
           
 void setFallbackHandle(java.lang.String fallbackPath)
           
 void setFileName(java.lang.String fileName)
           
 void setHandle(java.lang.String path)
           
 void setNode(Content node)
           
 void setNodeData(NodeData nodeData)
           
 void setNodeDataName(java.lang.String nodeDataName)
           
 void setParameters(java.lang.String parameters)
           
 void setRepository(java.lang.String repository)
           
 void setUUID(java.lang.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(java.lang.String repoName,
            Content parent,
            NodeData nodedata)
Method Detail

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.