[jboss-cvs] jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model ...

Christian Bauer christian at hibernate.org
Sat Aug 25 18:35:14 EDT 2007


  User: cbauer  
  Date: 07/08/25 18:35:14

  Modified:    examples/wiki/src/main/org/jboss/seam/wiki/core/model  
                        Document.java Node.java
  Log:
  blogDirectory plugin is now recursion-safe
  
  Revision  Changes    Path
  1.14      +11 -0     jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model/Document.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Document.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model/Document.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- Document.java	17 Aug 2007 13:00:24 -0000	1.13
  +++ Document.java	25 Aug 2007 22:35:13 -0000	1.14
  @@ -50,6 +50,9 @@
       @org.hibernate.annotations.LazyCollection(org.hibernate.annotations.LazyCollectionOption.EXTRA)
       private List<Comment> comments;
   
  +    @Column(table = "NODE_DOCUMENT", name = "PLUGINS_USED", nullable = false)
  +    private String pluginsUsed;
  +
       public Document() {
           super("New Document");
           content = "Edit this text..."; // Don't know why the interactive preview doesn't work without content
  @@ -101,6 +104,14 @@
           return comments;
       }
   
  +    public String getPluginsUsed() {
  +        return pluginsUsed;
  +    }
  +
  +    public void setPluginsUsed(String pluginsUsed) {
  +        this.pluginsUsed = pluginsUsed;
  +    }
  +
       public void addChild(Node child) {
           throw new UnsupportedOperationException("Documents can't have children");
       }
  
  
  
  1.18      +1 -1      jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model/Node.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Node.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model/Node.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- Node.java	25 Aug 2007 17:59:23 -0000	1.17
  +++ Node.java	25 Aug 2007 22:35:13 -0000	1.18
  @@ -285,7 +285,7 @@
               "areaNumber", "createdBy", "createdOn", "lastModifiedBy", "lastModifiedOn", "menuItem", "name", "displayPosition", 
               "readAccessLevel", "revision", "wikiname", "writeAccessLevel",
               "contentType", "filename", "filesize", "imageMetaInfo.sizeX", "imageMetaInfo.sizeY", "imageMetaInfo.thumbnail", "imageMetaInfo.thumbnailData",
  -            "defaultDocument", "enableComments", "enableCommentForm", "nameAsTitle",
  +            "defaultDocument", "enableComments", "enableCommentForm", "nameAsTitle", "pluginsUsed",
           };
       }
   
  
  
  



More information about the jboss-cvs-commits mailing list