public interface IProfileLocator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ObjectProfile> |
getAllProfiles(DistinguishedName tenantDN)
Returns all object profiles in the cache.
|
java.util.Collection<java.lang.String> |
getDefaultProfileNames(java.lang.String category)
Returns the profiles registered at runtime including the platform
defaults for the given category.
|
java.util.Collection |
getProfileByCategory(DistinguishedName tenantDN,
java.lang.String cat)
Returns all object profiles based on an object category.
|
ObjectProfile |
getProfileByClass(DistinguishedName tenantDN,
java.lang.String customClass)
Returns the profile based on the category of the object and its defining
classes.
|
ObjectProfile |
getProfileByClass(DistinguishedName tenantDN,
java.lang.String cat,
java.util.Collection<java.lang.String> objClasses)
Returns the profile based on the category of the object and its defining
classes.
|
ObjectProfile |
getProfileByName(DistinguishedName tenantDN,
java.lang.String name)
Returns the object profile with the given name.
|
ObjectProfile |
loadProfile(ObjectProfile profile)
Returns the object profile with the given name.
|
void |
refresh(DistinguishedName tenantDN)
This method refreshes ProfileTable and ModelProfile.
|
void |
registerProfile(ObjectProfile profile)
Registers an object profile with the locator.
|
static final java.lang.String NAME
void registerProfile(ObjectProfile profile)
profile - ObjectProfile to register.ObjectProfile getProfileByClass(DistinguishedName tenantDN, java.lang.String cat, java.util.Collection<java.lang.String> objClasses)
tenantDN - DistinguishedName of the tenant (system root).cat - Object category (i.e., person, account, etc.).objClasses - Collection of class names (Strings).ObjectProfile getProfileByClass(DistinguishedName tenantDN, java.lang.String customClass)
tenantDN - DistinguishedName of the tenant (system root).customClass - custom class name of the profile.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.).void refresh(DistinguishedName tenantDN)
tenantDN - ObjectProfile getProfileByName(DistinguishedName tenantDN, java.lang.String name)
tenantDN - DistinguishedName of the tenant (system root).name - Name of the profile.ObjectProfile loadProfile(ObjectProfile profile)
profile - The profile that will be reloaded after all profiles are
refreshed.java.util.Collection<ObjectProfile> getAllProfiles(DistinguishedName tenantDN)
tenantDN - DistinguishedName of the tenant (system root).java.util.Collection<java.lang.String> getDefaultProfileNames(java.lang.String category)
category -