Show TOC

Procedure documentationGetting Aliases for All Systems Locate this document in the navigation structure

Procedure

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 Syntax

  1. ISystems systems = (ISystems)PortalRuntime.getRuntimeResources()
  2.  	.getService(ISystems.KEY);
End of the code.
  • Get all aliases.

    Syntax Syntax

    1. String[] aliases = systems.getAliases();
    End of the code.
  • Get all default aliases.

    Syntax Syntax

    1. String[] defaultAliases = systems.getDefaultAliases();
    End of the code.