org.apache.lenya.cms.publication
Class DublinCoreHelper

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

public final class DublinCoreHelper
extends java.lang.Object

Facade to get the DublinCore through the cms Document


Method Summary
static java.lang.String getDCIdentifier(Publication publication, java.lang.String area, java.lang.String documentId)
          Get the value of the DCIdentifier corresponding to a document id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDCIdentifier

public static java.lang.String getDCIdentifier(Publication publication,
                                               java.lang.String area,
                                               java.lang.String documentId)
                                        throws SiteTreeException,
                                               DocumentBuildException,
                                               DocumentException
Get the value of the DCIdentifier corresponding to a document id.

Parameters:
publication - The publication the document(s) belongs to.
area - The area the document(s) belongs to.
documentId - The document id.
Returns:
a String. The value of the DCIdentifier.
Throws:
SiteTreeException - when something with the sitetree went wrong.
DocumentBuildException - when the building of a document failed.
DocumentException - when something with the document went wrong.


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