Package | Description |
---|---|
com.atlassian.confluence.impl.labels | |
com.atlassian.confluence.labels | |
com.atlassian.confluence.util |
Modifier and Type | Method and Description |
---|---|
boolean |
LabelPermissionEnforcerImpl.userCanEditLabel(ParsedLabelName ref,
Labelable object) |
Modifier and Type | Method and Description |
---|---|
static ParsedLabelName |
LabelParser.create(Label label) |
static ParsedLabelName |
LabelParser.create(String labelName,
String userName) |
static ParsedLabelName |
LabelParser.parse(String labelString)
Deprecated.
since 6.0. Use
LabelParser.parse(String, User) instead. |
static @Nullable ParsedLabelName |
LabelParser.parse(@NonNull String labelString,
@Nullable com.atlassian.user.User user) |
Modifier and Type | Method and Description |
---|---|
Label |
LabelManager.getLabel(ParsedLabelName parsedLabelName)
Retrieve the label by name.
|
Label |
CachingLabelManager.getLabel(ParsedLabelName parsedLabelName) |
Label |
DefaultLabelManager.getLabel(ParsedLabelName parsedLabelName) |
static boolean |
LabelParser.isValidLabelLength(ParsedLabelName labelName) |
static boolean |
LabelParser.isValidNameLength(ParsedLabelName labelName) |
static boolean |
LabelParser.isValidPrefixLength(ParsedLabelName labelName) |
static String |
LabelParser.render(ParsedLabelName parsedLabelName) |
static String |
LabelParser.render(ParsedLabelName parsedLabelName,
boolean ignoreCurrentUser) |
boolean |
LabelPermissionEnforcer.userCanEditLabel(ParsedLabelName ref,
Labelable object)
Check if the user can edit a label of an object
|
static boolean |
LabelPermissionSupport.userCanEditLabel(ParsedLabelName ref,
Labelable object,
PermissionManager permissionManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
LabelUtil.isFavouriteLabel(@Nullable ParsedLabelName label)
Checks if the given label is of "Favourite" type
(
LabelManager.FAVOURITE_LABEL or
LabelManager.FAVOURITE_LABEL_YANKEE ). |
Modifier and Type | Method and Description |
---|---|
static int |
LabelUtil.countParsedLabelNamesWithoutFavourites(Collection<ParsedLabelName> labels)
Counts the labels present in an input collection.
|
Copyright © 2003–2019 Atlassian. All rights reserved.