Skip navigation links

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

E14650-01


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

All Superinterfaces:
EntityManager, ResourceFinder

public interface ResourceManager
extends ResourceFinder, EntityManager

An Entity Manager to create, read, update and delete a Resource (instance).


Method Summary
 EntryReference createResource(ResourceEntry resrc)
          Create a Resource
 void deleteResource(EntryReference res, boolean cascadeDelete)
          Deletes a Resource
 void modifyResource(EntryReference res, javax.naming.directory.ModificationItem[] modItems)
          Modifies a Resource

 

Methods inherited from interface oracle.security.jps.service.policystore.entitymanager.ResourceFinder
getResource, getResources, getSearchableAttributes, initialize

 

Methods inherited from interface oracle.security.jps.service.policystore.entitymanager.EntityManager
resolveReference

 

Method Detail

createResource

EntryReference createResource(ResourceEntry resrc)
                              throws PolicyStoreException
Create a Resource
Parameters:
resrc - a resource
Returns:
an EntryReference
Throws:
PolicyStoreException - if there was an error while creating the resource.

modifyResource

void modifyResource(EntryReference res,
                    javax.naming.directory.ModificationItem[] modItems)
                    throws PolicyStoreException
Modifies a Resource
Parameters:
res - a resource reference
modItems - an array of modification items.
Throws:
PolicyStoreException - if there was an error while modifying the resource.

deleteResource

void deleteResource(EntryReference res,
                    boolean cascadeDelete)
                    throws PolicyStoreException,
                           PolicyStoreOperationNotAllowedException
Deletes a Resource
Parameters:
res - a resource reference
cascadeDelete - currently a value of true is not supported. If set to true, PolicyStoreOperationNotAllowedException is thown.
Throws:
PolicyStoreException - if there was an error while deleting the
PolicyStoreOperationNotAllowedException - if cascadeDelete is true

Skip navigation links

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

E14650-01


Copyright © 2009, Oracle. All rights reserved.