oracle.dss.persistence.security.common
Class GroupImpl
java.lang.Object
|
+--oracle.dss.persistence.security.common.UserImpl
|
+--oracle.dss.persistence.security.common.GroupImpl
- All Implemented Interfaces:
- Group, java.io.Serializable, User
- public class GroupImpl
- extends UserImpl
- implements Group
Represents a group of users. This class stores information about a group of users of the storage system. You can set privileges for a group by creating an AclEntry
that associates the group with a Privilege
.
- See Also:
AclEntry
, Privilege
, Serialized Form
Constructor Summary |
GroupImpl(java.lang.String name)
Constructor that specifies the name of the group. |
GroupImpl(java.lang.String name, java.lang.String fullName)
Constructor that specifies the name and the full name of the group. |
Method Summary |
boolean |
equals(java.lang.Object obj)
Indicates whether an object is equivalent to this GroupImpl . |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
GroupImpl
public GroupImpl(java.lang.String name,
java.lang.String fullName)
- Constructor that specifies the name and the full name of the group.
-
- Parameters:
name
- The name of this group.
fullName
- The full name of this group.
GroupImpl
public GroupImpl(java.lang.String name)
- Constructor that specifies the name of the group. If you use this constructor, then the full name of the group is an empty
String
.
-
- Parameters:
name
- The name of this group.
equals
public boolean equals(java.lang.Object obj)
- Indicates whether an object is equivalent to this
GroupImpl
. Two groups are equivalent if they have the same name.
-
- Specified by:
equals
in interface User
- Overrides:
equals
in class UserImpl
-
- Parameters:
obj
- The object that you want to compare with this GroupImpl
.
- Returns:
true
if obj
is equivalent to this GroupImpl
, false
if not.
Copyright © 2003, Oracle. All Rights Reserved.