com.novell.admin.rbs
Class RBSRights

java.lang.Object
  |
  +--com.novell.admin.rbs.RBSRights

public class RBSRights
extends java.lang.Object

Class that represents the rights of Roles and Tasks


Constructor Summary
RBSRights()
          Constructor.
RBSRights(ObjectACLFacade facade)
          Constructor.
RBSRights(java.lang.String subject, java.lang.String attr, long privileges)
          Constructor.
 
Method Summary
 boolean equals(RBSRights rights)
          Checks for equivalence of two RBSRights objects
 long getPrivileges()
          Gets the privilege set of the rights relation.
 java.lang.String getProtectedAttrName()
          Gets the protected attribute name of the rights relation.
 java.lang.String getSubjectName()
          Gets the subject Name of the rights relation.
 void setPrivileges(long privileges)
          Sets the privileges of the rights relation.
 void setProtectedAttrName(java.lang.String name)
          Sets the protected atrribute Name of the rights relation.
 void setSubjectName(java.lang.String name)
          Sets the subject Name of the rights relation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RBSRights

public RBSRights()
Constructor.

RBSRights

public RBSRights(java.lang.String subject,
                 java.lang.String attr,
                 long privileges)
Constructor.
Parameters:
subject - The subject
attr - The protected attr such as [Entry Rights]
privileges - long representing the privilege set.

RBSRights

public RBSRights(ObjectACLFacade facade)
Constructor.
Parameters:
facade - ObjectACLFacade object.
Method Detail

getSubjectName

public java.lang.String getSubjectName()
Gets the subject Name of the rights relation.
Returns:
String representing the subject name.

setSubjectName

public void setSubjectName(java.lang.String name)
Sets the subject Name of the rights relation.
Parameters:
String - representing the subject name.

getProtectedAttrName

public java.lang.String getProtectedAttrName()
Gets the protected attribute name of the rights relation.
Returns:
String representing the attr name.

setProtectedAttrName

public void setProtectedAttrName(java.lang.String name)
Sets the protected atrribute Name of the rights relation.
Parameters:
String - representing the protected atrribute name.

getPrivileges

public long getPrivileges()
Gets the privilege set of the rights relation.
Returns:
long representing the privileges.

setPrivileges

public void setPrivileges(long privileges)
Sets the privileges of the rights relation.
Parameters:
privileges - Long representing the privileges.

equals

public boolean equals(RBSRights rights)
Checks for equivalence of two RBSRights objects
Parameters:
rights - RBSRights object to see if equivelent to this RBSRights object
Returns:
true if are equivalent, false otherwise.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.