public class EntitySelection extends Object implements Comparable<EntitySelection>
| Modifier and Type | Class and Description |
|---|---|
static class |
EntitySelection.State
Define the inner state of the EntitySelection.
|
| Constructor and Description |
|---|
EntitySelection(org.xwiki.model.reference.EntityReference entityReference)
Construct an EntitySelection.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EntitySelection entitySelection) |
boolean |
equals(Object object) |
org.xwiki.model.reference.EntityReference |
getEntityReference() |
EntitySelection.State |
getState() |
int |
hashCode() |
boolean |
isSelected() |
void |
setSelected(boolean selected)
Change the state of the entity.
|
public EntitySelection(org.xwiki.model.reference.EntityReference entityReference)
entityReference - the reference of the entity concerned by the refactoringpublic org.xwiki.model.reference.EntityReference getEntityReference()
public boolean isSelected()
public EntitySelection.State getState()
public void setSelected(boolean selected)
selected - either or not the user has selected the entitypublic int compareTo(EntitySelection entitySelection)
compareTo in interface Comparable<EntitySelection>Copyright © 2004–2021 XWiki. All rights reserved.