|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pcube.apps.engage.policy.SubNotificationArray
com.pcube.apps.engage.policy.SubscriberRedirectionArray
public class SubscriberRedirectionArray
| Field Summary | |
|---|---|
static int |
DEFAULT_NOTIFICATION_ID
|
static int |
DEFAULT_REDIRECT_ID
|
static int |
NETWORK_ATTACK_NOTIFICATION_ID
|
static int |
NUMBER_NOTIFICATIONS
|
| Constructor Summary | |
|---|---|
SubscriberRedirectionArray(Policy policy)
|
|
| Method Summary | |
|---|---|
void |
add(SubNotification notification,
boolean askUniqeId)
Overriding the SubNotificationArray method |
void |
add(SubscriberRedirection notification,
boolean askUniqeId)
add notification to array. |
SubscriberRedirection |
addNewRedirectProfile()
|
void |
addVetoableChangeListener(VetoableChangeListener listener)
add a vetoable change listener: veto notification deletion |
SubscriberRedirection |
findById(int notificationId)
finds a subscriber notification by Id |
void |
fromStream(BufferedReader in,
Formatter f)
will be called only for new pqbs - the network attack notification and default notification should already be in the pqb |
SubscriberRedirection |
getAt(int index)
|
List |
getConditionalRedirectTypeNotification()
|
int |
getDefaultNotificationId()
|
int |
getDefaultRedirectId()
|
List |
getNotificationTypeNotification()
|
String |
getToolTipAt(int index)
|
static String |
getTooltipForNotif(SubscriberRedirection notif)
|
VetoableChangeSupport |
getVetoableRemoveNotification()
|
boolean |
isFull()
|
boolean |
isNetworkAttackNotification(SubscriberRedirection notif)
|
ListIterator |
listIterator()
|
void |
remove(SubNotification notification)
Ovveride super class remove notification |
void |
remove(SubscriberRedirection notification)
remove notification |
void |
removeById(int notificationId)
remove notification by notification id |
void |
removeVetoableChangeListener(VetoableChangeListener listener)
remove a votable change listener: veto notification deletion |
int |
size()
|
void |
toStream(PrintStream out,
Formatter f)
Method toStream |
| Methods inherited from class com.pcube.apps.engage.policy.SubNotificationArray |
|---|
convertOldPqbToNewPqb, getAvialableIds, isDefaultNotification, isNetworkAttackNotification |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NETWORK_ATTACK_NOTIFICATION_ID
public static final int DEFAULT_NOTIFICATION_ID
public static final int DEFAULT_REDIRECT_ID
public static final int NUMBER_NOTIFICATIONS
| Constructor Detail |
|---|
public SubscriberRedirectionArray(Policy policy)
| Method Detail |
|---|
public void fromStream(BufferedReader in,
Formatter f)
throws ImportExportException
fromStream in interface FormattablefromStream in class SubNotificationArrayImportExportExceptionFormattable.fromStream(java.io.BufferedReader,
com.pcube.apps.engage.common.Formatter)
public void toStream(PrintStream out,
Formatter f)
Formattable
toStream in interface FormattabletoStream in class SubNotificationArrayFormattable.toStream(java.io.PrintStream,
com.pcube.apps.engage.common.Formatter)public void addVetoableChangeListener(VetoableChangeListener listener)
addVetoableChangeListener in class SubNotificationArraylistener - public SubscriberRedirection findById(int notificationId)
findById in class SubNotificationArraynotificationId - notification id
public SubscriberRedirection getAt(int index)
getAt in class SubNotificationArrayindex -
public void remove(SubNotification notification)
throws PropertyVetoException
remove in class SubNotificationArraynotification -
PropertyVetoException
public void remove(SubscriberRedirection notification)
throws PropertyVetoException
notification -
PropertyVetoException
public void removeById(int notificationId)
throws PropertyVetoException
removeById in class SubNotificationArraynotificationId -
PropertyVetoExceptionpublic void removeVetoableChangeListener(VetoableChangeListener listener)
removeVetoableChangeListener in class SubNotificationArraylistener - public int size()
size in class SubNotificationArraypublic int getDefaultNotificationId()
getDefaultNotificationId in class SubNotificationArraypublic int getDefaultRedirectId()
public void add(SubNotification notification,
boolean askUniqeId)
throws com.pcube.apps.engage.foundations.UniquenessViolationException,
com.pcube.apps.engage.foundations.FullCollectionException
add in class SubNotificationArrayaskUniqeId - -
true to set a unique id
com.pcube.apps.engage.foundations.UniquenessViolationException
com.pcube.apps.engage.foundations.FullCollectionException
public void add(SubscriberRedirection notification,
boolean askUniqeId)
throws com.pcube.apps.engage.foundations.UniquenessViolationException,
com.pcube.apps.engage.foundations.FullCollectionException
notification - askUniqeId - -
true to set a unique id
com.pcube.apps.engage.foundations.UniquenessViolationException
com.pcube.apps.engage.foundations.FullCollectionExceptionpublic boolean isFull()
isFull in class SubNotificationArraypublic ListIterator listIterator()
listIterator in class SubNotificationArraypublic boolean isNetworkAttackNotification(SubscriberRedirection notif)
public String getToolTipAt(int index)
public static String getTooltipForNotif(SubscriberRedirection notif)
public List getConditionalRedirectTypeNotification()
public List getNotificationTypeNotification()
public SubscriberRedirection addNewRedirectProfile()
public VetoableChangeSupport getVetoableRemoveNotification()
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||