The ISystems interface provides methods for retrieving aliases for all systems in the PCD.
The examples below use systems, which is an ISystems object that can be obtained as follows:
Syntax
ISystems systems = (ISystems)PortalRuntime.getRuntimeResources()
.getService(ISystems.KEY);
Get all aliases.
Syntax
String[] aliases = systems.getAliases();
Get all default aliases.
Syntax
String[] defaultAliases = systems.getDefaultAliases();