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

java.lang.Object
  extended byorg.apache.jetspeed.om.registry.base.BaseSecurityAllow
All Implemented Interfaces:
SecurityAllow, java.io.Serializable
Direct Known Subclasses:
BaseSecurityAllowOwner

public class BaseSecurityAllow
extends java.lang.Object
implements SecurityAllow, java.io.Serializable

Interface for manipulatin the Security Allow on the registry entries

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

Constructor Summary
BaseSecurityAllow()
          Creates new BaseSecurityAllow
BaseSecurityAllow(boolean owner)
          Create a new BaseSecurityAllow that sets the owner property
BaseSecurityAllow(long id)
           
 
Method Summary
 java.lang.String getGroup()
          Getter for property group.
 long getId()
           
 java.lang.String getRole()
          Getter for property role.
 java.lang.String getUser()
          Getter for property user.
 boolean isOwner()
          Getter for property owner.
 void setGroup(java.lang.String group)
          Setter for property group.
 void setOwner(boolean owner)
          Setter for property owner.
 void setRole(java.lang.String role)
          Setter for property role.
 void setUser(java.lang.String user)
          Setter for property user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSecurityAllow

public BaseSecurityAllow()
Creates new BaseSecurityAllow


BaseSecurityAllow

public BaseSecurityAllow(long id)

BaseSecurityAllow

public BaseSecurityAllow(boolean owner)
Create a new BaseSecurityAllow that sets the owner property

Parameters:
owner - Set the owner property
Method Detail

getId

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

getRole

public java.lang.String getRole()
Getter for property role.

Specified by:
getRole in interface SecurityAllow
Returns:
Value of property role.

setRole

public void setRole(java.lang.String role)
Setter for property role.

Specified by:
setRole in interface SecurityAllow
Parameters:
role - New value of property role.

getGroup

public java.lang.String getGroup()
Getter for property group.

Specified by:
getGroup in interface SecurityAllow
Returns:
Value of property group.

setGroup

public void setGroup(java.lang.String group)
Setter for property group.

Specified by:
setGroup in interface SecurityAllow

getUser

public java.lang.String getUser()
Getter for property user.

Specified by:
getUser in interface SecurityAllow
Returns:
Value of property user.

setUser

public void setUser(java.lang.String user)
Setter for property user.

Specified by:
setUser in interface SecurityAllow
Parameters:
user - New value of property user.

isOwner

public boolean isOwner()
Getter for property owner.

Specified by:
isOwner in interface SecurityAllow
Returns:
Value of property owner.

setOwner

public void setOwner(boolean owner)
Setter for property owner.

Specified by:
setOwner in interface SecurityAllow
Parameters:
owner - New value of property owner.


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