java.lang.Object | ||
↳ | com.atlassian.core.bean.EntityObject | |
↳ | com.atlassian.confluence.labels.Label |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Equals implementation is a value based implementation.
| |||||||||||
Returns the label's name only.
| |||||||||||
Return the title as a combination of the namespace and the label name.
| |||||||||||
Generates the url path for a label.
| |||||||||||
Generates the url path for a label in the context of a given space i.e.
| |||||||||||
This label is persistent iff the id is not 0.
| |||||||||||
Returns true if the label's title is safe to pass in the URL.
| |||||||||||
Determines whether the label should be made visible to a particular user.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.core.bean.EntityObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.confluence.core.Addressable
| |||||||||||
From interface
com.atlassian.confluence.core.ContentTypeAware
| |||||||||||
From interface
com.atlassian.confluence.labels.DisplayableLabel
| |||||||||||
From interface
java.lang.Comparable
|
Equals implementation is a value based implementation. It does not take into account the 'persistence' state of this label instance.
Return the title as a combination of the namespace and the label name.
Generates the url path for a label in the context of a given space i.e. the user is taken to a page
that contains content for that space only.
If no space if provided, getUrlPath()
is called.
This label is persistent iff the id is not 0.
Returns true if the label's title is safe to pass in the URL.
eg. my:foo is safe, perc% is not safe. chicken+cheese is safe in a "combined" label.
Determines whether the label should be made visible to a particular user. This does not check the permissions on labelled content, you will need to do that separately
username | the username of the user who wishes to see the label |
---|