Package com.atlassian.jira.config.group
Interface GroupConfigurable
- All Known Implementing Classes:
DefaultCommentManager
,DefaultGlobalPermissionManager
,DefaultPermissionSchemeManager
,DefaultProjectRoleManager
,DefaultSubscriptionManager
,DefaultWorklogManager
,GlobalPermissionsCache
,IssueSecuritySchemeManagerImpl
,OfBizApplicationRoleStore
,WorkflowBasedPermissionSchemeManager
public interface GroupConfigurable
Components (typically data stores) that have groups as part of their data model implements this interface to allow
callers to verify whether a given group has been associated with any data. This is used to identify dormant group
configuration that could potentially be activated by the creation of a group with the same name.
- Since:
- 7.0
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isGroupUsed
(com.atlassian.crowd.embedded.api.Group group) Determine whether configuration exists for the specifiedGroup
.default boolean
isGroupUsed
(String groupName) Determine whether configuration exists for the specified groupName.
-
Method Details
-
isGroupUsed
boolean isGroupUsed(@Nonnull com.atlassian.crowd.embedded.api.Group group) Determine whether configuration exists for the specifiedGroup
.- Parameters:
group
- that may or may not exist.- Returns:
- true if the group is used in the components configuration.
-
isGroupUsed
Determine whether configuration exists for the specified groupName. This method convert theString
groupName to aGroup
usingImmutableGroup
and then calls through toisGroupUsed(Group)
- Parameters:
groupName
- name of the group that may or may not exist.- Returns:
- true if the group name is used in the components configuration.
- See Also:
-