public class Labelling extends com.atlassian.core.bean.EntityObject implements Serializable
Constructor and Description |
---|
Labelling()
Available so that newInstance can be used by hibernate to create this object.
|
Labelling(Label label,
EditableLabelable labelable,
ConfluenceUser user) |
Labelling(Label label,
EditableLabelable labelable,
String user)
Deprecated.
since 5.2.
|
Modifier and Type | Method and Description |
---|---|
Labelling |
copy() |
Labelling |
copy(EditableLabelable labelable)
Copies the current Labelling, but providing it with a new EditableLabelable.
|
boolean |
equals(Object o) |
protected Attachment |
getAttachment()
Deprecated.
Since 5.7. Use
getContent() instead |
protected ContentEntityObject |
getContent() |
Label |
getLabel() |
EditableLabelable |
getLableable()
Getter for the content entity object associated with this labelling.
|
ConfluenceUser |
getOwningUser() |
protected PageTemplate |
getPageTemplate() |
String |
getUser()
Deprecated.
since 5.2. User
getOwningUser() instead. |
int |
hashCode() |
protected void |
setAttachment(Attachment attachment)
Deprecated.
Since 5.7. Use
setContent(com.atlassian.confluence.core.ContentEntityObject) instead |
protected void |
setContent(ContentEntityObject ceo) |
protected void |
setLabelable(EditableLabelable labelable)
Setter for the content entity object associated with this labelling.
|
protected void |
setPageTemplate(PageTemplate pageTemplate) |
String |
toString() |
@Deprecated public Labelling(Label label, EditableLabelable labelable, String user)
label
- labelable
- user
- the username of the user who owns this LabellingsIllegalArgumentException
- if the user does not identify a known userpublic Labelling(Label label, EditableLabelable labelable, ConfluenceUser user)
public Labelling()
public EditableLabelable getLableable()
protected void setLabelable(EditableLabelable labelable)
public Label getLabel()
@Deprecated public String getUser()
getOwningUser()
instead.public ConfluenceUser getOwningUser()
public boolean equals(Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
@Deprecated protected Attachment getAttachment()
getContent()
insteadprotected PageTemplate getPageTemplate()
protected ContentEntityObject getContent()
@Deprecated protected void setAttachment(Attachment attachment)
setContent(com.atlassian.confluence.core.ContentEntityObject)
insteadprotected void setPageTemplate(PageTemplate pageTemplate)
protected void setContent(ContentEntityObject ceo)
public Labelling copy()
public Labelling copy(EditableLabelable labelable)
Copyright © 2003–2015 Atlassian. All rights reserved.