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 2003/08/15 15:12:31 UTC
cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/workflow CMSSituation.java
andreas 2003/08/15 06:12:31
Modified: src/java/org/apache/lenya/cms/workflow CMSSituation.java
Log:
add identity to situation
Revision Changes Path
1.6 +21 -1 cocoon-lenya/src/java/org/apache/lenya/cms/workflow/CMSSituation.java
Index: CMSSituation.java
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/workflow/CMSSituation.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- CMSSituation.java 9 Jul 2003 13:44:52 -0000 1.5
+++ CMSSituation.java 15 Aug 2003 13:12:31 -0000 1.6
@@ -56,6 +56,7 @@
package org.apache.lenya.cms.workflow;
import org.apache.lenya.cms.ac.Role;
+import org.apache.lenya.cms.ac2.Identity;
import org.apache.lenya.workflow.Situation;
@@ -91,4 +92,23 @@
public String toString() {
return "(roles: " + roles + ")";
}
+
+ private Identity identity;
+
+ /**
+ * Returns the identity.
+ * @return An identity.
+ */
+ public Identity getIdentity() {
+ return identity;
+ }
+
+ /**
+ * Sets the identity.
+ * @param identity An identity.
+ */
+ public void setIdentity(Identity identity) {
+ this.identity = identity;
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org