|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pcube.apps.console.quota.data.QuotaData
public class QuotaData
Data struct holding all Quota configurations per Policy.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.pcube.apps.engage.policy.ServiceChangeListener |
|---|
ServiceChangeListener.ActionType |
| Method Summary | |
|---|---|
void |
copyData(QuotaData data)
|
static QuotaData |
createDefault(Policy p)
Contains only defualt profile and all other parameters configured to thier default. |
QuotaData |
duplicate()
|
void |
fromStream(java.io.BufferedReader in,
Formatter f)
Read Configuration from PQB. |
QuotaProfileData |
getDefaultProfile()
|
QuotaGeneralSettingsData |
getGeneralSettingData()
|
QuotaProfileData |
getProfile(java.lang.String name)
|
QuotaProfileList |
getProfilesList()
|
void |
serviceChanged(ServiceChangeListener.ActionType type,
Service service)
Notified when user changes services. |
void |
toStream(java.io.PrintStream out,
Formatter f)
Write Configuration to PQB. |
static QuotaData |
upgradePolicy(Policy p)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public QuotaGeneralSettingsData getGeneralSettingData()
public QuotaProfileList getProfilesList()
public QuotaData duplicate()
throws QuotaDataException
QuotaDataExceptionpublic void copyData(QuotaData data)
public QuotaProfileData getDefaultProfile()
public void fromStream(java.io.BufferedReader in,
Formatter f)
throws ImportExportException
fromStream in interface FormattableImportExportExceptionFormattable.fromStream(java.io.BufferedReader, com.pcube.apps.engage.common.Formatter)
public void toStream(java.io.PrintStream out,
Formatter f)
toStream in interface Formattablepublic QuotaProfileData getProfile(java.lang.String name)
name - - the profile name (profile have a unique name)
public void serviceChanged(ServiceChangeListener.ActionType type,
Service service)
serviceChanged in interface ServiceChangeListenerpublic static QuotaData createDefault(Policy p)
p -
public static QuotaData upgradePolicy(Policy p)
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||