| 
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceManager
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 | 
|---|
EntryReference createResource(ResourceEntry resrc)
                              throws PolicyStoreException,
                                     InvalidArgumentException
resrc - a resourcePolicyObjectAlreadyExistsException - if the resource exists alreadyPolicyStoreException - if there was an error while creating the resource.InvalidArgumentException - if the user input (like resource name) does not follow nameing convention
void modifyResource(EntryReference res,
                    javax.naming.directory.ModificationItem[] modItems)
                    throws PolicyStoreException,
                           InvalidArgumentException
res - a resource referencemodItems - an array of modification items.PolicyStoreException - if there was an error while modifying the resource.InvalidArgumentException
void deleteResource(EntryReference res,
                    boolean cascadeDelete)
                    throws PolicyStoreException,
                           PolicyStoreOperationNotAllowedException,
                           PolicyObjectNotFoundException,
                           InvalidArgumentException
res - a resource referencecascadeDelete - currently a value of true is not supported. If set to true, PolicyStoreOperationNotAllowedException is thown.PolicyStoreException - if there was an error while deleting thePolicyStoreOperationNotAllowedException - if cascadeDelete is truePolicyObjectNotFoundExceptionInvalidArgumentException
  | 
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||