org.apache.jetspeed.om.registry.base
Class BaseSecurityAccess

java.lang.Object
  extended byorg.apache.jetspeed.om.registry.base.BaseSecurityAccess
All Implemented Interfaces:
SecurityAccess, java.io.Serializable

public class BaseSecurityAccess
extends java.lang.Object
implements SecurityAccess, java.io.Serializable

Interface for manipulatin the Security Access on the registry entries

Version:
$Id: BaseSecurityAccess.java,v 1.13 2004/07/13 22:59:34 taylor Exp $
Author:
Paul Spencer
See Also:
Serialized Form

Constructor Summary
BaseSecurityAccess()
          Creates new BaseSecurityAccess
BaseSecurityAccess(long id)
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Implements the equals operation so that 2 elements are equal if all their member values are equal.
 java.lang.String getAction()
          Getter for property action.
 java.util.Vector getAllAllows()
          Return a vector contain all allows elements.
 java.util.Vector getAllows()
          Getter for property allows.
 long getId()
           
 java.util.Vector getOwnerAllows()
          Getter for property ownerAllows.
 void setAction(java.lang.String action)
          Setter for property action.
 void setAllows(java.util.Vector allows)
          Setter for property allows.
 void setOwnerAllows(java.util.Vector ownerAllows)
          Setter for property ownerAllows.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSecurityAccess

public BaseSecurityAccess()
Creates new BaseSecurityAccess


BaseSecurityAccess

public BaseSecurityAccess(long id)
Method Detail

getId

public long getId()
Specified by:
getId in interface SecurityAccess

equals

public boolean equals(java.lang.Object object)
Implements the equals operation so that 2 elements are equal if all their member values are equal.


getAction

public java.lang.String getAction()
Getter for property action.

Specified by:
getAction in interface SecurityAccess
Returns:
Value of property action.

setAction

public void setAction(java.lang.String action)
Setter for property action.

Specified by:
setAction in interface SecurityAccess
Parameters:
action - New value of property action.

getAllows

public java.util.Vector getAllows()
Getter for property allows.

Specified by:
getAllows in interface SecurityAccess
Returns:
Value of property allows.

setAllows

public void setAllows(java.util.Vector allows)
Setter for property allows.

Specified by:
setAllows in interface SecurityAccess
Parameters:
allows - New value of property allows.

getOwnerAllows

public java.util.Vector getOwnerAllows()
Getter for property ownerAllows.

Specified by:
getOwnerAllows in interface SecurityAccess
Returns:
Value of property ownerAllows.

setOwnerAllows

public void setOwnerAllows(java.util.Vector ownerAllows)
Setter for property ownerAllows.

Specified by:
setOwnerAllows in interface SecurityAccess
Parameters:
ownerAllows - New value of property ownerAllows.

getAllAllows

public java.util.Vector getAllAllows()
Return a vector contain all allows elements. If the vector is null or empty, then create and populate it with elements from the allows and ownerAllows vectors.

Specified by:
getAllAllows in interface SecurityAccess
Returns:
vector containing all allows


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.