Uses of Interface
com.atlassian.confluence.labels.Labelable
Package
Description
-
Uses of Labelable in com.atlassian.confluence.content
Modifier and TypeClassDescriptionclass
Generic ContentEntityObject that plugins can use to extend Confluence's content system. -
Uses of Labelable in com.atlassian.confluence.core
Modifier and TypeClassDescriptionclass
class
class
A ContentEntityObject that is a first-class member of a Space (i.e. -
Uses of Labelable in com.atlassian.confluence.event.events.label
ModifierConstructorDescriptionLabelAddEvent
(Label source, Labelable labelled) LabelEvent
(Label source, Labelable labelled) LabelRemoveEvent
(Label source, Labelable labelled) -
Uses of Labelable in com.atlassian.confluence.impl.labels
Modifier and TypeMethodDescriptionCachingLabelManager.getContent
(Label label) CachingLabelManager.getContentForAllLabels
(Collection<Label> labels, int maxResults, int offset) CachingLabelManager.getCurrentContentForLabel
(Label label) CachingLabelManager.getCurrentContentForLabelAndSpace
(Label label, String spaceKey) CachingLabelManager.getCurrentContentWithPersonalLabel
(String username) Modifier and TypeMethodDescriptionint
CachingLabelManager.getSuggestedLabels
(Labelable content) CachingLabelManager.getSuggestedLabels
(Labelable content, int maxResults) CachingLabelManager.getSuggestedLabelsInSpace
(Labelable content, String spaceKey) CachingLabelManager.getSuggestedLabelsInSpace
(Labelable content, String spaceKey, int maxResults) boolean
LabelPermissionEnforcerImpl.isLabelableByUser
(Labelable object) void
CachingLabelManager.removeAllLabels
(Labelable content) int
CachingLabelManager.removeLabel
(Labelable object, Label label) void
CachingLabelManager.removeLabels
(Labelable object, List<Label> labels) boolean
LabelPermissionEnforcerImpl.userCanEditLabel
(Label label, Labelable object) boolean
LabelPermissionEnforcerImpl.userCanEditLabel
(ParsedLabelName ref, Labelable object) boolean
LabelPermissionEnforcerImpl.userCanViewObject
(Labelable object) -
Uses of Labelable in com.atlassian.confluence.impl.search.actions
Modifier and TypeMethodDescriptionSearchSiteAction.getLabelNames
(Labelable obj) Deprecated.Retrieve a comma separated string of label names. -
Uses of Labelable in com.atlassian.confluence.labels
Modifier and TypeInterfaceDescriptioninterface
An interface which extends the immutable interface of Labelable with functionality to be able to add and remove labels.Modifier and TypeClassDescriptionclass
This wrapper exposes only those labels and functions of the labelable object that the specified user is permitted to view.Modifier and TypeMethodDescriptionDefaultLabelManager.getContent
(Label label) LabelManager.getContent
(Label label) Deprecated.since 5.3.DefaultLabelManager.getContentForAllLabels
(Collection<Label> labels, int maxResults, int offset) LabelManager.getContentForAllLabels
(Collection<Label> labels, int maxResults, int offset) Deprecated.since 5.3.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.DefaultLabelManager.getCurrentContentWithPersonalLabel
(String username) LabelManager.getCurrentContentWithPersonalLabel
(String username) Get all current content labelled by a userModifier and TypeMethodDescriptionint
int
Add a label to the specified content.ParsedLabelName.addLabel
(Labelable labelable, LabelManager labelManager) 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.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.boolean
LabelPermissionEnforcer.isLabelableByUser
(Labelable object) Checks that the object permits labels to be edited by the logged in user.static boolean
LabelPermissionSupport.isLabelableByUser
(Labelable object, PermissionManager permissionManager) Deprecated.Checks that the object permits labels to be edited by the logged in user.void
DefaultLabelManager.removeAllLabels
(Labelable content) void
LabelManager.removeAllLabels
(Labelable content) Remove all of the labels from the specified content.int
DefaultLabelManager.removeLabel
(Labelable content, Label label) int
LabelManager.removeLabel
(Labelable object, Label label) Remove a label from the specified content.void
DefaultLabelManager.removeLabels
(Labelable content, List<Label> labels) void
LabelManager.removeLabels
(Labelable object, List<Label> labels) removes a list of labels from the labelable objectboolean
LabelPermissionEnforcer.userCanEditLabel
(Label label, Labelable object) Check if the user can edit a label of an objectboolean
LabelPermissionEnforcer.userCanEditLabel
(ParsedLabelName ref, Labelable object) Check if the user can edit a label of an objectstatic boolean
LabelPermissionSupport.userCanEditLabel
(Label label, Labelable object, PermissionManager permissionManager) Deprecated.static boolean
LabelPermissionSupport.userCanEditLabel
(ParsedLabelName ref, Labelable object, PermissionManager permissionManager) Deprecated.boolean
LabelPermissionEnforcer.userCanViewObject
(Labelable object) Check if the user can view the labelable objectstatic boolean
LabelPermissionSupport.userCanViewObject
(Labelable object, PermissionManager permissionManager) Deprecated.ModifierConstructorDescriptionPermittedLabelView
(Labelable original, com.atlassian.user.User actingUser, boolean hideSpecialLabels) -
Uses of Labelable in com.atlassian.confluence.labels.actions
Modifier and TypeMethodDescriptionAddFavouriteAction.getEntity()
Used so that the links are correctly built when JS is disabledAddSpaceToFavouriteAjaxAction.getEntity()
Used so that the links are correctly built when JS is disabledRemoveFavouriteAction.getEntity()
Used so that the links are correctly built when JS is disabledRemoveSpaceFromFavouriteAjaxAction.getEntity()
Used so that the links are correctly built when JS is disabled -
Uses of Labelable in com.atlassian.confluence.labels.service
-
Uses of Labelable in com.atlassian.confluence.pages
Modifier and TypeClassDescriptionclass
Parent of the concrete Page and BlogPost classesclass
class
class
class
This is the old way of dealing with drafts in Confluence and will be deprecated soon.class
Represents a Page within Confluence.class
Deprecated, for removal: This API element is subject to removal in a future version.since 9.1, useAttachment
directly. -
Uses of Labelable in com.atlassian.confluence.pages.templates
-
Uses of Labelable in com.atlassian.confluence.plugins.labels.actions
Modifier and TypeMethodDescriptionAddLabelAction.getEntity()
Used so that the links are correctly built when JS is disabledRemoveLabelAction.getEntity()
Used so that the links are correctly built when JS is disabledModifier and TypeMethodDescriptionViewLabelAction.getOtherLabels
(Labelable content) Returns the first nine global labels on the given content that are not this.label. -
Uses of Labelable in com.atlassian.confluence.setup.settings
Modifier and TypeClassDescriptionclass
Content Entity Object that is associated with the whole confluence rather then a specific space/page/user. -
Uses of Labelable in com.atlassian.confluence.spaces
-
Uses of Labelable in com.atlassian.confluence.user
-
Uses of Labelable 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.static String
LabelUtil.convertToDelimitedString
(Labelable obj, com.atlassian.user.User user) Helper method converting list of labels associated with the labelable object into a space separated string of the label names.static boolean
LabelUtil.syncState
(String source, LabelManager labelManager, com.atlassian.user.User user, Labelable dest) Neat method that will synchronize a space separated list of label names with the labels contained within the labelable object.static boolean
LabelUtil.syncState
(String source, LabelManager labelManager, com.atlassian.user.User user, Labelable dest, boolean ignored) Deprecated.since 5.1.static boolean
LabelUtil.syncState
(Collection<String> labelNames, LabelManager labelManager, com.atlassian.user.User user, Labelable dest) static boolean
LabelUtil.syncState
(List<Label> source, LabelManager labelManager, com.atlassian.user.User user, Labelable dest)