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 booleanequals(Object o)intgetCount()longgetId()StringgetLowerUserName()StringgetName()StringgetNamespace()StringgetUrlPath()StringgetUrlPath(String currentSpaceKey)inthashCode()voidsetCount(int count)voidsetId(long id)voidsetName(String name)voidsetNamespace(String namespace)voidsetUser(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:
getCountin interfaceCountableLabel
-
setCount
public void setCount(int count)
-
getLowerUserName
public String getLowerUserName()
-
setUser
public void setUser(String lowerUserName)
-
getUrlPath
public String getUrlPath()
-
-