Package wt.federation
Class ProxyGroup
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._Item
wt.fc.Item
wt.org._WTPrincipal
wt.org.WTPrincipal
wt.org._WTGroup
wt.org.WTGroup
wt.federation._ProxyGroup
wt.federation.ProxyGroup
- All Implemented Interfaces:
Externalizable,Serializable,Principal,wt.access._AccessControlled,wt.access._AccessControlList,wt.access._AdHocControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.AccessControlList,AdHocControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,wt.fc.BusinessInformation,NetFactor,ObjectMappable,Persistable,_Federated,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,Federated,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,DisplayIdentification,wt.inf.container._WTContained,WTContained,RemoteAccess,wt.recent.RecentlyVisited,wt.type._ConstraintFilterable,wt.type._TypeManaged,wt.type.ConstraintFilterable,wt.type.TypeManaged,wt.ufid._Federatable,wt.ufid.Federatable
@GenAsPersistable(superClass=WTGroup.class,
interfaces={RemoteAccess.class,Federated.class},
versions=663689764899607902L)
public class ProxyGroup
extends _ProxyGroup
Proxy group of users.
Use the newProxyGroup static factory method(s), not the
ProxyGroup constructor, to construct instances of this class.
Instances must be constructed using the static factory(s), in order
to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from interface wt.federation._Federated
SERVICE_ID -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddMember(WTPrincipal principal) Adds a member to the group.booleanisMember(WTPrincipal principal)
Supported API: truemembers()
Supported API: truebooleanremoveMember(WTPrincipal principal) Removes a member from the group.Methods inherited from class wt.federation._ProxyGroup
getServiceId, setServiceIdMethods inherited from class wt.org.WTGroup
addMembers, getBusinessType, getUniqueDisplayIdentifier, initialize, initialize, newWTGroup, newWTGroup, newWTGroup, parentGroups, parentGroupsMethods inherited from class wt.org.WTPrincipal
cloneAsInflated, getName, getOrganization, getPrincipalDisplayIdentifierMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
isMember
Supported API: true- Overrides:
isMemberin classWTGroup- Parameters:
principal-- Returns:
- boolean
- Throws:
WTException
-
members
Supported API: true- Overrides:
membersin classWTGroup- Returns:
- Enumeration
- Throws:
WTException
-
addMember
Adds a member to the group. Returns true if user is added; false if user already belongs to group.
Supported API: true- Overrides:
addMemberin classWTGroup- Parameters:
principal-- Returns:
- boolean
- Throws:
WTException
-
removeMember
Removes a member from the group. Returns true if user is removed; false if user doesn't belong to group.
Supported API: true- Overrides:
removeMemberin classWTGroup- Parameters:
principal-- Returns:
- boolean
- Throws:
WTException
-