Modifier and Type | Interface and Description |
---|---|
interface |
GroupWithAttributes
Represents a group with attributes.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<Group> |
GroupComparator.GROUP_COMPARATOR |
Modifier and Type | Method and Description |
---|---|
Group |
CrowdService.addGroup(Group group)
Adds a
group to the directory store. |
Group |
CrowdService.getGroup(String name)
Finds the
group that matches the supplied name . |
Group |
CrowdService.updateGroup(Group group)
Updates the
group . |
Modifier and Type | Method and Description |
---|---|
Group |
CrowdService.addGroup(Group group)
Adds a
group to the directory store. |
boolean |
CrowdService.addGroupToGroup(Group childGroup,
Group parentGroup)
Adds a group as a member of a parent group.
|
boolean |
CrowdService.addUserToGroup(User user,
Group group)
Adds a user as a member of a group.
|
int |
GroupComparator.compare(Group group1,
Group group2) |
int |
Group.compareTo(Group o)
CompareTo must be compatible with the equals() and hashCode() methods
|
static int |
GroupComparator.compareTo(Group group1,
Group group2) |
static boolean |
GroupComparator.equal(Group group1,
Group group2)
Checks whether the two Group objects are equal according to the contract of the
Group interface. |
static boolean |
GroupComparator.equalsObject(Group group,
Object o) |
static int |
GroupComparator.hashCode(Group group) |
boolean |
CrowdService.isGroupDirectGroupMember(Group childGroup,
Group parentGroup)
Determines if a group is a direct member of another group.
|
boolean |
CrowdService.isGroupMemberOfGroup(Group childGroup,
Group parentGroup)
Returns
true if the childGroup is a direct or indirect (nested) member of the parentGroup . |
boolean |
CrowdService.isUserDirectGroupMember(User user,
Group group)
Determines if a user is a direct member of a group.
|
boolean |
CrowdService.isUserMemberOfGroup(User user,
Group group)
Returns
true if the user is a direct or indirect (nested) member of the group. |
void |
CrowdService.removeAllGroupAttributes(Group group)
Removes all group attributes.
|
boolean |
CrowdService.removeGroup(Group group)
Removes the
group that matches the supplied name . |
void |
CrowdService.removeGroupAttribute(Group group,
String attributeName)
Removes all the values for a single attribute key for a group.
|
boolean |
CrowdService.removeGroupFromGroup(Group childGroup,
Group parentGroup)
Removes a group as a member of a parent group.
|
boolean |
CrowdService.removeUserFromGroup(User user,
Group group)
Removes a user as a member of a group.
|
void |
CrowdService.setGroupAttribute(Group group,
String attributeName,
Set<String> attributeValues)
Adds or updates a group's attributes with the new
attributes . |
void |
CrowdService.setGroupAttribute(Group group,
String attributeName,
String attributeValue)
Adds or updates a group's attributes with the new attributes.
|
Group |
CrowdService.updateGroup(Group group)
Updates the
group . |
Modifier and Type | Method and Description |
---|---|
Group |
CrowdServiceImpl.addGroup(Group group) |
Group |
CrowdServiceImpl.getGroup(String name) |
Group |
CrowdServiceImpl.updateGroup(Group group) |
Modifier and Type | Method and Description |
---|---|
Group |
CrowdServiceImpl.addGroup(Group group) |
boolean |
CrowdServiceImpl.addGroupToGroup(Group childGroup,
Group parentGroup) |
boolean |
CrowdServiceImpl.addUserToGroup(User user,
Group group) |
boolean |
CrowdServiceImpl.isGroupDirectGroupMember(Group childGroup,
Group parentGroup) |
boolean |
CrowdServiceImpl.isGroupMemberOfGroup(Group childGroup,
Group parentGroup) |
boolean |
CrowdServiceImpl.isUserDirectGroupMember(User user,
Group group) |
boolean |
CrowdServiceImpl.isUserMemberOfGroup(User user,
Group group) |
void |
CrowdServiceImpl.removeAllGroupAttributes(Group group) |
boolean |
CrowdServiceImpl.removeGroup(Group group) |
void |
CrowdServiceImpl.removeGroupAttribute(Group group,
String attributeName) |
boolean |
CrowdServiceImpl.removeGroupFromGroup(Group childGroup,
Group parentGroup) |
boolean |
CrowdServiceImpl.removeUserFromGroup(User user,
Group group) |
void |
CrowdServiceImpl.setGroupAttribute(Group group,
String attributeName,
Set<String> attributeValues) |
void |
CrowdServiceImpl.setGroupAttribute(Group group,
String attributeName,
String attributeValue) |
Group |
CrowdServiceImpl.updateGroup(Group group) |
Modifier and Type | Method and Description |
---|---|
static Group |
ConversionUtils.getEmbeddedGroup(InvalidGroupException ex)
Extracts a directory-specific model group from the given
InvalidGroupException and converts it into a directory-agnostic embedded/application group. |
static Group |
ConversionUtils.toEmbeddedGroup(Group modelGroup)
Converts a directory-specific model group into a directory-agnostic embedded/application group.
|
Modifier and Type | Method and Description |
---|---|
static List<Group> |
ConversionUtils.toEmbeddedGroups(List<Group> modelGroups)
Converts a directory-specific model groups into a directory-agnostic
embedded/application groups.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingGroupWithAttributes
Implementation of GroupWithAttributes that simply delegates to an underlying Group and Attributes object.
|
class |
ImmutableGroup
A general purpose immutable implementation of the Group interface.
|
Modifier and Type | Method and Description |
---|---|
int |
ImmutableGroup.compareTo(Group other) |
int |
DelegatingGroupWithAttributes.compareTo(Group group) |
Constructor and Description |
---|
DelegatingGroupWithAttributes(Group group,
Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
Group |
InvalidGroupException.getGroup() |
Constructor and Description |
---|
InvalidGroupException(Group group,
String message) |
InvalidGroupException(Group group,
String message,
Throwable cause) |
InvalidGroupException(Group group,
Throwable cause) |
Copyright © 2020 Atlassian. All rights reserved.