public abstract class AbstractLabelableEntityObject extends AbstractVersionedEntityObject implements EditableLabelable
INITIAL_VERSION| Constructor and Description | 
|---|
| AbstractLabelableEntityObject() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addLabelling(Labelling content) | 
| Object | clone() | 
| List<Label> | getGlobalLabels(com.atlassian.user.User user)List the labels on this content that are global labels | 
| int | getLabelCount()Get the number of labels that are associated with this object. | 
| List<Labelling> | getLabellings() | 
| List<Label> | getLabels()Retrieve the labels that are associated with this object. | 
| List<Label> | 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. | 
| LabelUtil | getLabelUtil()Deprecated. 
 since 5.2. Use  LabelUtildirectly. | 
| List<Label> | getPersonalLabels(com.atlassian.user.User user)List the labels on this content that are personal labels for a particular user | 
| List<Label> | getTeamLabels(com.atlassian.user.User user)List the labels on this content that are team labels for a particular user | 
| List<Label> | getVisibleLabels(com.atlassian.user.User user)List the labels on this content that are visible to a particular user | 
| boolean | isFavourite(ConfluenceUser user)Is this object marked as somebody's favourite? | 
| boolean | isFavourite(com.atlassian.user.User user)Deprecated. 
 since 5.2. Use  isFavourite(com.atlassian.confluence.user.ConfluenceUser)instead. | 
| void | removeLabelling(Labelling labelling) | 
| protected void | setLabellings(List<Labelling> labellings) | 
applyChildVersioningPolicy, convertToHistoricalVersion, getConfluenceRevision, getLatestVersion, getOriginalVersion, getVersion, getVersionChildPolicy, isLatestVersion, isNew, setOriginalVersion, setVersiongetCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierNameequals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDatefinalize, getClass, notify, notifyAll, toString, wait, wait, waitgetId, getTitle, isPersistentpublic List<Label> getLabels()
Labelablepublic int getLabelCount()
LabelablegetLabelCount in interface Labelablepublic boolean isFavourite(ConfluenceUser user)
LabelableisFavourite in interface Labelableuser - the user who is being checked against. If user is null
             this method must always return false (anonymous users can not
             mark anything as a favourite, obviously)@Deprecated public boolean isFavourite(com.atlassian.user.User user)
isFavourite(com.atlassian.confluence.user.ConfluenceUser) instead.isFavourite in interface Labelablepublic List<Label> getVisibleLabels(com.atlassian.user.User user)
user - the userpublic List<Label> getPersonalLabels(com.atlassian.user.User user)
user - the userpublic List<Label> getGlobalLabels(com.atlassian.user.User user)
user - the userpublic List<Label> getTeamLabels(com.atlassian.user.User user)
user - the userpublic List<Label> getLabelsForDisplay(com.atlassian.user.User user)
user - the user@Deprecated public LabelUtil getLabelUtil()
LabelUtil directly.public List<Labelling> getLabellings()
getLabellings in interface EditableLabelablepublic void addLabelling(Labelling content)
addLabelling in interface EditableLabelablepublic void removeLabelling(Labelling labelling)
removeLabelling in interface EditableLabelablepublic Object clone() throws CloneNotSupportedException
clone in class com.atlassian.core.bean.EntityObjectCloneNotSupportedExceptionCopyright © 2003–2017 Atlassian. All rights reserved.