|
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(java.beans.VetoableChangeListener listener)
add a vetoable change listener: veto notification deletion |
SubscriberRedirection |
findById(int notificationId)
finds a subscriber notification by Id |
void |
fromStream(java.io.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)
|
java.util.List |
getConditionalRedirectTypeNotification()
|
int |
getDefaultNotificationId()
|
int |
getDefaultRedirectId()
|
java.util.List |
getNotificationTypeNotification()
|
java.lang.String |
getToolTipAt(int index)
|
static java.lang.String |
getTooltipForNotif(SubscriberRedirection notif)
|
java.beans.VetoableChangeSupport |
getVetoableRemoveNotification()
|
boolean |
isFull()
|
boolean |
isNetworkAttackNotification(SubscriberRedirection notif)
|
java.util.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(java.beans.VetoableChangeListener listener)
remove a votable change listener: veto notification deletion |
int |
size()
|
void |
toStream(java.io.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(java.io.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(java.io.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(java.beans.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 java.beans.PropertyVetoException
remove in class SubNotificationArraynotification -
java.beans.PropertyVetoException
public void remove(SubscriberRedirection notification)
throws java.beans.PropertyVetoException
notification -
java.beans.PropertyVetoException
public void removeById(int notificationId)
throws java.beans.PropertyVetoException
removeById in class SubNotificationArraynotificationId -
java.beans.PropertyVetoExceptionpublic void removeVetoableChangeListener(java.beans.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 java.util.ListIterator listIterator()
listIterator in class SubNotificationArraypublic boolean isNetworkAttackNotification(SubscriberRedirection notif)
public java.lang.String getToolTipAt(int index)
public static java.lang.String getTooltipForNotif(SubscriberRedirection notif)
public java.util.List getConditionalRedirectTypeNotification()
public java.util.List getNotificationTypeNotification()
public SubscriberRedirection addNewRedirectProfile()
public java.beans.VetoableChangeSupport getVetoableRemoveNotification()
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||