|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RoleCategoryManager
An entity manager that creates, reads, updates and modifies a RoleCategory
Method Summary | |
---|---|
EntryReference |
createRoleCategory(RoleCategoryEntry entry) Validates and creates the given role category in the backend data store. |
void |
deleteRoleCategory(EntryReference rcRef) Deletes the role category. |
java.util.List |
getRoleCategories(RoleCategorySearchQuery query) Gets all the role categories satisfying the query in the current scope (system/ application). |
RoleCategoryEntry |
getRoleCategory(java.lang.String name) Get the role category entry given name of the role category. |
void |
modifyRoleCategory(EntryReference rcRef, javax.naming.directory.ModificationItem[] modItems) Modifies the role category referred by rcRef. |
Methods inherited from interface oracle.security.jps.service.policystore.entitymanager.EntityManager |
---|
resolveReference |
Method Detail |
---|
java.util.List getRoleCategories(RoleCategorySearchQuery query) throws PolicyStoreException
query
- Query to be applied. Cannot be null.PolicyStoreException
- in case of any errors in interaction with backend data store.InvalidArgumentException
- if query is null.RoleCategoryEntry getRoleCategory(java.lang.String name) throws PolicyObjectNotFoundException, PolicyStoreException
name
- Name of the role category to be fetched. Returns null if name is null.PolicyObjectNotFoundException
- if object does not existPolicyStoreException
- in case of any errors in interaction with backend data store.EntryReference createRoleCategory(RoleCategoryEntry entry) throws InvalidArgumentException, PolicyObjectAlreadyExistsException, PolicyStoreException
entry
- Role category to be created. Cannot be null.InvalidArgumentException
- if entry is null.PoliyObjectAlreadyExistsException
- if a role category with the same name already exists.PolicyStoreException
- in case of any errors in interaction with backend data store.PolicyObjectAlreadyExistsException
void modifyRoleCategory(EntryReference rcRef, javax.naming.directory.ModificationItem[] modItems) throws InvalidArgumentException, PolicyStoreOperationNotAllowedException, PolicyStoreException
rcRef
- Reference to the role category that is to be modified. Cannot be null.modItems
- Modifications to be made to the role category. Can be null.InvalidArgumentException
- if 1. rcRef is null OR 2. points to invalid data OR 3. if an invalid property name is given for any modItem OR 4. if more than one value is given for description/ display name OR 5. modop is not REMOVE and no value is given for description/ display name OR 6. description/ display name is not of type String ORPolicyStoreOperationNotAllowedException
- if trying to change name of the role category.PolicyStoreException
- in case of any errors in interaction with backend data store.void deleteRoleCategory(EntryReference rcRef) throws PolicyObjectNotFoundException, PolicyStoreOperationNotAllowedException, PolicyStoreException
rcRef
- Reference to role category.InvalidArgumentException
- if rcRef is null OR points to invalid data.PolicyStoreOperationNotAllowedException
- if any roles belong to this category. You must move those roles to different category/ remove their category before deleting a category.PolicyStoreException
- in case of any errors in interaction with backend data store.PolicyObjectNotFoundException
|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |