Modifier and Type | Method and Description |
---|---|
Label |
LabelFactory.buildFrom(Label hibernateObject,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
List<Label> |
AbstractLabelableEntityObject.getGlobalLabels(com.atlassian.user.User user)
List the labels on this content that are global labels
|
List<Label> |
AbstractLabelableEntityObject.getLabels() |
List<Label> |
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.
|
List<Label> |
AbstractLabelableEntityObject.getPersonalLabels(com.atlassian.user.User user)
List the labels on this content that are personal labels for a particular user
|
List<Label> |
AbstractLabelableEntityObject.getTeamLabels(com.atlassian.user.User user)
List the labels on this content that are team labels for a particular user
|
List<Label> |
AbstractLabelableEntityObject.getVisibleLabels(com.atlassian.user.User user)
List the labels on this content that are visible to a particular user
|
Modifier and Type | Method and Description |
---|---|
Label |
LabelEvent.getLabel() |
Constructor and Description |
---|
LabelAddEvent(Label source,
Labelable labelled) |
LabelCreateEvent(Label source) |
LabelDeleteEvent(Label source) |
LabelEvent(Label source) |
LabelEvent(Label source,
Labelable labelled) |
LabelRemoveEvent(Label source,
Labelable labelled) |
Modifier and Type | Method and Description |
---|---|
Notification |
DelegatingNotificationDao.findNotificationByUserAndLabel(com.atlassian.user.User user,
Label label) |
List<Notification> |
DelegatingNotificationDao.findNotificationsByLabel(Label label) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Label> |
LabelManagerInternal.findGlobalLabelsByNamePrefix(String namePrefix,
LimitedRequest pageRequest)
Returns global-namespaced labels starting with the given string.
|
Modifier and Type | Method and Description |
---|---|
List<Label> |
SpacesQueryWithPermissionQueryBuilder.getLabels() |
Modifier and Type | Method and Description |
---|---|
Label |
ParsedLabelName.addLabel(Labelable labelable,
LabelManager labelManager) |
Label |
SpaceLabelManager.addLabel(Space space,
String labelName)
Adds a label to a space.
|
Label |
SpaceLabelManagerImpl.addLabel(Space space,
String labelName) |
Label |
CachingLabelManager.createLabel(Label label) |
Label |
LabelManager.createLabel(Label label) |
Label |
DefaultLabelManager.createLabel(Label label) |
Label |
Labelling.getLabel() |
Label |
CachingLabelManager.getLabel(Label label) |
Label |
LabelManager.getLabel(Label label)
Retrieve the persistent instance of the label with the exact same details as the specified label.
|
Label |
DefaultLabelManager.getLabel(Label label) |
Label |
CachingLabelManager.getLabel(long id) |
Label |
LabelManager.getLabel(long id)
Retrieve the label with the specified id.
|
Label |
DefaultLabelManager.getLabel(long id)
Retrieve a label based on its id.
|
Label |
CachingLabelManager.getLabel(ParsedLabelName parsedLabelName) |
Label |
LabelManager.getLabel(ParsedLabelName parsedLabelName)
Retrieve the label by name.
|
Label |
DefaultLabelManager.getLabel(ParsedLabelName parsedLabelName) |
Label |
CachingLabelManager.getLabel(String unparsedLabelName) |
Label |
LabelManager.getLabel(String unparsedLabelName)
convenience method to fetch a label without having to call the label parser
|
Label |
DefaultLabelManager.getLabel(String unparsedLabelName) |
Label |
CachingLabelManager.getLabel(String labelName,
Namespace namespace) |
Label |
LabelManager.getLabel(String labelName,
Namespace namespace)
Convenience method to fetch a label without having to create a Label object
|
Label |
DefaultLabelManager.getLabel(String labelName,
Namespace namespace) |
Label |
ParsedLabelName.toLabel()
Creates a personal, team or global Label object from the parsed name.
|
Label |
ParsedLabelName.toLabel(ConfluenceUser user)
Creates a personal, team or global Label object from the parsed name with the given owner.
|
Modifier and Type | Method and Description |
---|---|
PageResponse<Label> |
CachingLabelManager.findGlobalLabelsByNamePrefix(String namePrefix,
LimitedRequest pageRequest) |
PageResponse<Label> |
DefaultLabelManager.findGlobalLabelsByNamePrefix(String namePrefix,
LimitedRequest pageRequest) |
List<Label> |
Labelable.getLabels()
Retrieve the labels that are associated with this object.
|
List<Label> |
PermittedLabelView.getLabels() |
List<Label> |
CachingLabelManager.getLabels(Collection<String> unparsedLabelNames) |
List<Label> |
LabelManager.getLabels(Collection<String> unparsedLabelNames)
convenience method to fetch labels without having to call the label parser
|
List<Label> |
DefaultLabelManager.getLabels(Collection<String> unparsedLabelNames) |
List<Label> |
CachingLabelManager.getRecentlyUsedLabels() |
List<Label> |
LabelManager.getRecentlyUsedLabels()
Retrieve the DEFAULT_LABEL_COUNT most recently used labels within the system.
|
List<Label> |
CachingLabelManager.getRelatedLabels(Label label) |
List<Label> |
LabelManager.getRelatedLabels(Label label)
Retrieve the DEFAULT_LABEL_COUNT labels that are 'related' to the specified label.
|
List<Label> |
DefaultLabelManager.getRelatedLabels(Label label) |
List<Label> |
CachingLabelManager.getRelatedLabels(Label label,
int maxResults) |
List<Label> |
LabelManager.getRelatedLabels(Label label,
int maxResults)
Retrieve the labels that are 'related' to the specified label.
|
List<Label> |
DefaultLabelManager.getRelatedLabels(Label label,
int count) |
List<Label> |
CachingLabelManager.getRelatedLabels(List<? extends Label> labels,
String spaceKey,
int maxResultsPerLabel) |
List<Label> |
LabelManager.getRelatedLabels(List<? extends Label> labels,
String spaceKey,
int maxResultsPerLabel)
Retrieve the labels that are 'related' to the labels in the list.
|
List<Label> |
DefaultLabelManager.getRelatedLabels(List<? extends Label> labels,
String spaceKey,
int maxResultsPerLabel) |
List<Label> |
CachingLabelManager.getRelatedLabelsInSpace(Label label,
String spaceKey) |
List<Label> |
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.
|
List<Label> |
DefaultLabelManager.getRelatedLabelsInSpace(Label label,
String spaceKey) |
List<Label> |
CachingLabelManager.getRelatedLabelsInSpace(Label label,
String spaceKey,
int maxResults) |
List<Label> |
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.
|
List<Label> |
DefaultLabelManager.getRelatedLabelsInSpace(Label label,
String spaceKey,
int maxResults) |
List<Label> |
CachingLabelManager.getSuggestedLabelsInSpace(Labelable content,
String spaceKey,
int maxResults) |
List<Label> |
LabelManager.getSuggestedLabelsInSpace(Labelable content,
String spaceKey,
int maxResults)
Retrieve the suggested labels for the specified content bound to the specified space.
|
List<Label> |
CachingLabelManager.getTeamLabelsForSpaces(Collection<Space> spaces) |
List<Label> |
LabelManager.getTeamLabelsForSpaces(Collection<Space> spaces)
Retrieve all of the team labels used to label content in the specified spaces.
|
List<Label> |
DefaultLabelManager.getTeamLabelsForSpaces(Collection<Space> spaces) |
Modifier and Type | Method and Description |
---|---|
int |
CachingLabelManager.addLabel(ContentEntityObject content,
Label label)
Deprecated.
|
int |
LabelManager.addLabel(ContentEntityObject content,
Label label)
Deprecated.
since 4.2
|
int |
DefaultLabelManager.addLabel(ContentEntityObject content,
Label label) |
int |
CachingLabelManager.addLabel(Labelable content,
Label label) |
int |
LabelManager.addLabel(Labelable content,
Label label)
Add a label to the specified content.
|
int |
DefaultLabelManager.addLabel(Labelable labelable,
Label label) |
boolean |
SpecialLabelFilter.apply(Label label) |
boolean |
VisibleLabelFilter.apply(Label input) |
static ParsedLabelName |
LabelParser.create(Label label) |
Label |
CachingLabelManager.createLabel(Label label) |
Label |
LabelManager.createLabel(Label label) |
Label |
DefaultLabelManager.createLabel(Label label) |
boolean |
CachingLabelManager.deleteLabel(Label l) |
boolean |
LabelManager.deleteLabel(Label l)
Delete the specified label.
|
boolean |
DefaultLabelManager.deleteLabel(Label label) |
PartialList<ContentEntityObject> |
CachingLabelManager.getAllContentForAllLabels(int offset,
int maxResults,
Label... labels) |
PartialList<ContentEntityObject> |
LabelManager.getAllContentForAllLabels(int offset,
int maxResults,
Label... labels)
Retrieve all ContentEntityObjects, current or deleted which are labelled with ALL provided labels.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getAllContentForAllLabels(int offset,
int maxResults,
Label... labels) |
PartialList<ContentEntityObject> |
CachingLabelManager.getAllContentForLabel(int offset,
int maxResults,
Label label) |
PartialList<ContentEntityObject> |
LabelManager.getAllContentForLabel(int offset,
int maxResults,
Label label)
Retrieve all ContentEntityObjects, current or deleted which are labelled with the provided label.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getAllContentForLabel(int offset,
int maxResults,
Label label) |
List |
CachingLabelManager.getContent(Label label)
Deprecated.
|
List |
LabelManager.getContent(Label label)
Deprecated.
since 5.3. Use a method like
LabelManager.getContentForLabel(int, int, Label) that provides a specific return type. |
List |
DefaultLabelManager.getContent(Label label) |
int |
CachingLabelManager.getContentCount(Label label) |
int |
LabelManager.getContentCount(Label label) |
int |
DefaultLabelManager.getContentCount(Label label) |
PartialList<ContentEntityObject> |
CachingLabelManager.getContentForAllLabels(int offset,
int maxResults,
Label... labels) |
PartialList<ContentEntityObject> |
LabelManager.getContentForAllLabels(int offset,
int maxResults,
Label... labels)
Retrieve current ContentEntityObjects which are labelled with ALL provided labels.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getContentForAllLabels(int offset,
int maxResults,
Label... labels) |
PartialList<ContentEntityObject> |
CachingLabelManager.getContentForLabel(int offset,
int maxResults,
Label label) |
PartialList<ContentEntityObject> |
LabelManager.getContentForLabel(int offset,
int maxResults,
Label label)
Retrieve current ContentEntityObjects which are labelled with the provided label.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getContentForLabel(int offset,
int maxResults,
Label label) |
List<? extends Labelable> |
CachingLabelManager.getContentForLabel(Label label,
int maxResults)
Deprecated.
|
List<? extends Labelable> |
LabelManager.getContentForLabel(Label label,
int maxResults)
Deprecated.
since 5.3. Use
LabelManager.getAllContentForLabel(int, int, Label) . |
List<? extends Labelable> |
DefaultLabelManager.getContentForLabel(Label label,
int maxResults) |
PartialList<ContentEntityObject> |
CachingLabelManager.getContentInSpaceForAllLabels(int offset,
int maxResults,
String spaceKey,
Label... labels) |
PartialList<ContentEntityObject> |
LabelManager.getContentInSpaceForAllLabels(int offset,
int maxResults,
String spaceKey,
Label... labels)
Retrieve current ContentEntityObjects in the given space which are labelled with ALL provided labels.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getContentInSpaceForAllLabels(int offset,
int maxResults,
String spaceKey,
Label... labels) |
PartialList<ContentEntityObject> |
CachingLabelManager.getContentInSpaceForLabel(int offset,
int maxResults,
String spaceKey,
Label label) |
PartialList<ContentEntityObject> |
LabelManager.getContentInSpaceForLabel(int offset,
int maxResults,
String spaceKey,
Label label)
Retrieve current ContentEntityObjects in the given space which are labelled with the provided label.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getContentInSpaceForLabel(int offset,
int maxResults,
String spaceKey,
Label label) |
PartialList<ContentEntityObject> |
CachingLabelManager.getContentInSpacesForAllLabels(int offset,
int maxResults,
Set<String> spaceKeys,
Label... labels) |
PartialList<ContentEntityObject> |
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.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getContentInSpacesForAllLabels(int offset,
int maxResults,
Set<String> spaceKeys,
Label... labels) |
List<? extends Labelable> |
CachingLabelManager.getCurrentContentForLabel(Label label)
Deprecated.
|
List<? extends Labelable> |
LabelManager.getCurrentContentForLabel(Label label)
Deprecated.
since 5.3. Use
LabelManager.getContentForLabel(int, int, Label) . |
List |
DefaultLabelManager.getCurrentContentForLabel(Label label) |
List<? extends Labelable> |
CachingLabelManager.getCurrentContentForLabelAndSpace(Label label,
String spaceKey)
Deprecated.
|
List<? extends Labelable> |
LabelManager.getCurrentContentForLabelAndSpace(Label label,
String spaceKey)
Deprecated.
since 5.3. Use the
LabelManager.getContentInSpaceForLabel(int, int, String, Label) . |
List<? extends Labelable> |
DefaultLabelManager.getCurrentContentForLabelAndSpace(Label label,
String spaceKey) |
<T extends EditableLabelable> |
CachingLabelManager.getForLabel(Class<T> labelableClass,
int offset,
int maxResults,
Label label) |
<T extends EditableLabelable> |
LabelManager.getForLabel(Class<T> labelableClass,
int offset,
int maxResults,
Label label)
Retrieve EditableLabelables of the supplied type which are labelled with the provided label.
|
<T extends EditableLabelable> |
DefaultLabelManager.getForLabel(Class<T> labelableClass,
int offset,
int maxResults,
Label label) |
<T extends EditableLabelable> |
CachingLabelManager.getForLabels(Class<T> labelableClass,
int offset,
int maxResults,
Label... labels) |
<T extends EditableLabelable> |
LabelManager.getForLabels(Class<T> labelableClass,
int offset,
int maxResults,
Label... labels)
Retrieve EditableLabelables of the supplied type which are labelled with the provided labels.
|
<T extends EditableLabelable> |
DefaultLabelManager.getForLabels(Class<T> labelableClass,
int offset,
int maxResults,
Label... labels) |
PartialList<EditableLabelable> |
CachingLabelManager.getForLabels(int offset,
int maxResults,
Label... labels) |
PartialList<EditableLabelable> |
LabelManager.getForLabels(int offset,
int maxResults,
Label... labels)
Retrieve EditableLabelables of any type which are labelled with the provided labels.
|
PartialList<EditableLabelable> |
DefaultLabelManager.getForLabels(int offset,
int maxResults,
Label... labels) |
Label |
CachingLabelManager.getLabel(Label label) |
Label |
LabelManager.getLabel(Label label)
Retrieve the persistent instance of the label with the exact same details as the specified label.
|
Label |
DefaultLabelManager.getLabel(Label label) |
List<Label> |
CachingLabelManager.getRelatedLabels(Label label) |
List<Label> |
LabelManager.getRelatedLabels(Label label)
Retrieve the DEFAULT_LABEL_COUNT labels that are 'related' to the specified label.
|
List<Label> |
DefaultLabelManager.getRelatedLabels(Label label) |
List<Label> |
CachingLabelManager.getRelatedLabels(Label label,
int maxResults) |
List<Label> |
LabelManager.getRelatedLabels(Label label,
int maxResults)
Retrieve the labels that are 'related' to the specified label.
|
List<Label> |
DefaultLabelManager.getRelatedLabels(Label label,
int count) |
List<Label> |
CachingLabelManager.getRelatedLabelsInSpace(Label label,
String spaceKey) |
List<Label> |
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.
|
List<Label> |
DefaultLabelManager.getRelatedLabelsInSpace(Label label,
String spaceKey) |
List<Label> |
CachingLabelManager.getRelatedLabelsInSpace(Label label,
String spaceKey,
int maxResults) |
List<Label> |
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.
|
List<Label> |
DefaultLabelManager.getRelatedLabelsInSpace(Label label,
String spaceKey,
int maxResults) |
List |
CachingLabelManager.getSpacesContainingContentWithLabel(Label label) |
List |
LabelManager.getSpacesContainingContentWithLabel(Label label)
Look up the spaces that have been labelled by the specific label.
|
List |
DefaultLabelManager.getSpacesContainingContentWithLabel(Label label) |
List<Space> |
CachingLabelManager.getSpacesWithLabel(Label label) |
List<Space> |
LabelManager.getSpacesWithLabel(Label label)
Spaces cannot be directly labelled.
|
List |
DefaultLabelManager.getSpacesWithLabel(Label label) |
static boolean |
Namespace.isGlobal(Label l) |
static boolean |
Namespace.isPersonal(Label l) |
static boolean |
Namespace.isTeam(Label l) |
int |
CachingLabelManager.removeLabel(ContentEntityObject object,
Label label)
Deprecated.
|
int |
LabelManager.removeLabel(ContentEntityObject object,
Label label)
Deprecated.
since 4.2
|
int |
DefaultLabelManager.removeLabel(ContentEntityObject ceo,
Label label)
Deprecated.
|
int |
CachingLabelManager.removeLabel(Labelable object,
Label label) |
int |
LabelManager.removeLabel(Labelable object,
Label label)
Remove a label from the specified content.
|
int |
DefaultLabelManager.removeLabel(Labelable content,
Label label) |
static String |
LabelParser.render(Label label) |
static boolean |
LabelPermissionSupport.userCanEditLabel(Label label,
Labelable object,
PermissionManager permissionManager) |
static boolean |
LabelPermissionSupport.userCanEditLabelOrIsSpaceAdmin(Label label,
SpaceContentEntityObject object,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
List<? extends Labelable> |
CachingLabelManager.getContentForAllLabels(Collection<Label> labels,
int maxResults,
int offset)
Deprecated.
|
List<? extends Labelable> |
LabelManager.getContentForAllLabels(Collection<Label> labels,
int maxResults,
int offset)
Deprecated.
since 5.3. Use
LabelManager.getContentForAllLabels(int, int, Label...) instead. |
List<? extends Labelable> |
DefaultLabelManager.getContentForAllLabels(Collection<Label> labels,
int maxResults,
int offset) |
List<Label> |
CachingLabelManager.getRelatedLabels(List<? extends Label> labels,
String spaceKey,
int maxResultsPerLabel) |
List<Label> |
LabelManager.getRelatedLabels(List<? extends Label> labels,
String spaceKey,
int maxResultsPerLabel)
Retrieve the labels that are 'related' to the labels in the list.
|
List<Label> |
DefaultLabelManager.getRelatedLabels(List<? extends Label> labels,
String spaceKey,
int maxResultsPerLabel) |
Constructor and Description |
---|
Labelling(Label label,
EditableLabelable labelable,
ConfluenceUser user) |
Labelling(Label label,
EditableLabelable labelable,
String user)
Deprecated.
since 5.2.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Collection<Label>> |
AddFavouriteAction.getBean() |
Map<String,Collection<Label>> |
AddSpaceToFavouriteAjaxAction.getBean() |
Modifier and Type | Method and Description |
---|---|
Label |
LabelDao.findById(long id)
Find the label by its id.
|
Label |
LabelDao.findByLabel(Label label) |
Label |
LabelSearchResult.getLabel() |
Modifier and Type | Method and Description |
---|---|
List<Label> |
LabelDao.findBySingleDegreeSeparation(EditableLabelable content,
int maxResults)
Find the labels that are a single degree of separation away from the specified content.
|
List<Label> |
LabelDao.findBySingleDegreeSeparation(EditableLabelable content,
String spaceKey,
int maxResults) |
PageResponse<Label> |
LabelDao.findGlobalLabelsByNamePrefix(String namePrefix,
LimitedRequest pageRequest)
Returns global-namespaced labels starting with the given string.
|
Modifier and Type | Method and Description |
---|---|
PartialList<ContentEntityObject> |
LabelDao.findAllContentForAllLabels(int offset,
int maxResults,
Label... labels)
Retrieve all ContentEntityObjects which are labelled with ALL provided labels.
|
Label |
LabelDao.findByLabel(Label label) |
List |
LabelDao.findBySingleDegreeSeparation(Label label,
int maxResults)
Find the labels that are a single degree of separation away from the specified label.
|
List |
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. Use a findContentForAllLabels variant with an offset and maxResults.
|
PartialList<ContentEntityObject> |
LabelDao.findContentInSpaceForAllLabels(int offset,
int maxResults,
String spaceKey,
Label... labels)
Retrieve current ContentEntityObjects in the space which are labelled with ALL provided labels.
|
PartialList<ContentEntityObject> |
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. Use
LabelDao.findForAllLabels(Class, int, int, Label...) |
List<? extends EditableLabelable> |
LabelDao.findCurrentContentForLabelAndSpace(Label label,
String spaceKey)
Deprecated.
|
<T extends EditableLabelable> |
LabelDao.findForAllLabels(Class<T> labelableClass,
int offset,
int maxResults,
Label... labels)
Retrieve current EditableLabelables which are labelled with ALL provided labels.
|
PartialList<EditableLabelable> |
LabelDao.findForAllLabels(int offset,
int maxResults,
Label... labels)
Retrieve EditableLabelables which are labelled with ALL provided labels.
|
Labelling |
LabelDao.findLabellingByContentAndLabel(EditableLabelable content,
Label label) |
List |
LabelDao.findSpacesContainingContentWithLabel(Label label) |
List |
LabelDao.findSpacesWithLabel(Label label) |
Constructor and Description |
---|
LabelSearchResult(Label label,
int count) |
RankedLabelSearchResult(Label label,
int rank,
int count) |
Modifier and Type | Method and Description |
---|---|
Label |
HibernateLabelDao.findById(long id) |
Label |
HibernateLabelDao.findByLabel(Label label) |
Modifier and Type | Method and Description |
---|---|
List<Label> |
HibernateLabelDao.findByDetailsInSpaces(String name,
String namespace,
String owner,
Collection<Space> spaces) |
List<Label> |
HibernateLabelDao.findBySingleDegreeSeparation(EditableLabelable content,
int maxResults) |
List<Label> |
HibernateLabelDao.findBySingleDegreeSeparation(EditableLabelable content,
String spaceKey,
int maxResults) |
PageResponse<Label> |
HibernateLabelDao.findGlobalLabelsByNamePrefix(String namePrefix,
LimitedRequest pageRequest) |
Modifier and Type | Method and Description |
---|---|
PartialList<ContentEntityObject> |
HibernateLabelDao.findAllContentForAllLabels(int offset,
int maxResults,
Label... labels) |
Label |
HibernateLabelDao.findByLabel(Label label) |
List |
HibernateLabelDao.findBySingleDegreeSeparation(Label label,
int maxResults) |
List |
HibernateLabelDao.findBySingleDegreeSeparation(Label label,
String spaceKey,
int maxResults) |
int |
HibernateLabelDao.findContentCountForLabel(Label label) |
List<? extends EditableLabelable> |
HibernateLabelDao.findContentForLabel(Label label,
int maxResults) |
PartialList<ContentEntityObject> |
HibernateLabelDao.findContentInSpaceForAllLabels(int offset,
int maxResults,
String spaceKey,
Label... labels) |
PartialList<ContentEntityObject> |
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) |
<T extends EditableLabelable> |
HibernateLabelDao.findForAllLabels(Class<T> labelableClass,
int offset,
int maxResults,
Label... labels) |
PartialList<EditableLabelable> |
HibernateLabelDao.findForAllLabels(int offset,
int maxResults,
Label... labelsArray) |
Labelling |
HibernateLabelDao.findLabellingByContentAndLabel(EditableLabelable content,
Label label) |
List |
HibernateLabelDao.findSpacesContainingContentWithLabel(Label label) |
List |
HibernateLabelDao.findSpacesWithLabel(Label label) |
Modifier and Type | Method and Description |
---|---|
Collection<Label> |
AddLabelsCommandImpl.getAddedLabels()
Returns a list of labels that were added.
|
Collection<Label> |
AddLabelsCommand.getAddedLabels()
Returns the labels that were added
|
Collection<Label> |
ValidateLabelsCommand.getValidLabels() |
Collection<Label> |
ValidateLabelsCommandImpl.getValidLabels() |
Modifier and Type | Method and Description |
---|---|
RemoveLabelCommand |
DefaultLabelsService.newRemoveLabelCommand(Label label,
com.atlassian.user.User user,
long entityId) |
RemoveLabelCommand |
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.
|
RemoveLabelCommand |
DefaultLabelsService.newRemoveLabelCommand(Label label,
com.atlassian.user.User user,
long entityId,
String entityType) |
RemoveLabelCommand |
LabelsService.newRemoveLabelCommand(Label label,
com.atlassian.user.User user,
long entityId,
String entityType) |
Constructor and Description |
---|
RemoveLabelCommandImpl(Label label,
com.atlassian.user.User user,
long entityId,
LabelManager labelManager,
PermissionManager permissionManager,
SpaceManager spaceManager,
PageTemplateManager pageTemplateManager,
ContentEntityManager contentEntityManager) |
RemoveLabelCommandImpl(Label label,
com.atlassian.user.User user,
long entityId,
String entityType,
LabelManager labelManager,
PermissionManager permissionManager,
SpaceManager spaceManager,
PageTemplateManager pageTemplateManager,
ContentEntityManager contentEntityManager) |
Modifier and Type | Method and Description |
---|---|
Label |
Notification.getLabel() |
Modifier and Type | Method and Description |
---|---|
boolean |
NotificationManager.addLabelNotification(com.atlassian.user.User user,
Label label) |
boolean |
DefaultNotificationManager.addLabelNotification(com.atlassian.user.User user,
Label label) |
List<Notification> |
NotificationManager.getNotificationsByLabel(Label label) |
List<Notification> |
DefaultNotificationManager.getNotificationsByLabel(Label label) |
boolean |
NotificationManager.isWatchingLabel(com.atlassian.user.User user,
Label label) |
boolean |
DefaultNotificationManager.isWatchingLabel(com.atlassian.user.User user,
Label label) |
void |
NotificationManager.removeLabelNotification(com.atlassian.user.User user,
Label label) |
void |
DefaultNotificationManager.removeLabelNotification(com.atlassian.user.User user,
Label label) |
void |
Notification.setLabel(Label label) |
Modifier and Type | Method and Description |
---|---|
Notification |
NotificationDao.findNotificationByUserAndLabel(com.atlassian.user.User user,
Label label)
Find any user notification linked to the specified label.
|
List<Notification> |
NotificationDao.findNotificationsByLabel(Label label) |
Modifier and Type | Method and Description |
---|---|
Notification |
HibernateNotificationDao.findNotificationByUserAndLabel(com.atlassian.user.User user,
Label label) |
List<Notification> |
HibernateNotificationDao.findNotificationsByLabel(Label label) |
Modifier and Type | Method and Description |
---|---|
protected List<Label> |
AbstractPageAction.getLabels() |
protected List<Label> |
AbstractCreateAndEditPageAction.getLabels()
Metadata is now retrieved from the existing page, if it exists, otherwise it is stored on the
draft (i.e.
|
protected List<Label> |
PageVariablesAction.getLabels() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCreateAndEditPageAction.setLabelsString(List<Label> labels) |
Modifier and Type | Method and Description |
---|---|
Map<String,Collection<Label>> |
AddLabelAction.getBean() |
List<Label> |
AbstractLabelDisplayingAction.getPopularLabels() |
List<Label> |
AbstractLabelDisplayingAction.getRecentLabels() |
Modifier and Type | Method and Description |
---|---|
DisplayableLabel |
ViewLabelAction.getAddLabel(Label label)
Returns a DisplayableLabel representing the currently viewed labels
and the given label.
|
DisplayableLabel |
ViewLabelAction.getRemoveLabel(Label label)
Returns a DisplayableLabel representing the currently viewed labels,
minus the given label.
|
Modifier and Type | Method and Description |
---|---|
LabelEntity |
LabelEntityBuilder.build(Label label) |
Modifier and Type | Method and Description |
---|---|
List<Label> |
ViewSpaceDirectoryAction.getTeamLabels() |
Modifier and Type | Method and Description |
---|---|
List<Label> |
AbstractPageTemplateAction.getLabels() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractPageTemplateAction.setLabels(List<Label> labels) |
Constructor and Description |
---|
RemoteLabel(Label label) |
Modifier and Type | Method and Description |
---|---|
List<Label> |
SearchSiteAction.getRelatedLabels()
Deprecated.
Returns a list of related labels to the labels matching the search result
|
Constructor and Description |
---|
InheritedLabelQuery(Label label)
Construct a LabelQuery directly from the Label instance to be searched for
|
LabelQuery(Label label)
Construct a LabelQuery directly from the Label instance to be searched for
|
Modifier and Type | Method and Description |
---|---|
List<Label> |
SpacesQuery.getLabels() |
Modifier and Type | Method and Description |
---|---|
SpacesQuery.Builder |
SpacesQuery.Builder.withLabel(Label label) |
Modifier and Type | Method and Description |
---|---|
SpacesQuery.Builder |
SpacesQuery.Builder.withLabels(Iterable<Label> labels) |
Modifier and Type | Method and Description |
---|---|
Label |
EditSpaceLabelAction.addLabel(Space space,
String labelName) |
Modifier and Type | Method and Description |
---|---|
List<Label> |
CreateRssFeedAction.getLabels()
uses the label String to create a list of label objects to pass into the query object.
|
Modifier and Type | Method and Description |
---|---|
Label |
ViewMyLabelsAction.getCurrentLabel() |
Label |
ViewMyFavouritesAction.getCurrentLabel() |
Modifier and Type | Method and Description |
---|---|
Collection<Label> |
ViewMyLabelsAction.getMyLabels() |
Modifier and Type | Method and Description |
---|---|
int |
ViewMyLabelsAction.getContentCount(Label l) |
int |
ViewMyFavouritesAction.getContentCount(Label l) |
Modifier and Type | Method and Description |
---|---|
void |
UserHistory.addLabel(Label label) |
Modifier and Type | Method and Description |
---|---|
static 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 Type | Method and Description |
---|---|
static List<Label> |
LabelUtil.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) |
static List<Label> |
LabelUtil.getLabelsFor(String labels,
LabelManager labelManager) |
Modifier and Type | Method and Description |
---|---|
static boolean |
LabelUtil.isFavouriteLabel(Label label)
Checks if the given label is of "Favourite" type
(
LabelManager.FAVOURITE_LABEL or
LabelManager.FAVOURITE_LABEL_YANKEE ). |
static void |
LabelUtil.recordLabelInteractionInHistory(Label label) |
Modifier and Type | Method and Description |
---|---|
static int |
LabelUtil.countLabelsWithoutFavourites(Collection<Label> labels)
Counts the labels present in an input collection.
|
static String |
LabelUtil.getLabelsHash(List<Label> labels) |
Copyright © 2003–2018 Atlassian. All rights reserved.