Uses of Class
com.spotfire.server.api.userdir.SpotfirePrincipal
Packages that use SpotfirePrincipal
Package
Description
Package containing API for modifying users and groups in the server.
-
Uses of SpotfirePrincipal in com.spotfire.server.api.userdir
Subclasses of SpotfirePrincipal in com.spotfire.server.api.userdirModifier and TypeClassDescriptionclassRepresents a group principal (a principal that may contain other principals).classRepresents a user principal.Methods in com.spotfire.server.api.userdir with type parameters of type SpotfirePrincipalModifier and TypeMethodDescriptionabstract <T extends SpotfirePrincipal>
TUserDirectory.setDisplayName(T principal, String displayName) Sets the display name for the given principal (user or group).abstract <T extends SpotfirePrincipal>
TUserDirectory.setEmailAddress(T principal, String emailAddress) Sets the e-mail address for the given principal (user or group).abstract <T extends SpotfirePrincipal>
TSets the name for the given principal (user or group).Methods in com.spotfire.server.api.userdir that return SpotfirePrincipalModifier and TypeMethodDescriptionNoSuchPrincipalException.getPrincipal()Returns the missing principal.Methods in com.spotfire.server.api.userdir that return types with arguments of type SpotfirePrincipalModifier and TypeMethodDescriptionabstract Set<SpotfirePrincipal> UserDirectory.getMembers(GroupPrincipal group) Returns the immediate members (users or groups) of the given group.Methods in com.spotfire.server.api.userdir with parameters of type SpotfirePrincipalModifier and TypeMethodDescriptionabstract voidUserDirectory.addMember(GroupPrincipal group, SpotfirePrincipal principal) Adds the given principal (user or group) to the given group.abstract booleanUserDirectory.deletePrincipal(SpotfirePrincipal principal) Deletes the given principal (user or group), if it exists.abstract Set<GroupPrincipal> UserDirectory.getAncestorGroups(SpotfirePrincipal principal) Returns the groups that the given principal (user or group) is an immediate or inherited member of.abstract Set<GroupPrincipal> UserDirectory.getParentGroups(SpotfirePrincipal principal) Returns the groups that the given principal (user or group) is an immediate member of.abstract booleanUserDirectory.isMember(GroupPrincipal group, SpotfirePrincipal principal) Returns true if the given principal (user or group) is a member (immediate or inherited) of the given group.abstract booleanUserDirectory.removeMember(GroupPrincipal group, SpotfirePrincipal principal) Removes the given principal (user or group) from the given group if it exists and is a member of the group.abstract voidUserDirectory.setParentGroups(SpotfirePrincipal principal, Collection<GroupPrincipal> groups) Sets the groups that the given principal (user or group) should be an immediate member of.Method parameters in com.spotfire.server.api.userdir with type arguments of type SpotfirePrincipalModifier and TypeMethodDescriptionabstract voidUserDirectory.addMembers(GroupPrincipal group, Collection<? extends SpotfirePrincipal> principals) Adds the given principals (users or groups) to the given group.abstract booleanUserDirectory.deletePrincipals(Collection<? extends SpotfirePrincipal> principals) Deletes the given principals (users or groups), if they exist.abstract booleanUserDirectory.removeMembers(GroupPrincipal group, Collection<? extends SpotfirePrincipal> principals) Removes the given principals (users or groups) from the given group.abstract voidUserDirectory.setMembers(GroupPrincipal group, Collection<? extends SpotfirePrincipal> principals) Sets the given principals (users or groups) as members of the given group.