|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imemex.idm.DecoratedGroup
org.imemex.resourceviewmanager.mappers.AdaptedIdentifiableGroup
public class AdaptedIdentifiableGroup
Adapts a group component that consists of PluginIdentifiableResourceViews to a group component that consists of IdentifiableResourceViews. This class makes sure that indirectly related views will also get adapted.
| Constructor Summary | |
|---|---|
AdaptedIdentifiableGroup(Group group,
long dataSourceId)
Instantiates a new AdaptedIdentifiableGroup. |
|
| Method Summary | |
|---|---|
PullOperator |
getSequenceAsPullOperator()
gets Iterator over all ResourceViews in the Sequence |
PullOperator |
getSetAsPullOperator()
gets Iterator over all ResourceViews in the Set |
void |
subscribeToSequence(PushOperator operator)
subscribes a PushOperator to receive all ResourceViews in the Sequence. |
void |
subscribeToSet(PushOperator operator)
subscribes a PushOperator to receive all ResourceViews in the Set. |
| Methods inherited from class org.imemex.idm.DecoratedGroup |
|---|
addAll, addToSet, appendToSequence, insertIntoSequence, isEmpty, removeFromSequence, removeFromSequenceAt, removeFromSet, sequenceSize, setSize, size, supportsPull, supportsPush |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdaptedIdentifiableGroup(Group group,
long dataSourceId)
decoratedGroup - -
the group component to be adapted.| Method Detail |
|---|
public PullOperator getSetAsPullOperator()
Group
getSetAsPullOperator in interface GroupgetSetAsPullOperator in class DecoratedGrouppublic PullOperator getSequenceAsPullOperator()
Group
getSequenceAsPullOperator in interface GroupgetSequenceAsPullOperator in class DecoratedGrouppublic void subscribeToSet(PushOperator operator)
Group
subscribeToSet in interface GroupsubscribeToSet in class DecoratedGroupoperator - -
the push operator to receive the events.public void subscribeToSequence(PushOperator operator)
Group
subscribeToSequence in interface GroupsubscribeToSequence in class DecoratedGroupoperator - -
the push operator to receive the events.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||