You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/07/14 00:59:34 UTC
cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/registry/base BaseSecurityAllow.java BaseSecurityAccess.java BaseSecurityEntry.java
taylor 2004/07/13 15:59:34
Modified: src/java/org/apache/jetspeed/om/registry/base
BaseSecurityAllow.java BaseSecurityAccess.java
BaseSecurityEntry.java
Log:
added ids to support updates to persistent store
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.6 +13 -1 jakarta-jetspeed/src/java/org/apache/jetspeed/om/registry/base/BaseSecurityAllow.java
Index: BaseSecurityAllow.java
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/registry/base/BaseSecurityAllow.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- BaseSecurityAllow.java 23 Feb 2004 03:08:26 -0000 1.5
+++ BaseSecurityAllow.java 13 Jul 2004 22:59:34 -0000 1.6
@@ -28,6 +28,8 @@
*/
public class BaseSecurityAllow implements SecurityAllow, java.io.Serializable
{
+ private long id = -1;
+
/** Holds value of property role. */
private String role;
@@ -45,6 +47,16 @@
{
}
+ public BaseSecurityAllow(long id)
+ {
+ this.id = id;
+ }
+
+ public long getId()
+ {
+ return id;
+ }
+
/**
* Create a new BaseSecurityAllow that sets the owner property
*
1.13 +13 -2 jakarta-jetspeed/src/java/org/apache/jetspeed/om/registry/base/BaseSecurityAccess.java
Index: BaseSecurityAccess.java
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/registry/base/BaseSecurityAccess.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- BaseSecurityAccess.java 3 May 2004 22:25:05 -0000 1.12
+++ BaseSecurityAccess.java 13 Jul 2004 22:59:34 -0000 1.13
@@ -32,7 +32,8 @@
*/
public class BaseSecurityAccess implements SecurityAccess, java.io.Serializable
{
-
+ private long id = -1;
+
/** Holds value of property action. */
private String action;
@@ -50,6 +51,16 @@
{
}
+ public BaseSecurityAccess(long id)
+ {
+ this.id = id;
+ }
+
+ public long getId()
+ {
+ return id;
+ }
+
/**
* Implements the equals operation so that 2 elements are equal if
* all their member values are equal.
1.17 +6 -1 jakarta-jetspeed/src/java/org/apache/jetspeed/om/registry/base/BaseSecurityEntry.java
Index: BaseSecurityEntry.java
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/registry/base/BaseSecurityEntry.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- BaseSecurityEntry.java 3 May 2004 22:25:05 -0000 1.16
+++ BaseSecurityEntry.java 13 Jul 2004 22:59:34 -0000 1.17
@@ -70,6 +70,11 @@
public BaseSecurityEntry()
{ }
+ public BaseSecurityEntry(long id)
+ {
+ this.id = id;
+ }
+
/**
* Implements the equals operation so that 2 elements are equal if
* all their member values are equal.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org