You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2005/11/17 10:09:13 UTC
svn commit: r345212 -
/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/acting/RevisionControllerAction.java
Author: michi
Date: Thu Nov 17 01:09:02 2005
New Revision: 345212
URL: http://svn.apache.org/viewcvs?rev=345212&view=rev
Log:
getDocument added to make content dir configurable
Modified:
lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/acting/RevisionControllerAction.java
Modified: lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/acting/RevisionControllerAction.java
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/acting/RevisionControllerAction.java?rev=345212&r1=345211&r2=345212&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/acting/RevisionControllerAction.java (original)
+++ lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/acting/RevisionControllerAction.java Thu Nov 17 01:09:02 2005
@@ -48,7 +48,8 @@
private RevisionController rc = null;
private String username = null;
private String filename = null;
-
+ private Document document = null;
+
/**
* DOCUMENT ME!
*
@@ -80,7 +81,6 @@
PageEnvelope envelope = null;
Publication publication = null;
- Document document = null;
try {
envelope = PageEnvelopeFactory.getInstance().getPageEnvelope(objectModel);
@@ -173,6 +173,16 @@
}
/**
+ * Get the Document
+ *
+ * @return the document
+ */
+ protected Document getDocument() {
+ return document;
+ }
+
+ /**
+ * @deprecated getDocument()
* Get the filename.
*
* @return the filename
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org