| java.lang.Object org.cougaar.core.blackboard.Subscription
All known Subclasses: org.cougaar.core.blackboard.TimestampSubscription, org.cougaar.core.blackboard.EnvelopeMetricsSubscription, org.cougaar.core.blackboard.CollectionSubscription, org.cougaar.core.blackboard.PublisherSubscription, org.cougaar.core.blackboard.TodoSubscription,
myHasChanged | protected boolean myHasChanged(Code) | | |
predicate | final protected UnaryPredicate predicate(Code) | | The predicate that represents this subscription
|
subscriber | protected Subscriber subscriber(Code) | | our Subscriber and interface to the blackboard
|
checkTransactionOK | final protected void checkTransactionOK(String s)(Code) | | Check to see if we're in a transaction for the named purpose if we
have a subscription which supports transactions.
|
conditionalAdd | boolean conditionalAdd(Object o, boolean isVisible)(Code) | | Decide if the object is applicable to the subscription
and make the appropriate changes.
Called by Envelope.wrapperAdd to add an object to the
subscription view.
Parameters: isVisible - If FALSE will make the change quietly, e.g. afterrehydration from persistence plugin. true IFF the subscription was changed as a result of the call. |
conditionalChange | boolean conditionalChange(Object o, List changes, boolean isVisible)(Code) | | Decide if the object is applicable to the subscription
and make the appropriate changes.
Called by Envelope.wrapperAdd to mark as changed an object in the
subscription view.
Parameters: changes - a List of ChangeReport instances describing the changesmade to the object. May be null. Parameters: isVisible - If FALSE will make the change quietly, e.g. afterrehydration from persistence plugin. true IFF the subscription was changed as a result of the call. |
conditionalRemove | boolean conditionalRemove(Object o, boolean isVisible)(Code) | | Decide if the object is applicable to the subscription
and make the appropriate changes.
Called by Envelope.wrapperAdd to remove an object in the
subscription view.
Parameters: isVisible - If FALSE will make the change quietly, e.g. afterrehydration from persistence plugin. true IFF the subscription was changed as a result of the call. |
fill | public void fill(Envelope envelope)(Code) | | Fill the subscription with the initial contents.
|
getSubscriber | final public Subscriber getSubscriber()(Code) | | the Subscriber instance which is the interface to the plugin. |
hasChanged | final public boolean hasChanged()(Code) | | Check to see if this subscription has changed since the
last transaction.
To be precise, this indicates if there were any visible changes
to the subscription contents (add/change/remove) in the interval
between the current and the previous calls to
Subscriber.openTransaction()
|
privateAdd | abstract protected void privateAdd(Object o, boolean isVisible)(Code) | | |
privateApply | final protected boolean privateApply(Envelope envelope)(Code) | | |
privateChange | abstract protected void privateChange(Object o, List changes, boolean isVisible)(Code) | | |
privateRemove | abstract protected void privateRemove(Object o, boolean isVisible)(Code) | | |
resetChanges | protected void resetChanges()(Code) | | Called by Subscriber's transaction system to update the
changes (and delta lists, if applicable) tracking.
See Also: Subscription.hasChanged() |
setChanged | final protected void setChanged(boolean changed)(Code) | | |
setIsInitialized | final void setIsInitialized()(Code) | | |
setSubscriber | final void setSubscriber(Subscriber s)(Code) | | set the Subscriber instance for the subscription. Should only be
done by Subscriber.subscribe(), and will throw a RuntimeException
if called more than once.
|
subscriberSignalExternalActivity | final protected void subscriberSignalExternalActivity()(Code) | | |
|
|