org.apache.lenya.cms.site
Interface Link
- All Known Implementing Classes:
- AbstractLink
public interface Link
A link in the site structure references a document.
A site node contains a link for each translation.
getLanguage
java.lang.String getLanguage()
- Returns:
- The language of this link.
getDocument
Document getDocument()
- Returns:
- The document this link points to.
getNode
SiteNode getNode()
- Returns:
- The node this link belongs to.
getLabel
java.lang.String getLabel()
- Returns:
- The label of this link.
setLabel
void setLabel(java.lang.String label)
- Parameters:
label
- The new label.
delete
void delete()
- Removes the link.
Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.