|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.nuiton.wikitty.WikittyServiceEvent
public class WikittyServiceEvent
Wikitty service event. Contains :
| Field Summary | |
|---|---|
protected Map<String,Set<String>> |
idExtensions
Map between extensions set for each id. |
protected Set<String> |
ids
Id managed by event. |
protected Map<String,String> |
idVersions
Map between versions for each id. |
protected boolean |
remote
Remote event (received from jgroup). |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
WikittyServiceEvent(Object source)
Constructor with source WikittyService. |
|
| Method Summary | |
|---|---|
Map<String,Set<String>> |
getIdExtensions()
Get id and extensions map. |
Set<String> |
getIds()
Get ids. |
Map<String,String> |
getIdVersions()
Get id and version map. |
boolean |
isRemote()
Is event remote. |
void |
setIdExtensions(Map<String,Set<String>> idExtensions)
Change id and extensions map. |
void |
setIds(Set<String> ids)
Set ids. |
void |
setIdVersions(Map<String,String> idVersions)
Set id and version map. |
void |
setRemote(boolean remote)
Change remote event property. |
void |
setSource(Object source)
To allow set transient source after deserialisation. |
String |
toString()
|
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean remote
protected Set<String> ids
protected Map<String,Set<String>> idExtensions
protected Map<String,String> idVersions
| Constructor Detail |
|---|
public WikittyServiceEvent(Object source)
WikittyService.
source - wikitty service| Method Detail |
|---|
public void setSource(Object source)
source - sourcepublic boolean isRemote()
public void setRemote(boolean remote)
remote - remotepublic Set<String> getIds()
null if no ids is related to eventpublic void setIds(Set<String> ids)
ids - ids to setpublic Map<String,Set<String>> getIdExtensions()
null if no ids is related to eventpublic void setIdExtensions(Map<String,Set<String>> idExtensions)
idExtensions - id and extensions mappublic Map<String,String> getIdVersions()
public void setIdVersions(Map<String,String> idVersions)
idVersions - id and versionspublic String toString()
toString in class EventObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||