Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


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

All Known Subinterfaces:
AdminManager, AppRoleManager, ChangeLogManager, ConfigurationBindingManager, ConfigurationManager, ExtensionManager, GrantManager, PermissionSetManager, PolicyDistributionManager, PolicyDomainManager, PolicyManager, ResourceManager, ResourceTypeManager, RoleCategoryManager, RolePolicyManager

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
<T> T
resolveReference(EntryReference reference, java.lang.Class<T> klass)
          Given a reference to an entity, return a copy from the persistent store.

 

Method Detail

resolveReference

<T> T resolveReference(EntryReference reference,
                       java.lang.Class<T> 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 Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.