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)
Deprecated.
|
int |
getLabelCount()
Deprecated.
|
List<Labelling> |
getLabellings() |
List<Label> |
getLabels()
Deprecated.
|
List<Label> |
getLabelsForDisplay(com.atlassian.user.User user)
Deprecated.
|
List<Label> |
getPersonalLabels(com.atlassian.user.User user)
Deprecated.
|
List<Label> |
getTeamLabels(com.atlassian.user.User user)
Deprecated.
|
List<Label> |
getVisibleLabels(com.atlassian.user.User user)
Deprecated.
|
void |
removeLabelling(Labelling labelling) |
protected void |
setLabellings(List<Labelling> labellings) |
applyChildVersioningPolicy, convertToHistoricalVersion, getConfluenceRevision, getLatestVersion, getOriginalVersion, getVersion, getVersionChildPolicy, isLatestVersion, isNew, setOriginalVersion, setVersion
getCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierName
equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getId, getTitle, isPersistent
@Deprecated public List<Label> getLabels()
LabelManager.getLabelsForContent(ContentEntityObject)
Labelable
@Deprecated public int getLabelCount()
LabelManager.getLabelsForContent(ContentEntityObject)
Labelable
getLabelCount
in interface Labelable
@Deprecated public List<Label> getVisibleLabels(com.atlassian.user.User user)
LabelManager.getLabelsForContent(ContentEntityObject)
user
- the user@Deprecated public List<Label> getPersonalLabels(com.atlassian.user.User user)
LabelManager.getLabelsForContent(ContentEntityObject)
user
- the user@Deprecated public List<Label> getGlobalLabels(com.atlassian.user.User user)
LabelManager.getLabelsForContent(ContentEntityObject)
user
- the user@Deprecated public List<Label> getTeamLabels(com.atlassian.user.User user)
LabelManager.getLabelsForContent(ContentEntityObject)
user
- the user@Deprecated public List<Label> getLabelsForDisplay(com.atlassian.user.User user)
LabelManager.getLabelsForContent(ContentEntityObject)
user
- the userpublic List<Labelling> getLabellings()
getLabellings
in interface EditableLabelable
public void addLabelling(Labelling content)
addLabelling
in interface EditableLabelable
public void removeLabelling(Labelling labelling)
removeLabelling
in interface EditableLabelable
public Object clone() throws CloneNotSupportedException
clone
in class EntityObject
CloneNotSupportedException
Copyright © 2003–2017 Atlassian. All rights reserved.