|
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.QuotaProfileList
public class QuotaProfileList
Data struct for holding and managing all profiles. Support basic actions such as adding/removing...etc. Keeps name uniqueness..etc.
| Constructor Summary | |
|---|---|
QuotaProfileList()
|
|
| Method Summary | |
|---|---|
void |
addProfile(QuotaProfileData newProfile)
add new profile. |
void |
copyData(QuotaProfileList list)
update all profiles according to list |
QuotaProfileList |
duplicate()
create full duplicate of profile list. |
QuotaProfileData[] |
getAllProfiles()
|
QuotaProfileData[] |
getAllProfiles(QuotaProfileListFilter filter)
|
QuotaProfileData |
getProfile(int idx)
|
QuotaProfileData |
getProfileByName(java.lang.String name)
profile name is unique identifier. |
boolean |
isProfileNameExists(java.lang.String name)
checks if profile name is already used. |
boolean |
isProfileNameExists(java.lang.String name,
QuotaProfileData data)
|
void |
removeProfile(QuotaProfileData removeProfile)
remove profile from list. |
int |
size()
|
void |
updateNames()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuotaProfileList()
| Method Detail |
|---|
public void addProfile(QuotaProfileData newProfile)
throws QuotaDataException
newProfile -
QuotaDataException - (name uniqueness violation)public void removeProfile(QuotaProfileData removeProfile)
removeProfile - public boolean isProfileNameExists(java.lang.String name)
name -
public boolean isProfileNameExists(java.lang.String name,
QuotaProfileData data)
public QuotaProfileData[] getAllProfiles()
public QuotaProfileData[] getAllProfiles(QuotaProfileListFilter filter)
filter -
public int size()
public QuotaProfileData getProfile(int idx)
idx -
public QuotaProfileList duplicate()
throws QuotaDataException
QuotaDataExceptionpublic void copyData(QuotaProfileList list)
list - public QuotaProfileData getProfileByName(java.lang.String name)
name - - the profile name
public void updateNames()
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||