Package org.xwiki.eventstream.query
Class StatusQueryCondition
- java.lang.Object
-
- org.xwiki.eventstream.query.QueryCondition
-
- org.xwiki.eventstream.query.AbstractEntityQueryCondition
-
- org.xwiki.eventstream.query.StatusQueryCondition
-
public class StatusQueryCondition extends AbstractEntityQueryCondition
A condition related to the status of an event for a specific entity.- Since:
- 12.5RC1
- Version:
- $Id: 549cb5be8f9a18df695796712ce0415eb579ec78 $
-
-
Constructor Summary
Constructors Constructor Description StatusQueryCondition(String statusEntityId, Boolean statusRead, boolean reversed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Boolean
getStatusRead()
int
hashCode()
String
toString()
-
Methods inherited from class org.xwiki.eventstream.query.AbstractEntityQueryCondition
getStatusEntityId
-
Methods inherited from class org.xwiki.eventstream.query.QueryCondition
isReversed
-
-
-
-
Constructor Detail
-
StatusQueryCondition
public StatusQueryCondition(String statusEntityId, Boolean statusRead, boolean reversed)
- Parameters:
statusEntityId
- the entity associated with the eventsstatusRead
- indicate if read or unread event should be selected, null if disabledreversed
- true if the condition should be reversed
-
-
Method Detail
-
getStatusRead
public Boolean getStatusRead()
- Returns:
- indicate if read or unread event should be selected, null if disabled
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractEntityQueryCondition
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classAbstractEntityQueryCondition
-
toString
public String toString()
- Overrides:
toString
in classAbstractEntityQueryCondition
-
-