|
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.QuotaProfileData
com.pcube.apps.console.quota.data.QuotaProfileDataGy
public class QuotaProfileDataGy
Quota Profile for Gy. Holds all attachments (which service goes to which bucket). Also contains all buckets special configuration and per Package Gy Special parameters such as Tarrif Time.
| Field Summary |
|---|
| Fields inherited from class com.pcube.apps.console.quota.data.QuotaProfileData |
|---|
DEFAULT_PROFILE_NAME |
| Constructor Summary | |
|---|---|
QuotaProfileDataGy(QuotaServiceAttachmentList attachemntList,
Policy policy)
|
|
| Method Summary | |
|---|---|
void |
attachBucket(Service service,
int bucket)
attach gy bucket to service. |
void |
attachBucket(Service service,
int bucketId,
int serviceFrameNum)
attach gy bucket to service. |
void |
copyData(QuotaProfileData temp)
copy the all data from temp profile. |
QuotaProfileData |
duplicate()
|
void |
fromStream(java.io.BufferedReader in,
Formatter f)
Read profile cfg from PQB. |
QuotaVolumeAccountingUnitsData |
getAccountingUnitsData()
|
long |
getTariffChnageTime(int idx)
|
QuotaBucketData |
getUnlimitedBucket()
|
void |
setTariffChnageTime(int idx,
long tariffChnageTime)
Configure tariff time change time. |
void |
toStream(java.io.PrintStream out,
Formatter f)
Write profile to pqb. |
| Methods inherited from class com.pcube.apps.console.quota.data.QuotaProfileData |
|---|
getAllBuckets, getAllUsedBucketsMask, getAttachmentList, getBucketById, getBucketTypeOptimization, getDownloadBucket, getDownloadBucket, getMyId, getMyName, getNumberOfBuckets, getQuotaServiceAttachment, getSessionBucket, getSessionBucket, getType, getUploadBucket, getUploadBucket, getVolumeAccountingUnits, isDefault, isExternal, isReadOnly, setMyName, setQuotaServiceAttachmentList, setVolumeAccountingUnits |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuotaProfileDataGy(QuotaServiceAttachmentList attachemntList,
Policy policy)
| Method Detail |
|---|
public void copyData(QuotaProfileData temp)
QuotaProfileData
copyData in class QuotaProfileDatapublic QuotaProfileData duplicate()
duplicate in class QuotaProfileDatapublic QuotaBucketData getUnlimitedBucket()
getUnlimitedBucket in class QuotaProfileData
public void fromStream(java.io.BufferedReader in,
Formatter f)
throws ImportExportException
fromStream in interface FormattablefromStream in class QuotaProfileDataImportExportExceptionFormattable.fromStream(java.io.BufferedReader, com.pcube.apps.engage.common.Formatter)
public void toStream(java.io.PrintStream out,
Formatter f)
toStream in interface FormattabletoStream in class QuotaProfileDataFormattable.toStream(java.io.PrintStream, com.pcube.apps.engage.common.Formatter)public long getTariffChnageTime(int idx)
idx - (0 is first index)
public void setTariffChnageTime(int idx,
long tariffChnageTime)
tariffChnageTime - - time in seconds.public QuotaVolumeAccountingUnitsData getAccountingUnitsData()
getAccountingUnitsData in class QuotaProfileData
public void attachBucket(Service service,
int bucket)
throws QuotaDataException
service - bucket -
QuotaDataException
public void attachBucket(Service service,
int bucketId,
int serviceFrameNum)
throws QuotaDataException
service - bucketId - serviceFrameNum -
QuotaDataException
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||