|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISystemProfileManager
Manages a list of SystemProfile objects. System profiles should be created, deleted, restored, activated, and deactivated though this interface if event processing is not desired. If events are necessary then the system registry should be used.
Method Summary | |
---|---|
void |
addSystemProfile(ISystemProfile profile)
Adds a system profile to this profile manager. |
ISystemProfile |
cloneSystemProfile(ISystemProfile profile,
String newName)
Clone the given profile |
IStatus |
commitSystemProfile(ISystemProfile profile)
Commit a system 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()
|
ISystemProfile[] |
getActiveSystemProfiles()
|
ISystemProfile |
getDefaultPrivateSystemProfile()
|
ISystemProfile |
getDefaultTeamSystemProfile()
|
int |
getSize()
|
ISystemProfile |
getSystemProfile(String name)
Get a profile given its name. |
String[] |
getSystemProfileNames()
|
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 |
---|
ISystemProfile createSystemProfile(String name, boolean makeActive)
name
- What to name this profilemakeActive
- true if this profile is to be added to the active profile list.
void makeSystemProfileActive(ISystemProfile profile, boolean makeActive)
profile
- the profile to (in)activatemakeActive
- the state to make this profileISystemProfile[] getSystemProfiles()
int getSize()
String[] getSystemProfileNames()
ISystemProfile getSystemProfile(String name)
name
- the name of the profile
ISystemProfile[] getActiveSystemProfiles()
String[] getActiveSystemProfileNames()
ISystemProfile getDefaultPrivateSystemProfile()
ISystemProfile getDefaultTeamSystemProfile()
void renameSystemProfile(ISystemProfile profile, String newName)
profile
- the profile to renamenewName
- the new profile namevoid 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.ISystemProfile cloneSystemProfile(ISystemProfile profile, String newName)
profile
- the profile to clonenewName
- the name of the new profile
IStatus commitSystemProfile(ISystemProfile profile)
profile
- the profile to commit
boolean isSystemProfileActive(String profileName)
profileName
- the name of the profile to test
ISystemProfile.isActive()
void addSystemProfile(ISystemProfile profile)
profile
- The system profile to add.
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |