You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/04/11 17:33:10 UTC
svn commit: r527524 - in /lenya/trunk/src:
java/org/apache/lenya/cms/publication/util/
modules/collection/java/src/org/apache/lenya/modules/collection/
Author: andreas
Date: Wed Apr 11 08:33:09 2007
New Revision: 527524
URL: http://svn.apache.org/viewvc?view=rev&rev=527524
Log:
[Refactoring] moved Collection interface to collection module
Added:
lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/Collection.java
- copied, changed from r527520, lenya/trunk/src/java/org/apache/lenya/cms/publication/util/Collection.java
Removed:
lenya/trunk/src/java/org/apache/lenya/cms/publication/util/Collection.java
Modified:
lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/CollectionWrapper.java
Copied: lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/Collection.java (from r527520, lenya/trunk/src/java/org/apache/lenya/cms/publication/util/Collection.java)
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/Collection.java?view=diff&rev=527524&p1=lenya/trunk/src/java/org/apache/lenya/cms/publication/util/Collection.java&r1=527520&p2=lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/Collection.java&r2=527524
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/publication/util/Collection.java (original)
+++ lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/Collection.java Wed Apr 11 08:33:09 2007
@@ -18,7 +18,7 @@
/* $Id$ */
-package org.apache.lenya.cms.publication.util;
+package org.apache.lenya.modules.collection;
import org.apache.lenya.cms.publication.Document;
import org.apache.lenya.cms.publication.DocumentException;
Modified: lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/CollectionWrapper.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/CollectionWrapper.java?view=diff&rev=527524&r1=527523&r2=527524
==============================================================================
--- lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/CollectionWrapper.java (original)
+++ lenya/trunk/src/modules/collection/java/src/org/apache/lenya/modules/collection/CollectionWrapper.java Wed Apr 11 08:33:09 2007
@@ -31,7 +31,6 @@
import org.apache.lenya.cms.publication.Document;
import org.apache.lenya.cms.publication.DocumentBuildException;
import org.apache.lenya.cms.publication.DocumentException;
-import org.apache.lenya.cms.publication.util.Collection;
import org.apache.lenya.xml.DocumentHelper;
import org.apache.lenya.xml.NamespaceHelper;
import org.apache.xpath.XPathAPI;
@@ -78,21 +77,21 @@
}
/**
- * @see org.apache.lenya.cms.publication.util.Collection#getDocuments()
+ * @see org.apache.lenya.modules.collection.Collection#getDocuments()
*/
public Document[] getDocuments() throws DocumentException {
return (Document[]) documents().toArray(new Document[documents().size()]);
}
/**
- * @see org.apache.lenya.cms.publication.util.Collection#add(org.apache.lenya.cms.publication.Document)
+ * @see org.apache.lenya.modules.collection.Collection#add(org.apache.lenya.cms.publication.Document)
*/
public void add(Document document) throws DocumentException {
documents().add(document);
}
/**
- * @see org.apache.lenya.cms.publication.util.Collection#add(int,
+ * @see org.apache.lenya.modules.collection.Collection#add(int,
* org.apache.lenya.cms.publication.Document)
*/
public void add(int position, Document document) throws DocumentException {
@@ -100,7 +99,7 @@
}
/**
- * @see org.apache.lenya.cms.publication.util.Collection#remove(org.apache.lenya.cms.publication.Document)
+ * @see org.apache.lenya.modules.collection.Collection#remove(org.apache.lenya.cms.publication.Document)
*/
public void remove(Document document) throws DocumentException {
if (!documents().contains(document)) {
@@ -275,21 +274,21 @@
}
/**
- * @see org.apache.lenya.cms.publication.util.Collection#contains(org.apache.lenya.cms.publication.Document)
+ * @see org.apache.lenya.modules.collection.Collection#contains(org.apache.lenya.cms.publication.Document)
*/
public boolean contains(Document document) throws DocumentException {
return documents().contains(document);
}
/**
- * @see org.apache.lenya.cms.publication.util.Collection#clear()
+ * @see org.apache.lenya.modules.collection.Collection#clear()
*/
public void clear() throws DocumentException {
documents().clear();
}
/**
- * @see org.apache.lenya.cms.publication.util.Collection#getFirstPosition(org.apache.lenya.cms.publication.Document)
+ * @see org.apache.lenya.modules.collection.Collection#getFirstPosition(org.apache.lenya.cms.publication.Document)
*/
public int getFirstPosition(Document document) throws DocumentException {
load();
@@ -301,7 +300,7 @@
}
/**
- * @see org.apache.lenya.cms.publication.util.Collection#size()
+ * @see org.apache.lenya.modules.collection.Collection#size()
*/
public int size() throws DocumentException {
return documents().size();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org