Class ApplicationTypeManagerWrapper


  • public class ApplicationTypeManagerWrapper
    extends Object
    Simple wrapper to allow abstraction out for the static calls in ApplicationTypeManager.
    • Constructor Detail

      • ApplicationTypeManagerWrapper

        public ApplicationTypeManagerWrapper()
    • Method Detail

      • getApplicationType

        public ApplicationType getApplicationType​(Subject subject,
                                                  String name)
        Returns the ApplicationType appropriate to the requested name, validating that the given user has authorization to get that ApplicationType.
        Parameters:
        subject - The user requesting the ApplicationType
        name - The name of the application type requested
        Returns:
        The requested application type or null
      • getApplicationTypeNames

        public Set<String> getApplicationTypeNames​(Subject subject)
        Returns the names of all the ApplicationTypes.
        Parameters:
        subject - The user requesting the names
        Returns:
        A set of names