Class LiteLabelSearchResult
- java.lang.Object
-
- com.atlassian.confluence.labels.dto.LiteLabelSearchResult
-
- All Implemented Interfaces:
CountableLabel
,Serializable
- Direct Known Subclasses:
RankedLiteLabelSearchResult
public class LiteLabelSearchResult extends Object implements CountableLabel, Serializable
It's a replacement for LabelSearchResult. This class does not have any references to Hibernate objects- Since:
- 7.7.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LiteLabelSearchResult()
LiteLabelSearchResult(long id, String name, String namespace, String lowerUserName, int count)
LiteLabelSearchResult(Label label)
LiteLabelSearchResult(Label label, int count)
LiteLabelSearchResult(LabelSearchResult labelSearchResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getCount()
long
getId()
String
getLowerUserName()
String
getName()
String
getNamespace()
String
getUrlPath()
String
getUrlPath(String currentSpaceKey)
int
hashCode()
void
setCount(int count)
void
setId(long id)
void
setName(String name)
void
setNamespace(String namespace)
void
setUser(String lowerUserName)
-
-
-
Constructor Detail
-
LiteLabelSearchResult
public LiteLabelSearchResult()
-
LiteLabelSearchResult
public LiteLabelSearchResult(Label label)
-
LiteLabelSearchResult
public LiteLabelSearchResult(LabelSearchResult labelSearchResult)
-
LiteLabelSearchResult
public LiteLabelSearchResult(Label label, int count)
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getNamespace
public String getNamespace()
-
setNamespace
public void setNamespace(String namespace)
-
getCount
public int getCount()
- Specified by:
getCount
in interfaceCountableLabel
-
setCount
public void setCount(int count)
-
getLowerUserName
public String getLowerUserName()
-
setUser
public void setUser(String lowerUserName)
-
getUrlPath
public String getUrlPath()
-
-