[jboss-cvs] jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/dao ...
Christian Bauer
christian at hibernate.org
Mon Aug 27 18:22:30 EDT 2007
User: cbauer
Date: 07/08/27 18:22:30
Modified: examples/wiki/src/main/org/jboss/seam/wiki/core/dao
NodeDAO.java
Log:
New file importer infrastructure plus first Zip/Jar file importer
Revision Changes Path
1.20 +5 -0 jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/dao/NodeDAO.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NodeDAO.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/dao/NodeDAO.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- NodeDAO.java 25 Aug 2007 17:59:20 -0000 1.19
+++ NodeDAO.java 27 Aug 2007 22:22:30 -0000 1.20
@@ -220,6 +220,11 @@
}
}
+ public boolean isUniqueWikiname(Long areaNumber, String wikiname) {
+ Node foundNode = findNodeInArea(areaNumber, wikiname, entityManager);
+ return foundNode == null;
+ }
+
public Document findDocument(Long documentId) {
restrictedEntityManager.joinTransaction();
More information about the jboss-cvs-commits
mailing list