com.ptc.netmarkets.nmixb
Class SubscriptionsCopyHelper.SubHolder

java.lang.Object
  extended bycom.ptc.netmarkets.nmixb.SubscriptionsCopyHelper.SubHolder
Enclosing class:
SubscriptionsCopyHelper

static class SubscriptionsCopyHelper.SubHolder
extends Object

This class holds a map of the subscriptions and the vector of their subscribes.


Field Summary
(package private)  WorklistDrivenCopier copier
           
private  boolean isTarget
           
private  Map proxyMap
           
 
Constructor Summary
private SubscriptionsCopyHelper.SubHolder()
           
  SubscriptionsCopyHelper.SubHolder(List allSubs, boolean isTarget, WorklistDrivenCopier a_copier, boolean doUsers)
           
 
Method Summary
 Object[] getKeys()
           
 SubscriptionsCopyHelper.SubscrProxy getProxy(Object key)
           
 void remove(Object key)
           
 void remove(String oidKey)
           
private  boolean skipMe(ObjectSubscription sub)
           
 boolean sourceContains(SubscriptionsCopyHelper.SubscrProxy targetProxy)
           
 boolean targetContains(SubscriptionsCopyHelper.SubscrProxy sourceProxy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proxyMap

private Map proxyMap

isTarget

private boolean isTarget

copier

WorklistDrivenCopier copier
Constructor Detail

SubscriptionsCopyHelper.SubHolder

private SubscriptionsCopyHelper.SubHolder()

SubscriptionsCopyHelper.SubHolder

public SubscriptionsCopyHelper.SubHolder(List allSubs,
                                         boolean isTarget,
                                         WorklistDrivenCopier a_copier,
                                         boolean doUsers)
                                  throws WTException
Method Detail

skipMe

private boolean skipMe(ObjectSubscription sub)

sourceContains

public boolean sourceContains(SubscriptionsCopyHelper.SubscrProxy targetProxy)
                       throws WTException
Throws:
WTException

targetContains

public boolean targetContains(SubscriptionsCopyHelper.SubscrProxy sourceProxy)
                       throws WTException
Throws:
WTException

remove

public void remove(Object key)

remove

public void remove(String oidKey)

getKeys

public Object[] getKeys()

getProxy

public SubscriptionsCopyHelper.SubscrProxy getProxy(Object key)