Class Group
- java.lang.Object
-
- com.atlassian.confluence.api.model.people.Group
-
- All Implemented Interfaces:
Subject,NavigationAware
@ExperimentalApi public class Group extends Object implements Subject, NavigationAware
Represents a group that may contain zero or more users.This model is deliberately very simple. It is intended that this (and most of the Subject hierarchy in api.model.people) will be replaced by Crowd entities in the near future.
- Since:
- 5.7
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringGROUP_TYPE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetDisplayName()Returns a name that is suitable for display to identify the user / group.StringgetName()SubjectTypegetSubjectType()inthashCode()Navigation.BuilderresolveNavigation(NavigationService navigationService)StringtoString()
-
-
-
Field Detail
-
GROUP_TYPE
protected static final String GROUP_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Group
public Group(String name)
-
-
Method Detail
-
getName
public String getName()
-
getDisplayName
public String getDisplayName()
Description copied from interface:SubjectReturns a name that is suitable for display to identify the user / group. Will never return null.- Specified by:
getDisplayNamein interfaceSubject
-
resolveNavigation
public Navigation.Builder resolveNavigation(NavigationService navigationService)
- Specified by:
resolveNavigationin interfaceNavigationAware
-
getSubjectType
public SubjectType getSubjectType()
- Specified by:
getSubjectTypein interfaceSubject- Returns:
SubjectTypecorresponding to this Subject- See Also:
SubjectType.VALUES
-
-