Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-03


oracle.security.jps.service.policystore.entitymanager
Interface EntityManager

All Known Subinterfaces:
ChangeLogManager, GrantManager, PermissionSetManager, ResourceManager, ResourceTypeManager, RoleCategoryManager

public interface EntityManager

Interface used to interact with the persistence context.

An EntityManager instance is associated with a persistence context. A persistence context is a set of entity instances in which for any persistent entity identity there is a unique entity instance. There is a life-cycle associated with each entity which can be managed by this interface. Life-cycle events include create, read/query, update and modify.


Method Summary
 java.lang.Object resolveReference(EntryReference reference, java.lang.Class klass)
          Given a reference to an entity, return a copy from the persistent store.

 

Method Detail

resolveReference

java.lang.Object resolveReference(EntryReference reference,
                                  java.lang.Class klass)
                                  throws PolicyObjectNotFoundException,
                                         PolicyStoreException
Given a reference to an entity, return a copy from the persistent store.
Parameters:
reference - the reference to resolve.
klass - the Java interface that implements the entity.
Returns:
the resolved Entity from the persistent store that is an instance of the supplied Java Interface.
Throws:
PolicyObjectNotFoundException - if no object exists for the given reference.
PolicyStoreException - if there was an while retrieving the entity.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-03


Copyright © 2010, Oracle. All rights reserved.