lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/publication Document.java
Date Fri, 30 May 2003 14:54:13 GMT
andreas     2003/05/30 07:54:13

  Modified:    src/java/org/apache/lenya/cms/publication Document.java
  Log:
  document has publication + id instead of doctype
  
  Revision  Changes    Path
  1.4       +9 -2      cocoon-lenya/src/java/org/apache/lenya/cms/publication/Document.java
  
  Index: Document.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/publication/Document.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Document.java	28 May 2003 14:40:01 -0000	1.3
  +++ Document.java	30 May 2003 14:54:13 -0000	1.4
  @@ -14,8 +14,15 @@
   public interface Document {
       
       /**
  -     * Returns the document type this document belongs to.
  +     * Returns the document ID of this document.
  +     * @return A URI object.
        */
  -    DocumentType getType();
  +    String getId();
  +
  +    /**
  +     * Returns the publication this document belongs to.
  +     * @return A publication object.
  +     */    
  +    Publication getPublication();
       
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message