This project has retired. For details please refer to its
        
        Attic page.
      
 
org.apache.lenya.cms.publication
Class UniqueDocumentId
java.lang.Object
  
org.apache.lenya.cms.publication.UniqueDocumentId
public class UniqueDocumentId
- extends java.lang.Object
 
class to compute an unique document id for a document, if there is
 already a node in the sitetree for a document with this id. It will
 documentid_"number of version".
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
UniqueDocumentId
public UniqueDocumentId()
computeUniqueDocumentId
public java.lang.String computeUniqueDocumentId(Publication publication,
                                                java.lang.String area,
                                                java.lang.String documentid)
- compute an unique document id
- Parameters:
 publication - The publication the document belongs to.area - The area the document belongs to.documentid - The documentid .
- Returns:
 - the unique documentid
 
 
 
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.