|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mit.stellar.api.group.AbstractSGroupM
public abstract class AbstractSGroupM
AbstractSGroupM. Base class for convenient implementations of SGroupMs.
| Constructor Summary | |
|---|---|
AbstractSGroupM()
|
|
| Method Summary | |
|---|---|
abstract boolean |
addMember(java.security.Principal member)
|
java.security.Principal |
getAdministrator()
Get the "Administrator" (user or group) of this group. |
java.lang.String |
getDescription()
localized description explaining this group. |
java.lang.String |
getGroupId()
Id for this group. |
java.lang.String |
getGroupManagerId()
Id of the manager/provider for this group, for system configuration. |
java.lang.String |
getName()
|
java.security.Principal |
getOwner()
Get the "Owner" (user or group) of this group. |
abstract java.util.Set<java.security.Principal> |
getPrincipalSet()
Get the set of Principals in this group. |
java.lang.String |
getTitle()
Short, localized, human-readable title or display name for this group. |
protected abstract UserIdentityManager |
getUserIdentityManager()
Implementations must provide a UserIdentityManager, usually by injection. |
abstract boolean |
isMember(java.security.Principal member)
|
abstract java.util.Enumeration<? extends java.security.Principal> |
members()
|
abstract boolean |
removeMember(java.security.Principal member)
|
void |
setAdministrator(java.security.Principal administrator)
|
void |
setDescription(java.lang.String description)
|
void |
setGroupId(java.lang.String id)
|
void |
setGroupManagerId(java.lang.String groupManagerId)
|
void |
setName(java.lang.String name)
|
void |
setOwner(java.security.Principal owner)
|
void |
setTitle(java.lang.String title)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
|---|
equals, hashCode, toString |
| Constructor Detail |
|---|
public AbstractSGroupM()
| Method Detail |
|---|
public java.lang.String getGroupId()
SGroup
getGroupId in interface SGrouppublic void setGroupId(java.lang.String id)
setGroupId in interface SGroupMid - the id to setpublic java.lang.String getGroupManagerId()
SGroup
getGroupManagerId in interface SGrouppublic void setGroupManagerId(java.lang.String groupManagerId)
setGroupManagerId in interface SGroupMgroupManagerId - the groupManagerId to setpublic java.lang.String getName()
getName in interface java.security.Principalpublic void setName(java.lang.String name)
setName in interface SGroupMname - the name to setpublic java.lang.String getTitle()
SGroup
getTitle in interface SGrouppublic void setTitle(java.lang.String title)
setTitle in interface SGroupMtitle - the title to setpublic java.lang.String getDescription()
SGroup
getDescription in interface SGrouppublic void setDescription(java.lang.String description)
setDescription in interface SGroupMdescription - the description to setpublic java.security.Principal getOwner()
SGroup
getOwner in interface SGrouppublic void setOwner(java.security.Principal owner)
setOwner in interface SGroupMowner - the owner to setpublic java.security.Principal getAdministrator()
SGroup
getAdministrator in interface SGrouppublic void setAdministrator(java.security.Principal administrator)
setAdministrator in interface SGroupMadministrator - the administrator to setprotected abstract UserIdentityManager getUserIdentityManager()
public abstract java.util.Set<java.security.Principal> getPrincipalSet()
SGroup
getPrincipalSet in interface SGrouppublic abstract boolean addMember(java.security.Principal member)
addMember in interface SGroupaddMember in interface java.security.acl.Groupjava.security.act.Group#addMember(java.security.Principal)public abstract boolean isMember(java.security.Principal member)
isMember in interface java.security.acl.Grouppublic abstract java.util.Enumeration<? extends java.security.Principal> members()
members in interface java.security.acl.Grouppublic abstract boolean removeMember(java.security.Principal member)
removeMember in interface SGroupremoveMember in interface java.security.acl.Groupjava.security.act.Group#removeMember(java.security.Principal)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||