Package | Description |
---|---|
com.atlassian.confluence.labels | |
com.atlassian.confluence.util |
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.
|
static ParsedLabelName |
LabelParser.parse(String labelString,
com.atlassian.user.User user) |
Modifier and Type | Method and Description |
---|---|
Label |
CachingLabelManager.getLabel(ParsedLabelName parsedLabelName) |
Label |
LabelManager.getLabel(ParsedLabelName parsedLabelName)
Retrieve the label by name.
|
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) |
static boolean |
LabelPermissionSupport.userCanEditLabel(ParsedLabelName ref,
Labelable object,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
static boolean |
LabelUtil.isFavouriteLabel(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–2017 Atlassian. All rights reserved.