Package com.sun.identity.entitlement
Class ApplicationTypeManager
- java.lang.Object
-
- com.sun.identity.entitlement.ApplicationTypeManager
-
public final class ApplicationTypeManager extends Object
Application Type manager.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDELEGATION_APPLICATION_TYPE_NAMEstatic StringURL_APPLICATION_TYPE_NAMEstatic StringWEB_SERVICE_APPLICATION_TYPE_NAME
-
Constructor Summary
Constructors Constructor Description ApplicationTypeManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<String>getApplicationTypeNames(Subject adminSubject)Returns application type names.static ApplicationTypegetAppplicationType(Subject adminSubject, String name)Returns application type.static ClassgetResourceComparator(String className)Returns resource comparator implementation class.static ClassgetSaveIndex(String className)Returns save index class.static ClassgetSearchIndex(String className)Returns search index class.static voidremoveApplicationType(Subject adminSubject, String name)Removes application type.static voidsaveApplicationType(Subject adminSubject, ApplicationType appType)Stores application type.
-
-
-
Field Detail
-
URL_APPLICATION_TYPE_NAME
public static final String URL_APPLICATION_TYPE_NAME
- See Also:
- Constant Field Values
-
DELEGATION_APPLICATION_TYPE_NAME
public static final String DELEGATION_APPLICATION_TYPE_NAME
- See Also:
- Constant Field Values
-
WEB_SERVICE_APPLICATION_TYPE_NAME
public static final String WEB_SERVICE_APPLICATION_TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getApplicationTypeNames
public static Set<String> getApplicationTypeNames(Subject adminSubject)
Returns application type names.- Parameters:
adminSubject- Admin Subject who has the rights to access configuration datastore.- Returns:
- application type names.
-
getAppplicationType
public static ApplicationType getAppplicationType(Subject adminSubject, String name)
Returns application type.- Parameters:
adminSubject- Admin Subject who has the rights to access configuration datastore.name- Name of application type.- Returns:
- application type.
-
removeApplicationType
public static void removeApplicationType(Subject adminSubject, String name) throws EntitlementException
Removes application type.- Parameters:
adminSubject- Admin Subject who has the rights to access configuration datastore.name- Name of application type.- Throws:
EntitlementException- if application type cannot be removed.
-
saveApplicationType
public static void saveApplicationType(Subject adminSubject, ApplicationType appType) throws EntitlementException
Stores application type.- Parameters:
adminSubject- Admin Subject who has the rights to access configuration datastore.appType- Application type.- Throws:
EntitlementException
-
getSearchIndex
public static Class getSearchIndex(String className)
Returns search index class.- Parameters:
className- Search index implementation class name.- Returns:
- search index class.
-
getSaveIndex
public static Class getSaveIndex(String className)
Returns save index class.- Parameters:
className- Save index implementation class name.- Returns:
- saveindex class.
-
-