|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.dataservices.model.ProfileLocator
Provides an interface for retrieving profiles (object and service) registered with the provisioning platform. In addition to profiles saved in the data store, profiles that are registered at runtime, including platform default profiles, can be found through this interface.
ObjectProfile
,
ServiceProfile
Constructor Summary | |
---|---|
ProfileLocator()
|
Method Summary | |
---|---|
static void |
create()
Initializes the locator. |
static java.util.Collection |
getAllProfiles(DistinguishedName tenantDN)
Returns all object profiles in the cache. |
static java.util.Collection |
getDefaultProfileNames(java.lang.String category)
Returns the profiles registered at runtime including the platform defaults for the given category. |
static java.util.Collection |
getProfileByCategory(DistinguishedName tenantDN,
java.lang.String cat)
Returns all object profiles based on an object category. |
static ObjectProfile |
getProfileByClass(DistinguishedName tenantDN,
java.lang.String customClass)
Returns the profile based on the category of the object and its defining classes. |
static ObjectProfile |
getProfileByClass(DistinguishedName tenantDN,
java.lang.String cat,
java.util.Collection objClasses)
Returns the profile based on the category of the object and its defining classes. |
static ObjectProfile |
getProfileByName(DistinguishedName tenantDN,
java.lang.String name)
Returns the object profile with the given name. |
static java.lang.String |
getServiceProfileName(DistinguishedName tenantDN,
java.lang.String customClass)
This method returns the name of the service profile for which either eraccountclass (Account custom class) or ercustomclass (Service custom class) matches to custom class passed in else null. |
static ObjectProfile |
loadProfile(ObjectProfile profile)
Returns the object profile with the given name. |
static void |
registerProfile(ObjectProfile profile)
Registers an object profile with the locator. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProfileLocator()
Method Detail |
public static void create() throws ModelIntegrityException, ModelCommunicationException
ModelCommunicationException
- Thrown if unable to communicate
with the data store or the platform.
ModelIntegrityException
- Thrown if a problem exists with
the consistency of the data model preventing the initialization.public static void registerProfile(ObjectProfile profile)
profile
- ObjectProfile to register.public static ObjectProfile getProfileByClass(DistinguishedName tenantDN, java.lang.String cat, java.util.Collection objClasses)
tenantDN
- DistinguishedName of the tenant (system root).cat
- Object category (i.e., person, account, etc.).objClasses
- Collection of class names (Strings).
public static ObjectProfile getProfileByClass(DistinguishedName tenantDN, java.lang.String customClass)
tenantDN
- DistinguishedName of the tenant (system root).customClass
- custom class name of the profile.
public static java.util.Collection getProfileByCategory(DistinguishedName tenantDN, java.lang.String cat)
tenantDN
- DistinguishedName of the tenant (system root).cat
- Object category (i.e., person, account, etc.).
public static ObjectProfile getProfileByName(DistinguishedName tenantDN, java.lang.String name)
tenantDN
- DistinguishedName of the tenant (system root).name
- Name of the profile.
public static ObjectProfile loadProfile(ObjectProfile profile)
profile
- Name of the profile.
public static java.util.Collection getAllProfiles(DistinguishedName tenantDN)
tenantDN
- DistinguishedName of the tenant (system root).
public static java.util.Collection getDefaultProfileNames(java.lang.String category)
public static java.lang.String getServiceProfileName(DistinguishedName tenantDN, java.lang.String customClass)
tenantDN
- DistinguishedName of the tenant (system root).customClass
- Name of Account/Service custom class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |