|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.link.Link
public class Link
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).
Constructor Summary | |
---|---|
Link()
A constructor for undefined links. |
|
Link(Content content)
Deprecated. Since 5.0 use Link(Node). |
|
Link(javax.jcr.Node node)
|
|
Link(javax.jcr.Property property)
|
|
Link(String workspaceName,
Content parent,
NodeData nodedata)
Deprecated. Since 5.0 use Link(Node). |
Method Summary | |
---|---|
String |
getAnchor()
|
String |
getExtension()
|
String |
getFallbackHandle()
Deprecated. Since 5.0 use Link.getFallbackPath instead. |
String |
getFallbackPath()
|
String |
getFileName()
|
String |
getHandle()
Deprecated. Since 5.0 use Link.getPath instead. |
javax.jcr.Node |
getJCRNode()
|
Content |
getNode()
Deprecated. Since 5.0 use Link.getJCRNode() instead. |
NodeData |
getNodeData()
Deprecated. since 5.0 use Link.getProperty() instead. |
String |
getNodeDataName()
Deprecated. Since 5.0 use Link.getPropertyName() instead. |
String |
getParameters()
|
String |
getPath()
|
javax.jcr.Property |
getProperty()
|
String |
getPropertyName()
|
String |
getRepository()
Deprecated. Since 5.0 use Link.getWorkspace instead. |
String |
getUUID()
|
String |
getWorkspace()
|
Link |
initLink(String workspaceName,
Content parent,
NodeData nodedata)
Deprecated. Since 5.0 use Link(Node). |
boolean |
isEditorBinaryLink()
|
void |
setAnchor(String anchor)
|
void |
setExtension(String extension)
|
void |
setFallbackHandle(String fallbackPath)
Deprecated. Since 5.0 use Link.setFallbackPath instead. |
void |
setFallbackPath(String fallbackPath)
|
void |
setFileName(String fileName)
|
void |
setHandle(String path)
Deprecated. Since 5.0 use Link.setPath instead. |
void |
setJCRNode(javax.jcr.Node jcrNode)
|
void |
setNode(Content node)
Deprecated. since 5.0 use Link.setJCRNode() instead. |
void |
setNodeData(NodeData nodeData)
Deprecated. since 5.0 use Link.setProperty() instead. |
void |
setNodeDataName(String nodeDataName)
Deprecated. Since 5.0 use Link.setPropertyName() instead. |
void |
setParameters(String parameters)
|
void |
setPath(String path)
|
void |
setProperty(javax.jcr.Property property)
|
void |
setPropertyName(String propertyName)
|
void |
setRepository(String repository)
Deprecated. Since 5.0 use Link.setWorkspace instead. |
void |
setUUID(String uuid)
|
void |
setWorkspace(String workspace)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Link()
public Link(Content content)
content
- public Link(javax.jcr.Node node)
node
- public Link(String workspaceName, Content parent, NodeData nodedata)
public Link(javax.jcr.Property property)
Method Detail |
---|
public Link initLink(String workspaceName, Content parent, NodeData nodedata)
workspaceName
- parent
- nodedata
- public String getExtension()
public void setExtension(String extension)
public String getFileName()
public void setFileName(String fileName)
public Content getNode()
public void setNode(Content node)
public javax.jcr.Node getJCRNode()
public void setJCRNode(javax.jcr.Node jcrNode)
public javax.jcr.Property getProperty() throws LinkException
LinkException
public void setProperty(javax.jcr.Property property)
public NodeData getNodeData()
public void setNodeData(NodeData nodeData)
public boolean isEditorBinaryLink()
public String getPropertyName()
public void setPropertyName(String propertyName)
public String getNodeDataName()
public void setNodeDataName(String nodeDataName)
public String getHandle()
public void setHandle(String path)
public String getPath()
public void setPath(String path)
public String getRepository()
public void setRepository(String repository)
public String getWorkspace()
public void setWorkspace(String workspace)
public String getUUID()
public void setUUID(String uuid)
public String getFallbackHandle()
public void setFallbackHandle(String fallbackPath)
public String getFallbackPath()
public void setFallbackPath(String fallbackPath)
public String getAnchor()
public void setAnchor(String anchor)
public String getParameters()
public void setParameters(String parameters)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |