You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/12/26 16:43:22 UTC
svn commit: r123359 - /lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java
Author: gregor
Date: Sun Dec 26 07:43:21 2004
New Revision: 123359
URL: http://svn.apache.org/viewcvs?view=rev&rev=123359
Log:
Exposed the Context in the AbstractlUsecase with a getter method
Modified:
lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java
Modified: lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java?view=diff&rev=123359&p1=lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java&r1=123358&p2=lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java&r2=123359
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java Sun Dec 26 07:43:21 2004
@@ -89,6 +89,14 @@
}
/**
+ * Returns the context.
+ * @return A context.
+ */
+ protected Context getContext() {
+ return this.context;
+ }
+
+ /**
* Checks if the operation can be executed and returns the error messages. Error messages
* prevent the operation from being executed.
* @return A boolean value.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org