org.apache.lenya.cms.publication
Class PublicationHelper

java.lang.Object
  extended by org.apache.lenya.cms.publication.PublicationHelper

public final class PublicationHelper
extends java.lang.Object

Version:
$Id: PublicationHelper.java 473841 2006-11-12 00:46:38Z gregor $

Constructor Summary
PublicationHelper(Publication publication)
           
 
Method Summary
 Document[] getAllDocuments(java.lang.String area)
          Returns all documents of a publication (all language versions).
 Document[] getAllDocuments(java.lang.String area, java.lang.String language)
          Returns all documents of a publication.
 Publication getPublication()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicationHelper

public PublicationHelper(Publication publication)
Method Detail

getAllDocuments

public Document[] getAllDocuments(java.lang.String area,
                                  java.lang.String language)
                           throws DocumentException
Returns all documents of a publication.

Parameters:
area -
Returns:
Throws:
DocumentException
See Also:
Document, Publication

getAllDocuments

public Document[] getAllDocuments(java.lang.String area)
                           throws DocumentException
Returns all documents of a publication (all language versions).

Parameters:
area -
Returns:
Throws:
DocumentException
See Also:
Document, Publication

getPublication

public Publication getPublication()
Returns:
Returns the publication.


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.