@Entity public class QuickFilterEntity extends com.atlassian.core.bean.EntityObject implements QuickFilter
Constructor and Description |
---|
QuickFilterEntity(String name) |
Modifier and Type | Method and Description |
---|---|
QuickFilterEntity |
copy()
Returns independent copy of this quick filter.
|
String |
getName()
Get the unique name of this quick filter.
|
int |
getPosition()
Get the position of this quick filter on the quick filters list.
|
List<QuickFilterRule> |
getRules()
Returns a list of rules for this quick filter.
|
void |
setName(String name)
Set quick filter's unique name.
|
void |
setPosition(int position)
Sets the position of this quick filter on the quick filters list.
|
void |
setRules(List<QuickFilterRule> rules)
Set the rules for this quick filter.
|
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
setId
getId
public QuickFilterEntity(@NotNull String name)
@NotNull public QuickFilterEntity copy()
QuickFilter
copy
in interface QuickFilter
@NotNull public String getName()
QuickFilter
getName
in interface QuickFilter
getName
in interface NameProvider
public void setName(@NotNull String name)
QuickFilter
setName
in interface QuickFilter
name
- new name of this quick filterpublic int getPosition()
QuickFilter
getPosition
in interface QuickFilter
public void setPosition(int position)
QuickFilter
setPosition
in interface QuickFilter
position
- new quick filter position index@NotNull public List<QuickFilterRule> getRules()
QuickFilter
getRules
in interface QuickFilter
public void setRules(@NotNull List<QuickFilterRule> rules)
QuickFilter
setRules
in interface QuickFilter
rules
- quick filter rulesCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.