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.


Method Summary
 void delete()
          Removes the link.
 Document getDocument()
           
 java.lang.String getLabel()
           
 java.lang.String getLanguage()
           
 SiteNode getNode()
           
 void setLabel(java.lang.String label)
           
 

Method Detail

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.