org.apache.lenya.cms.site.tree2
Class DelegatingLink
java.lang.Object
org.apache.lenya.cms.site.AbstractLink
org.apache.lenya.cms.site.tree2.DelegatingLink
- All Implemented Interfaces:
- org.apache.lenya.cms.site.Link
public class DelegatingLink
- extends org.apache.lenya.cms.site.AbstractLink
Site tree link which delegates all operations to a shared link.
Constructor Summary |
DelegatingLink(org.apache.lenya.cms.publication.DocumentFactory factory,
DelegatingNode node,
java.lang.String label,
java.lang.String language)
|
Methods inherited from class org.apache.lenya.cms.site.AbstractLink |
equals, getDocument, getLabel, getLanguage, getNode, hashCode, save, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DelegatingLink
public DelegatingLink(org.apache.lenya.cms.publication.DocumentFactory factory,
DelegatingNode node,
java.lang.String label,
java.lang.String language)
- Parameters:
factory
- The document factory.node
- The node which this link belongs to.label
- The label.language
- The language.
delete
public void delete()
setLabel
public void setLabel(java.lang.String label)
- Specified by:
setLabel
in interface org.apache.lenya.cms.site.Link
- Overrides:
setLabel
in class org.apache.lenya.cms.site.AbstractLink
Copyright © $ Apache Software Foundation. All Rights Reserved.