Class CockpitConfigurationServiceTest

All Implemented Interfaces:
JaloSessionHolder

@DemoTest public class CockpitConfigurationServiceTest extends ServicelayerTransactionalTest
Demonstrates usage of the CockpitConfigurationService
  • Constructor Details

    • CockpitConfigurationServiceTest

      public CockpitConfigurationServiceTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      prepares some test data, before execution of every test:
      - the test principalModel will be created and saved
      Throws:
      Exception
    • testGetCockpitConfigurations

      public void testGetCockpitConfigurations()
      Demonstrates two ways to retrieve cockpit configurations given a principal:
      - Retrieves all component configurations based on the given principal
      - Retrieve a specific configuration based on principal, object template code, and code.
    • testGetRoleNamesForPrincipal

      public void testGetRoleNamesForPrincipal()
      Demonstrates how to retrieve roles names for a given principal