Uses of Class
com.atlassian.confluence.labels.Label
Package
Description
-
Uses of Label in com.atlassian.confluence.api.impl.service.content.factory
Modifier and TypeMethodDescriptionLabelFactory.buildFrom
(Label hibernateObject, Expansions expansions) -
Uses of Label in com.atlassian.confluence.core
Modifier and TypeMethodDescriptionAbstractLabelableEntityObject.getGlobalLabels
(com.atlassian.user.User user) List the labels on this content that are global labelsAbstractLabelableEntityObject.getLabels()
AbstractLabelableEntityObject.getLabelsForDisplay
(com.atlassian.user.User user) List the labels on this content that are visible to a particular user, and should be shown in a list of labels.AbstractLabelableEntityObject.getPersonalLabels
(com.atlassian.user.User user) List the labels on this content that are personal labels for a particular userAbstractLabelableEntityObject.getTeamLabels
(com.atlassian.user.User user) List the labels on this content that are team labels for a particular userAbstractLabelableEntityObject.getVisibleLabels
(com.atlassian.user.User user) List the labels on this content that are visible to a particular user -
Uses of Label in com.atlassian.confluence.dmz.spaces
-
Uses of Label in com.atlassian.confluence.event.events.label
ModifierConstructorDescriptionLabelAddEvent
(Label source, Labelable labelled) LabelCreateEvent
(Label source) LabelDeleteEvent
(Label source) LabelEvent
(Label source) LabelEvent
(Label source, Labelable labelled) LabelRemoveEvent
(Label source, Labelable labelled) -
Uses of Label in com.atlassian.confluence.impl.labels
Modifier and TypeMethodDescriptionCachingLabelManager.createLabel
(Label label) CachingLabelManager.getLabel
(long id) CachingLabelManager.getLabel
(ParsedLabelName parsedLabelName) Modifier and TypeMethodDescriptionCachingLabelManager.findGlobalLabelsByNamePrefix
(String namePrefix, LimitedRequest pageRequest) CachingLabelManager.findTeamLabelsByNamePrefix
(String namePrefix, LimitedRequest pageRequest) CachingLabelManager.getLabels
(Collection<String> unparsedLabelNames) CachingLabelManager.getLabelsByDetail
(String labelName, String namespace, String spaceKey, String owner) CachingLabelManager.getLabelsInSpace
(String key) CachingLabelManager.getLabelsInSpace
(String key, LimitedRequest pageRequest) CachingLabelManager.getRecentlyUsedLabels()
CachingLabelManager.getRecentlyUsedLabels
(int maxResults) CachingLabelManager.getRecentlyUsedLabelsInSpace
(String spaceKey) CachingLabelManager.getRecentlyUsedLabelsInSpace
(String spaceKey, int maxResults) CachingLabelManager.getRecentlyUsedPersonalLabels
(String username) CachingLabelManager.getRecentlyUsedPersonalLabels
(String username, int maxResults) CachingLabelManager.getRelatedLabels
(Label label) CachingLabelManager.getRelatedLabels
(Label label, int maxResults) CachingLabelManager.getRelatedLabels
(List<? extends Label> labels, String spaceKey, int maxResultsPerLabel) CachingLabelManager.getRelatedLabelsInSpace
(Label label, String spaceKey) CachingLabelManager.getRelatedLabelsInSpace
(Label label, String spaceKey, int maxResults) CachingLabelManager.getSuggestedLabels
(Labelable content) CachingLabelManager.getSuggestedLabels
(Labelable content, int maxResults) CachingLabelManager.getSuggestedLabelsInSpace
(Labelable content, String spaceKey) CachingLabelManager.getSuggestedLabelsInSpace
(Labelable content, String spaceKey, int maxResults) CachingLabelManager.getTeamLabels()
CachingLabelManager.getTeamLabels
(String name) CachingLabelManager.getTeamLabelsForSpace
(String spaceKey) CachingLabelManager.getTeamLabelsForSpaces
(Collection<Space> spaces) CachingLabelManager.getUsersLabels
(String owner) Modifier and TypeMethodDescriptionint
CachingLabelManager.createLabel
(Label label) boolean
CachingLabelManager.deleteLabel
(Label l) CachingLabelManager.getAllContentForAllLabels
(int offset, int maxResults, Label... labels) CachingLabelManager.getAllContentForLabel
(int offset, int maxResults, Label label) CachingLabelManager.getContent
(Label label) int
CachingLabelManager.getContentCount
(Label label) CachingLabelManager.getContentForAllLabels
(int offset, int maxResults, Label... labels) CachingLabelManager.getContentForLabel
(int offset, int maxResults, Label label) CachingLabelManager.getContentInSpaceForAllLabels
(int offset, int maxResults, String spaceKey, Label... labels) CachingLabelManager.getContentInSpaceForLabel
(int offset, int maxResults, String spaceKey, Label label) CachingLabelManager.getContentInSpacesForAllLabels
(int offset, int maxResults, Set<String> spaceKeys, Label... labels) CachingLabelManager.getCurrentContentForLabel
(Label label) CachingLabelManager.getCurrentContentForLabelAndSpace
(Label label, String spaceKey) <T extends EditableLabelable>
PartialList<T>CachingLabelManager.getForLabel
(Class<T> labelableClass, int offset, int maxResults, Label label) CachingLabelManager.getForLabels
(int offset, int maxResults, Label... labels) <T extends EditableLabelable>
PartialList<T>CachingLabelManager.getForLabels
(Class<T> labelableClass, int offset, int maxResults, Label... labels) CachingLabelManager.getRelatedLabels
(Label label) CachingLabelManager.getRelatedLabels
(Label label, int maxResults) CachingLabelManager.getRelatedLabelsInSpace
(Label label, String spaceKey) CachingLabelManager.getRelatedLabelsInSpace
(Label label, String spaceKey, int maxResults) CachingLabelManager.getSpacesContainingContentWithLabel
(Label label) CachingLabelManager.getSpacesWithLabel
(Label label) int
CachingLabelManager.removeLabel
(Labelable object, Label label) boolean
LabelPermissionEnforcerImpl.userCanEditLabel
(Label label, Labelable object) boolean
LabelPermissionEnforcerImpl.userCanEditLabelOrIsSpaceAdmin
(Label label, SpaceContentEntityObject object) Modifier and TypeMethodDescriptionCachingLabelManager.getContentForAllLabels
(Collection<Label> labels, int maxResults, int offset) CachingLabelManager.getRelatedLabels
(List<? extends Label> labels, String spaceKey, int maxResultsPerLabel) void
CachingLabelManager.removeLabels
(Labelable object, List<Label> labels) -
Uses of Label in com.atlassian.confluence.impl.search.actions
Modifier and TypeMethodDescriptionSearchSiteAction.getRelatedLabels()
Deprecated.Returns a list of related labels to the labels matching the search result -
Uses of Label in com.atlassian.confluence.internal.labels
Modifier and TypeMethodDescriptiondefault PartialList<Label>
LabelManagerInternal.findGlobalLabelsByNamePrefix
(int offset, int maxResults, String namePrefix) LabelManagerInternal.findGlobalLabelsByNamePrefix
(String namePrefix, LimitedRequest pageRequest) Returns global-namespaced labels starting with the given string.default PartialList<Label>
LabelManagerInternal.findTeamLabelsByNamePrefix
(int offset, int maxResults, String namePrefix) default PageResponse<Label>
LabelManagerInternal.findTeamLabelsByNamePrefix
(String namePrefix, LimitedRequest pageRequest) Returns team-namespaced labels starting with the given string.LabelManagerInternal.getLabelsInSpace
(String key, LimitedRequest pageRequest) Get all label in Space with pagination -
Uses of Label in com.atlassian.confluence.internal.labels.persistence
Modifier and TypeMethodDescriptionLabelDaoInternal.findByDetailsInSpace
(String name, String namespace, String owner, String spaceKey, LimitedRequest limitedRequest) Allow to find detail in Space with pagination -
Uses of Label in com.atlassian.confluence.internal.notification.persistence
Modifier and TypeMethodDescriptionDelegatingNotificationDaoInternal.findNotificationByUserAndLabel
(com.atlassian.user.User user, Label label) DelegatingNotificationDaoInternal.findNotificationsByLabel
(Label label) -
Uses of Label in com.atlassian.confluence.labels
Modifier and TypeMethodDescriptionParsedLabelName.addLabel
(Labelable labelable, LabelManager labelManager) Adds a label to a space.DefaultLabelManager.createLabel
(Label label) LabelManager.createLabel
(Label label) DefaultLabelManager.getLabel
(long id) Retrieve a label based on its id.DefaultLabelManager.getLabel
(ParsedLabelName parsedLabelName) Labelling.getLabel()
LabelManager.getLabel
(long id) Retrieve the label with the specified id.Retrieve the persistent instance of the label with the exact same details as the specified label.LabelManager.getLabel
(ParsedLabelName parsedLabelName) Retrieve the label by name.convenience method to fetch a label without having to call the label parserConvenience method to fetch a label without having to create a Label objectParsedLabelName.toLabel()
Creates a personal, team or global Label object from the parsed name.ParsedLabelName.toLabel
(@Nullable ConfluenceUser user) Creates a personal, team or global Label object from the parsed name with the given owner.Modifier and TypeMethodDescriptionDefaultLabelManager.findGlobalLabelsByNamePrefix
(String namePrefix, LimitedRequest pageRequest) LabelManager.findGlobalLabelsByNamePrefix
(int offset, int maxResults, String namePrefix) Returns global-namespaced labels starting with the given string.DefaultLabelManager.findTeamLabelsByNamePrefix
(String namePrefix, LimitedRequest pageRequest) LabelManager.findTeamLabelsByNamePrefix
(int offset, int maxResults, String namePrefix) Returns team-namespaced labels starting with the given string.SpaceLabelManager.getAvailableTeamLabels
(String spaceKey) Returns the teams labels available for the given spaceSpaceLabelManagerImpl.getAvailableTeamLabels
(String spaceKey) DefaultLabelManager.getLabels
(Collection<String> unparsedLabelNames) Labelable.getLabels()
Retrieve the labels that are associated with this object.LabelManager.getLabels
(Collection<String> unparsedLabelNames) convenience method to fetch labels without having to call the label parserPermittedLabelView.getLabels()
DefaultLabelManager.getLabelsByDetail
(String labelName, String namespace, String spaceKey, String owner) LabelManager.getLabelsByDetail
(String labelName, String namespace, String spaceKey, String owner) Retrieves the labels matching the given labelName, namespace or ownerDefaultLabelManager.getLabelsInSpace
(String key) DefaultLabelManager.getLabelsInSpace
(String key, LimitedRequest limitedRequest) LabelManager.getLabelsInSpace
(String key) Retrieve all of the labels that label content within the specified space.SpaceLabelManager.getLabelsOnSpace
(Space space) Returns the labels for the given space (excluding team labels)SpaceLabelManagerImpl.getLabelsOnSpace
(Space space) DefaultLabelManager.getRecentlyUsedLabels()
DefaultLabelManager.getRecentlyUsedLabels
(int maxResults) LabelManager.getRecentlyUsedLabels()
Retrieve the DEFAULT_LABEL_COUNT most recently used labels within the system.LabelManager.getRecentlyUsedLabels
(int maxResults) Retrieve the x most recently used labels.DefaultLabelManager.getRecentlyUsedLabelsInSpace
(String key) DefaultLabelManager.getRecentlyUsedLabelsInSpace
(String key, int maxResults) LabelManager.getRecentlyUsedLabelsInSpace
(String spaceKey) Retrieve the DEFAULT_LABEL_COUNT most recently used labels within the specified space.LabelManager.getRecentlyUsedLabelsInSpace
(String spaceKey, int maxResults) Retrieve the most recently used labels within the specified spae.DefaultLabelManager.getRecentlyUsedPersonalLabels
(String username) DefaultLabelManager.getRecentlyUsedPersonalLabels
(String username, int maxResults) LabelManager.getRecentlyUsedPersonalLabels
(String username) Retrieve the labels that were recently used by currently authenticated user.LabelManager.getRecentlyUsedPersonalLabels
(String username, int maxResults) Retrieve the labels that were recently used by currently authenticated user.DefaultLabelManager.getRelatedLabels
(Label label) DefaultLabelManager.getRelatedLabels
(Label label, int count) DefaultLabelManager.getRelatedLabels
(List<? extends Label> labels, String spaceKey, int maxResultsPerLabel) LabelManager.getRelatedLabels
(Label label) Retrieve the DEFAULT_LABEL_COUNT labels that are 'related' to the specified label.LabelManager.getRelatedLabels
(Label label, int maxResults) Retrieve the labels that are 'related' to the specified label.LabelManager.getRelatedLabels
(List<? extends Label> labels, String spaceKey, int maxResultsPerLabel) Retrieve the labels that are 'related' to the labels in the list.DefaultLabelManager.getRelatedLabelsInSpace
(Label label, String spaceKey) DefaultLabelManager.getRelatedLabelsInSpace
(Label label, String spaceKey, int maxResults) LabelManager.getRelatedLabelsInSpace
(Label label, String spaceKey) Retrieve the DEFAULT_LABEL_COUNT labels that are 'related' to the specified label and that are used to label content within the specified space.LabelManager.getRelatedLabelsInSpace
(Label label, String spaceKey, int maxResults) Retrieve the labels that are 'related' to the specified label and that are used to to label content within the specified space.DefaultLabelManager.getSuggestedLabels
(Labelable content) DefaultLabelManager.getSuggestedLabels
(Labelable content, int count) LabelManager.getSuggestedLabels
(Labelable content) Retrieve the DEFAULT_LABEL_COUNT suggested labels for the specified content.LabelManager.getSuggestedLabels
(Labelable content, int maxResults) Retrieve the suggested labels for the specified content.SpaceLabelManager.getSuggestedLabelsForSpace
(Space space, com.atlassian.user.User remoteUser) Returns the labels available for the given space (excluding team labels)SpaceLabelManagerImpl.getSuggestedLabelsForSpace
(Space space, com.atlassian.user.User remoteUser) DefaultLabelManager.getSuggestedLabelsInSpace
(Labelable content, String spaceKey) DefaultLabelManager.getSuggestedLabelsInSpace
(Labelable content, String spaceKey, int maxResults) LabelManager.getSuggestedLabelsInSpace
(Labelable content, String spaceKey) Retrieve the DEFAULT_LABEL_COUNT suggested labels for the specified content bound to the specified space.LabelManager.getSuggestedLabelsInSpace
(Labelable content, String spaceKey, int maxResults) Retrieve the suggested labels for the specified content bound to the specified space.DefaultLabelManager.getTeamLabels()
DefaultLabelManager.getTeamLabels
(String name) LabelManager.getTeamLabels()
Retrieve all of the team labels in the system.LabelManager.getTeamLabels
(String name) Retrieve all of the team labels in the system with name.DefaultLabelManager.getTeamLabelsForSpace
(String spaceKey) LabelManager.getTeamLabelsForSpace
(String spaceKey) Retrieve all of the team labels used to label content in the specified space.DefaultLabelManager.getTeamLabelsForSpaces
(Collection<Space> spaces) LabelManager.getTeamLabelsForSpaces
(Collection<Space> spaces) Retrieve all of the team labels used to label content in the specified spaces.SpaceLabelManager.getTeamLabelsOnSpace
(String spaceKey) Returns the teams labels for the given spaceSpaceLabelManagerImpl.getTeamLabelsOnSpace
(String spaceKey) DefaultLabelManager.getUsersLabels
(String name) LabelManager.getUsersLabels
(String owner) Retrieve the personal labels that belong to the specified user.Modifier and TypeMethodDescriptionint
int
Add a label to the specified content.boolean
boolean
int
static ParsedLabelName
DefaultLabelManager.createLabel
(Label label) LabelManager.createLabel
(Label label) boolean
DefaultLabelManager.deleteLabel
(Label label) boolean
LabelManager.deleteLabel
(Label l) Delete the specified label.DefaultLabelManager.getAllContentForAllLabels
(int offset, int maxResults, Label... labels) LabelManager.getAllContentForAllLabels
(int offset, int maxResults, Label... labels) Retrieve all ContentEntityObjects, current or deleted which are labelled with ALL provided labels.DefaultLabelManager.getAllContentForLabel
(int offset, int maxResults, Label label) LabelManager.getAllContentForLabel
(int offset, int maxResults, Label label) Retrieve all ContentEntityObjects, current or deleted which are labelled with the provided label.DefaultLabelManager.getContent
(Label label) LabelManager.getContent
(Label label) Deprecated.since 5.3.int
DefaultLabelManager.getContentCount
(Label label) int
LabelManager.getContentCount
(Label label) DefaultLabelManager.getContentForAllLabels
(int offset, int maxResults, Label... labels) LabelManager.getContentForAllLabels
(int offset, int maxResults, Label... labels) Retrieve current ContentEntityObjects which are labelled with ALL provided labels.DefaultLabelManager.getContentForLabel
(int offset, int maxResults, Label label) LabelManager.getContentForLabel
(int offset, int maxResults, Label label) Retrieve current ContentEntityObjects which are labelled with the provided label.DefaultLabelManager.getContentInSpaceForAllLabels
(int offset, int maxResults, String spaceKey, Label... labels) LabelManager.getContentInSpaceForAllLabels
(int offset, int maxResults, String spaceKey, Label... labels) Retrieve current ContentEntityObjects in the given space which are labelled with ALL provided labels.DefaultLabelManager.getContentInSpaceForLabel
(int offset, int maxResults, String spaceKey, Label label) LabelManager.getContentInSpaceForLabel
(int offset, int maxResults, String spaceKey, Label label) Retrieve current ContentEntityObjects in the given space which are labelled with the provided label.DefaultLabelManager.getContentInSpacesForAllLabels
(int offset, int maxResults, Set<String> spaceKeys, Label... labels) LabelManager.getContentInSpacesForAllLabels
(int offset, int maxResults, Set<String> spaceKeys, Label... labels) Retrieve current ContentEntityObjects in the given spaces which are labelled with ALL provided labels.DefaultLabelManager.getCurrentContentForLabel
(Label label) LabelManager.getCurrentContentForLabel
(Label label) Deprecated.since 5.3.DefaultLabelManager.getCurrentContentForLabelAndSpace
(Label label, String spaceKey) LabelManager.getCurrentContentForLabelAndSpace
(Label label, String spaceKey) Deprecated.since 5.3.<T extends EditableLabelable>
PartialList<T>DefaultLabelManager.getForLabel
(Class<T> labelableClass, int offset, int maxResults, Label label) <T extends EditableLabelable>
PartialList<T>LabelManager.getForLabel
(Class<T> labelableClass, int offset, int maxResults, Label label) Retrieve EditableLabelables of the supplied type which are labelled with the provided label.DefaultLabelManager.getForLabels
(int offset, int maxResults, Label... labels) <T extends EditableLabelable>
PartialList<T>DefaultLabelManager.getForLabels
(Class<T> labelableClass, int offset, int maxResults, Label... labels) LabelManager.getForLabels
(int offset, int maxResults, Label... labels) Retrieve EditableLabelables of any type which are labelled with the provided labels.<T extends EditableLabelable>
PartialList<T>LabelManager.getForLabels
(Class<T> labelableClass, int offset, int maxResults, Label... labels) Retrieve EditableLabelables of the supplied type which are labelled with the provided labels.Retrieve the persistent instance of the label with the exact same details as the specified label.DefaultLabelManager.getRelatedLabels
(Label label) DefaultLabelManager.getRelatedLabels
(Label label, int count) LabelManager.getRelatedLabels
(Label label) Retrieve the DEFAULT_LABEL_COUNT labels that are 'related' to the specified label.LabelManager.getRelatedLabels
(Label label, int maxResults) Retrieve the labels that are 'related' to the specified label.DefaultLabelManager.getRelatedLabelsInSpace
(Label label, String spaceKey) DefaultLabelManager.getRelatedLabelsInSpace
(Label label, String spaceKey, int maxResults) LabelManager.getRelatedLabelsInSpace
(Label label, String spaceKey) Retrieve the DEFAULT_LABEL_COUNT labels that are 'related' to the specified label and that are used to label content within the specified space.LabelManager.getRelatedLabelsInSpace
(Label label, String spaceKey, int maxResults) Retrieve the labels that are 'related' to the specified label and that are used to to label content within the specified space.DefaultLabelManager.getSpacesContainingContentWithLabel
(Label label) LabelManager.getSpacesContainingContentWithLabel
(Label label) Look up the spaces that have been labelled by the specific label.DefaultLabelManager.getSpacesWithLabel
(Label label) LabelManager.getSpacesWithLabel
(Label label) Spaces cannot be directly labelled.static boolean
static boolean
Namespace.isPersonal
(Label l) static boolean
int
DefaultLabelManager.removeLabel
(Labelable content, Label label) int
LabelManager.removeLabel
(Labelable object, Label label) Remove a label from the specified content.static String
boolean
LabelPermissionEnforcer.userCanEditLabel
(Label label, Labelable object) Check if the user can edit a label of an objectstatic boolean
LabelPermissionSupport.userCanEditLabel
(Label label, Labelable object, PermissionManager permissionManager) Deprecated.boolean
LabelPermissionEnforcer.userCanEditLabelOrIsSpaceAdmin
(Label label, SpaceContentEntityObject object) Check if the user can edit a label of a space object or a space adminstatic boolean
LabelPermissionSupport.userCanEditLabelOrIsSpaceAdmin
(Label label, SpaceContentEntityObject object, PermissionManager permissionManager) Deprecated.Modifier and TypeMethodDescriptionDefaultLabelManager.getContentForAllLabels
(Collection<Label> labels, int maxResults, int offset) LabelManager.getContentForAllLabels
(Collection<Label> labels, int maxResults, int offset) Deprecated.since 5.3.DefaultLabelManager.getRelatedLabels
(List<? extends Label> labels, String spaceKey, int maxResultsPerLabel) LabelManager.getRelatedLabels
(List<? extends Label> labels, String spaceKey, int maxResultsPerLabel) Retrieve the labels that are 'related' to the labels in the list.void
DefaultLabelManager.removeLabels
(Labelable content, List<Label> labels) void
LabelManager.removeLabels
(Labelable object, List<Label> labels) removes a list of labels from the labelable objectModifierConstructorDescriptionLabelling
(Label label, EditableLabelable labelable, ConfluenceUser user) Labelling
(Label label, EditableLabelable labelable, String user) Deprecated.since 5.2. -
Uses of Label in com.atlassian.confluence.labels.actions
Modifier and TypeMethodDescriptionAddFavouriteAction.getBean()
AddSpaceToFavouriteAjaxAction.getBean()
ListLabelsBySpaceAction.getPageResponse()
-
Uses of Label in com.atlassian.confluence.labels.dto
ModifierConstructorDescriptionLiteLabelSearchResult
(Label label) LiteLabelSearchResult
(Label label, int count) -
Uses of Label in com.atlassian.confluence.labels.persistence.dao
Modifier and TypeMethodDescriptionLabelDao.findById
(long id) Find the label by its id.LabelDao.findByLabel
(Label label) LabelSearchResult.getLabel()
Modifier and TypeMethodDescriptionLabelDao.findByDetails
(String name, String namespace, String owner) Find all labels based on the details passed in.LabelDao.findByDetailsInSpace
(String name, String namespace, String owner, String spaceKey) Find all labels for a specific space, based on the details passed in.LabelDao.findByDetailsInSpaces
(String name, String namespace, String owner, Collection<Space> spaces) Find all labels for a specific space, based on the details passed in.LabelDao.findBySingleDegreeSeparation
(EditableLabelable content, int maxResults) Find the labels that are a single degree of separation away from the specified content.LabelDao.findBySingleDegreeSeparation
(EditableLabelable content, String spaceKey, int maxResults) LabelDao.findBySingleDegreeSeparation
(Label label, int maxResults) Find the labels that are a single degree of separation away from the specified label.LabelDao.findBySingleDegreeSeparation
(Label label, String spaceKey, int maxResults) LabelDao.findBySpace
(String spaceKey, String namespace) Find the labels used to label the content with the specified space.LabelDao.findGlobalLabelsByNamePrefix
(String namePrefix, LimitedRequest pageRequest) Returns global-namespaced labels starting with the given string.LabelDao.findRecentlyUsed
(int maxResults) LabelDao.findRecentlyUsedBySpace
(String key, int maxResults) LabelDao.findRecentlyUsedUserLabels
(String username, int maxResults) default PageResponse<Label>
LabelDao.findTeamLabelsByNamePrefix
(String namePrefix, LimitedRequest pageRequest) Returns team-namespaced labels starting with the given string.LabelDao.findUnusedLabels()
Modifier and TypeMethodDescriptionLabelDao.findAllContentForAllLabels
(int offset, int maxResults, Label... labels) Retrieve all ContentEntityObjects which are labelled with ALL provided labels.LabelDao.findByLabel
(Label label) LabelDao.findBySingleDegreeSeparation
(Label label, int maxResults) Find the labels that are a single degree of separation away from the specified label.LabelDao.findBySingleDegreeSeparation
(Label label, String spaceKey, int maxResults) int
LabelDao.findContentCountForLabel
(Label label) List<? extends EditableLabelable>
LabelDao.findContentForLabel
(Label label, int maxResults) Deprecated.since 5.3.LabelDao.findContentInSpaceForAllLabels
(int offset, int maxResults, String spaceKey, Label... labels) Retrieve current ContentEntityObjects in the space which are labelled with ALL provided labels.LabelDao.findContentInSpacesForAllLabels
(int offset, int maxResults, Set<String> spaceKeys, Label... labels) Retrieve current ContentEntityObjects in the given spaces which are labelled with ALL provided labels.List<? extends EditableLabelable>
LabelDao.findCurrentContentForLabel
(Label label) Deprecated.since 5.3.List<? extends EditableLabelable>
LabelDao.findCurrentContentForLabelAndSpace
(Label label, String spaceKey) Deprecated.Since 5.3.LabelDao.findForAllLabels
(int offset, int maxResults, Label... labels) Retrieve EditableLabelables which are labelled with ALL provided labels.<T extends EditableLabelable>
PartialList<T>LabelDao.findForAllLabels
(Class<T> labelableClass, int offset, int maxResults, Label... labels) Retrieve current EditableLabelables which are labelled with ALL provided labels.LabelDao.findLabellingByContentAndLabel
(EditableLabelable content, Label label) LabelDao.findSpacesContainingContentWithLabel
(Label label) LabelDao.findSpacesWithLabel
(Label label) void
ModifierConstructorDescriptionLabelSearchResult
(Label label, int count) RankedLabelSearchResult
(Label label, int rank, int count) -
Uses of Label in com.atlassian.confluence.labels.persistence.dao.hibernate
Modifier and TypeMethodDescriptionHibernateLabelDao.findById
(long id) HibernateLabelDao.findByLabel
(Label label) Modifier and TypeMethodDescriptionHibernateLabelDao.findByDetails
(String name, String namespace, String owner) HibernateLabelDao.findByDetailsInSpace
(String name, String namespace, String owner, String spaceKey) HibernateLabelDao.findByDetailsInSpace
(String name, String namespace, String owner, String spaceKey, LimitedRequest limitedRequest) HibernateLabelDao.findByDetailsInSpaces
(String name, String namespace, String owner, Collection<Space> spaces) HibernateLabelDao.findBySingleDegreeSeparation
(EditableLabelable content, int maxResults) HibernateLabelDao.findBySingleDegreeSeparation
(EditableLabelable content, String spaceKey, int maxResults) HibernateLabelDao.findBySingleDegreeSeparation
(Label label, int maxResults) HibernateLabelDao.findBySingleDegreeSeparation
(Label label, String spaceKey, int maxResults) HibernateLabelDao.findBySpace
(String spaceKey, String namespace) HibernateLabelDao.findGlobalLabelsByNamePrefix
(String namePrefix, LimitedRequest pageRequest) HibernateLabelDao.findRecentlyUsed
(int maxResults) HibernateLabelDao.findRecentlyUsedBySpace
(String spaceKey, int maxResults) HibernateLabelDao.findRecentlyUsedUserLabels
(String username, int maxResults) HibernateLabelDao.findTeamLabelsByNamePrefix
(String namePrefix, LimitedRequest pageRequest) HibernateLabelDao.findUnusedLabels()
HibernateLabelDao.getPersistentClass()
Modifier and TypeMethodDescriptionHibernateLabelDao.findAllContentForAllLabels
(int offset, int maxResults, Label... labels) HibernateLabelDao.findByLabel
(Label label) HibernateLabelDao.findBySingleDegreeSeparation
(Label label, int maxResults) HibernateLabelDao.findBySingleDegreeSeparation
(Label label, String spaceKey, int maxResults) int
HibernateLabelDao.findContentCountForLabel
(Label label) List<? extends EditableLabelable>
HibernateLabelDao.findContentForLabel
(Label label, int maxResults) HibernateLabelDao.findContentInSpaceForAllLabels
(int offset, int maxResults, String spaceKey, Label... labels) HibernateLabelDao.findContentInSpacesForAllLabels
(int offset, int maxResults, Set<String> spaceKeys, Label... labels) List<? extends EditableLabelable>
HibernateLabelDao.findCurrentContentForLabel
(Label label) List<? extends EditableLabelable>
HibernateLabelDao.findCurrentContentForLabelAndSpace
(Label label, String spaceKey) HibernateLabelDao.findForAllLabels
(int offset, int maxResults, Label... labelsArray) <T extends EditableLabelable>
PartialList<T>HibernateLabelDao.findForAllLabels
(Class<T> labelableClass, int offset, int maxResults, Label... labels) HibernateLabelDao.findLabellingByContentAndLabel
(EditableLabelable content, Label label) HibernateLabelDao.findSpacesContainingContentWithLabel
(Label label) HibernateLabelDao.findSpacesWithLabel
(Label label) void
-
Uses of Label in com.atlassian.confluence.labels.service
Modifier and TypeMethodDescriptionAddLabelsCommand.getAddedLabels()
Returns the labels that were addedAddLabelsCommandImpl.getAddedLabels()
Returns a list of labels that were added.ValidateLabelsCommand.getValidLabels()
ValidateLabelsCommandImpl.getValidLabels()
Modifier and TypeMethodDescriptionDefaultLabelsService.newRemoveLabelCommand
(Label label, com.atlassian.user.User user, long entityId) DefaultLabelsService.newRemoveLabelCommand
(Label label, com.atlassian.user.User user, long entityId, String entityType) LabelsService.newRemoveLabelCommand
(Label label, com.atlassian.user.User user, long entityId) Builds a command that takes removes the specified label Page or Blog Post for the specified user.LabelsService.newRemoveLabelCommand
(Label label, com.atlassian.user.User user, long entityId, String entityType) ModifierConstructorDescriptionRemoveLabelCommandImpl
(Label label, com.atlassian.user.User user, long entityId, LabelManager labelManager, PermissionManager permissionManager, SpaceManager spaceManager, PageTemplateManager pageTemplateManager, ContentEntityManager contentEntityManager, LabelPermissionEnforcer labelPermissionEnforcer) RemoveLabelCommandImpl
(Label label, com.atlassian.user.User user, long entityId, String entityType, LabelManager labelManager, PermissionManager permissionManager, SpaceManager spaceManager, PageTemplateManager pageTemplateManager, ContentEntityManager contentEntityManager, LabelPermissionEnforcer labelPermissionEnforcer) -
Uses of Label in com.atlassian.confluence.mail.notification
Modifier and TypeMethodDescriptionboolean
DefaultNotificationManager.addLabelNotification
(com.atlassian.user.User user, Label label) boolean
NotificationManager.addLabelNotification
(com.atlassian.user.User user, Label label) DefaultNotificationManager.getNotificationsByLabel
(Label label) NotificationManager.getNotificationsByLabel
(Label label) boolean
DefaultNotificationManager.isWatchingLabel
(com.atlassian.user.User user, Label label) boolean
NotificationManager.isWatchingLabel
(com.atlassian.user.User user, Label label) void
DefaultNotificationManager.removeLabelNotification
(com.atlassian.user.User user, Label label) void
NotificationManager.removeLabelNotification
(com.atlassian.user.User user, Label label) void
-
Uses of Label in com.atlassian.confluence.mail.notification.persistence
Modifier and TypeMethodDescriptionNotificationDao.findNotificationByUserAndLabel
(com.atlassian.user.User user, Label label) Find any user notification linked to the specified label.NotificationDao.findNotificationsByLabel
(Label label) -
Uses of Label in com.atlassian.confluence.mail.notification.persistence.dao.hibernate
Modifier and TypeMethodDescriptionHibernateNotificationDao.findNotificationByUserAndLabel
(com.atlassian.user.User user, Label label) HibernateNotificationDao.findNotificationsByLabel
(Label label) -
Uses of Label in com.atlassian.confluence.pages
Modifier and TypeMethodDescriptionReadOnlyAttachment.getGlobalLabels
(com.atlassian.user.User user) Deprecated, for removal: This API element is subject to removal in a future version.ReadOnlyAttachment.getLabels()
Deprecated, for removal: This API element is subject to removal in a future version.ReadOnlyAttachment.getLabelsForDisplay
(com.atlassian.user.User user) Deprecated, for removal: This API element is subject to removal in a future version.ReadOnlyAttachment.getPersonalLabels
(com.atlassian.user.User user) Deprecated, for removal: This API element is subject to removal in a future version.ReadOnlyAttachment.getTeamLabels
(com.atlassian.user.User user) Deprecated, for removal: This API element is subject to removal in a future version.ReadOnlyAttachment.getVisibleLabels
(com.atlassian.user.User user) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Label in com.atlassian.confluence.pages.actions
Modifier and TypeMethodDescriptionAbstractCreateAndEditPageAction.getLabels()
Metadata is now retrieved from the existing page, if it exists, otherwise it is stored on the draft (i.e.AbstractPageAction.getLabels()
PageVariablesAction.getLabels()
Modifier and TypeMethodDescriptionvoid
AbstractCreateAndEditPageAction.setLabelsString
(List<Label> labels) -
Uses of Label in com.atlassian.confluence.plugins.labels.actions
Modifier and TypeMethodDescriptionAddLabelAction.getBean()
ViewMyLabelsAction.getMyLabels()
AbstractLabelDisplayingAction.getPopularLabels()
AbstractLabelDisplayingAction.getRecentLabels()
Modifier and TypeMethodDescriptionViewLabelAction.getAddLabel
(Label label) Returns a DisplayableLabel representing the currently viewed labels and the given label.int
ViewMyLabelsAction.getContentCount
(Label l) ViewLabelAction.getRemoveLabel
(Label label) Returns a DisplayableLabel representing the currently viewed labels, minus the given label. -
Uses of Label in com.atlassian.confluence.plugins.rest.jackson2.entities
-
Uses of Label in com.atlassian.confluence.plugins.spacedirectory
-
Uses of Label in com.atlassian.confluence.plugins.templates.actions
-
Uses of Label in com.atlassian.confluence.rpc.soap.beans
-
Uses of Label in com.atlassian.confluence.search.v2.query
ModifierConstructorDescriptionInheritedLabelQuery
(Label label) Construct a LabelQuery directly from the Label instance to be searched forLabelQuery
(@NonNull Label label) Construct a LabelQuery directly from the Label instance to be searched for -
Uses of Label in com.atlassian.confluence.spaces
Modifier and TypeMethodDescriptionReadOnlySpaceDescription.getGlobalLabels
(com.atlassian.user.User user) ReadOnlySpaceDescription.getLabels()
SpacesQuery.getLabels()
ReadOnlySpaceDescription.getLabelsForDisplay
(com.atlassian.user.User user) ReadOnlySpaceDescription.getPersonalLabels
(com.atlassian.user.User user) ReadOnlySpaceDescription.getTeamLabels
(com.atlassian.user.User user) ReadOnlySpaceDescription.getVisibleLabels
(com.atlassian.user.User user) -
Uses of Label in com.atlassian.confluence.spaces.actions
Modifier and TypeMethodDescription -
Uses of Label in com.atlassian.confluence.user.actions
-
Uses of Label in com.atlassian.confluence.user.history
-
Uses of Label in com.atlassian.confluence.util
Modifier and TypeMethodDescriptionstatic Label
LabelUtil.addLabel
(String labelReference, LabelManager labelManager, Labelable object) Adds the label to the specified object.static Label
LabelUtil.addLabel
(String labelReference, LabelManager labelManager, Labelable object, ConfluenceUser user) Adds the label to the specified object.Modifier and TypeMethodDescriptionLabelUtil.extractLabelsFromLabellings
(List<Labelling> labellings) Simple utility method to extract the label instances from the given list of labelling instances.static com.google.common.base.Predicate<Label>
LabelUtil.getLabelPredicate
(com.atlassian.user.User user, boolean hideSpecialLabels) Deprecated.since 7.0.1.LabelUtil.getLabelsFor
(String labels, LabelManager labelManager) LabelUtil.getRecentAndPopularLabels
(String spaceKey, LabelManager labelManager, int maxResults, String user) LabelUtil.getRecentAndPopularLabelsForEntity
(ContentEntityObject entity, LabelManager labelManager, int maxResults, String user) LabelUtil.labelPredicate
(com.atlassian.user.User user, boolean hideSpecialLabels) Modifier and TypeMethodDescriptionstatic boolean
LabelUtil.isFavouriteLabel
(Label label) Checks if the given label is of "Favourite" type (LabelManager.FAVOURITE_LABEL
orLabelManager.FAVOURITE_LABEL_YANKEE
).static void
LabelUtil.recordLabelInteractionInHistory
(Label label) Modifier and TypeMethodDescriptionstatic int
LabelUtil.countLabelsWithoutFavourites
(Collection<Label> labels) Counts the labels present in an input collection.static String
LabelUtil.getLabelsHash
(List<Label> labels) LabelUtil.getVisibleLabelNames
(List<Label> labels, String username) Get a list of the visible label names for this content.static String