|
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.QuotaServiceAttachment
public abstract class QuotaServiceAttachment
Holds Service attachment data such as (in internal mode) which service what type up/down/both...etc
| Constructor Summary | |
|---|---|
QuotaServiceAttachment(Service service,
Policy policy)
|
|
| Method Summary | |
|---|---|
void |
attachBucket(QuotaBucketData bucket)
|
void |
attachBucket(QuotaBucketData bucket,
int timeFarme)
attach for time frame. |
void |
cleanAllAttachments(int bucketid)
clean all buckets from this attachment. |
abstract void |
copyTo(QuotaServiceAttachment quotaServiceAttchment)
|
abstract QuotaServiceAttachment |
duplicate()
|
int |
getBucketId()
(use isAttached to see if attached) |
int |
getBucketId(int timeFrame)
(use isAttached to see if attached) |
int |
getFramedServiceBucketId(int timeFrame)
In timeframe service, we first look if the timeframe is attached and if not we will return the main service bucket. |
java.lang.String |
getMyServiceName()
|
java.lang.String |
getParentServiceName()
|
abstract java.lang.String |
getText()
|
boolean |
isAnyAttachmentsExits()
|
boolean |
isAttached()
(Basic Attachment) |
boolean |
isAttached(int timeFrame)
|
boolean |
isBucketAttahed(int id)
|
boolean |
isServiceAttachedToBucket(int bukcetid)
search if bucket is attached to the service of this attahment or to one of its timeframes service rules. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.pcube.apps.engage.common.Formattable |
|---|
fromStream, toStream |
| Constructor Detail |
|---|
public QuotaServiceAttachment(Service service,
Policy policy)
| Method Detail |
|---|
public boolean isAttached()
public boolean isAttached(int timeFrame)
index -
public boolean isAnyAttachmentsExits()
public void cleanAllAttachments(int bucketid)
bucketid - public boolean isServiceAttachedToBucket(int bukcetid)
bukcetid -
public void attachBucket(QuotaBucketData bucket,
int timeFarme)
bucket - timeFarme - public void attachBucket(QuotaBucketData bucket)
public abstract java.lang.String getText()
public abstract QuotaServiceAttachment duplicate()
public abstract void copyTo(QuotaServiceAttachment quotaServiceAttchment)
public int getBucketId()
public int getBucketId(int timeFrame)
public int getFramedServiceBucketId(int timeFrame)
timeFrame -
public java.lang.String getParentServiceName()
public java.lang.String getMyServiceName()
public boolean isBucketAttahed(int id)
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||