Class ApplicationTypeManagerWrapper
- java.lang.Object
-
- org.forgerock.openam.entitlement.rest.wrappers.ApplicationTypeManagerWrapper
-
public class ApplicationTypeManagerWrapper extends Object
Simple wrapper to allow abstraction out for the static calls inApplicationTypeManager.
-
-
Constructor Summary
Constructors Constructor Description ApplicationTypeManagerWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationTypegetApplicationType(Subject subject, String name)Returns theApplicationTypeappropriate to the requested name, validating that the given user has authorization to get that ApplicationType.Set<String>getApplicationTypeNames(Subject subject)Returns the names of all theApplicationTypes.
-
-
-
Method Detail
-
getApplicationType
public ApplicationType getApplicationType(Subject subject, String name)
Returns theApplicationTypeappropriate to the requested name, validating that the given user has authorization to get that ApplicationType.- Parameters:
subject- The user requesting the ApplicationTypename- 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 theApplicationTypes.- Parameters:
subject- The user requesting the names- Returns:
- A set of names
-
-