|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
A class that manages a list of SystemProfile objects.
| Method Summary | |
|---|---|
ISystemProfile |
cloneSystemProfile(ISystemProfile profile,
String newName)
Clone the given profile |
ISystemProfile |
createSystemProfile(String name,
boolean makeActive)
Create a new profile with the given name, and add to the list. |
void |
deleteSystemProfile(ISystemProfile profile,
boolean persist)
Delete the given profile |
String[] |
getActiveSystemProfileNames()
|
int |
getActiveSystemProfilePosition(String profileName)
Get the index of a profile given its name. |
ISystemProfile[] |
getActiveSystemProfiles()
|
ISystemProfile |
getDefaultPrivateSystemProfile()
|
ISystemProfile |
getDefaultTeamSystemProfile()
|
List |
getProfiles()
|
ISystemProfile |
getSystemProfile(String name)
Get a profile given its name. |
String[] |
getSystemProfileNames()
|
Vector |
getSystemProfileNamesVector()
|
ISystemProfile[] |
getSystemProfiles()
|
boolean |
isSystemProfileActive(String profileName)
Get an indication of whether a profile is active or not. |
void |
makeSystemProfileActive(ISystemProfile profile,
boolean makeActive)
Toggle an existing profile's state between active and inactive |
void |
renameSystemProfile(ISystemProfile profile,
String newName)
Rename the given profile. |
| Method Detail |
public ISystemProfile createSystemProfile(String name,
boolean makeActive)
The underlying folder is created in the file system.
name - What to name this profilemakeActive - true if this profile is to be added to the active profile list.
public void makeSystemProfileActive(ISystemProfile profile,
boolean makeActive)
profile - the profile to (in)activatemakeActive - the state to make this profilepublic ISystemProfile[] getSystemProfiles()
public String[] getSystemProfileNames()
public Vector getSystemProfileNamesVector()
public ISystemProfile getSystemProfile(String name)
name - the name of the profile
public ISystemProfile[] getActiveSystemProfiles()
public String[] getActiveSystemProfileNames()
public int getActiveSystemProfilePosition(String profileName)
profileName - the name of the profile to look for.
public ISystemProfile getDefaultPrivateSystemProfile()
public ISystemProfile getDefaultTeamSystemProfile()
public void renameSystemProfile(ISystemProfile profile,
String newName)
profile - the profile to renamenewName - the new profile name
public void deleteSystemProfile(ISystemProfile profile,
boolean persist)
profile - the name of the profile to delete.persist - true if the deletion is meant to be persisted as well, false if the deletion is just in the
model.
public ISystemProfile cloneSystemProfile(ISystemProfile profile,
String newName)
profile - the profile to clonenewName - the name of the new profile
public boolean isSystemProfileActive(String profileName)
profileName - the name of the profile to test
ISystemProfile.isActive()public List getProfiles()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||