|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Catalogable
Any entity that need to make themselves as catalog-able in OIM have to implement the interface Catalogable. This interface will be available in Platform. At present only three entities will be Catalog-able, they are Role, Entitlement and TargetResource.
Method Summary | |
---|---|
java.util.List |
filterSearchResultOnSecurity(java.util.List catalogSerachRoleKeys) |
java.util.List |
getAutoTag(java.lang.String entityKey) Populate tags on the basis of Auto tagging rule. |
java.util.List |
getRequestableEntities(java.util.List entityIds, java.lang.String loggedInUserId) Filter entities on the basis of Security so that only those entities are visible to the user which he is entitled for. |
Result |
harvestCatalogItems(Mode mode, OIMType oimType, java.util.Date date) Any Entity that wants to make them self as catalog-able has to provide an implementation for Interface catalogable, this API will fetch all the catalogable entity instance if the underlying entity and will populate the Catalog VO. |
Result |
recalculateAndUpdateTags(OIMType oimType) |
Result |
synchronizeCatalog(CatalogLightVO catalogLightVO, java.lang.String operation) This will be called by Entities when they want to synch catalog. |
Method Detail |
---|
Result harvestCatalogItems(Mode mode, OIMType oimType, java.util.Date date)
mode
- Mode in which catalog data to be harvested.date
- Date after which data needs to be synced in catalogoimType
- OIM Entity Typejava.util.List getRequestableEntities(java.util.List entityIds, java.lang.String loggedInUserId)
entityIds
- List of all the entity id's returned after performing tag search on catalog itemsloggedInUserId
- User id who is trying to view and request catalog itemsjava.util.List getAutoTag(java.lang.String entityKey) throws CatalogException
entityKey
- Entity for which tag will be providedCatalogException
Result synchronizeCatalog(CatalogLightVO catalogLightVO, java.lang.String operation) throws CatalogException
catalogLightVO
-operation
- if its a create or updateResult
CatalogException
- @CatalogException
java.util.List filterSearchResultOnSecurity(java.util.List catalogSerachRoleKeys)
Result recalculateAndUpdateTags(OIMType oimType)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |