|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-01 ESAPI |
|||||||||
| 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 | |
|---|---|
RoleCategoryEntry |
createRoleCategory(java.lang.String name, java.lang.String displayName, java.lang.String description)Validates and creates the given role category in the backend data store. |
void |
deleteRoleCategory(java.lang.String name)Deletes the role category. |
java.util.List<RoleCategoryEntry> |
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(RoleCategoryEntry entry)Modifies the role category referred by rcRef. |
| Methods inherited from interface oracle.security.jps.service.policystore.entitymanager.EntityManager |
|---|
resolveReference |
| Method Detail |
|---|
java.util.List<RoleCategoryEntry> 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.
RoleCategoryEntry createRoleCategory(java.lang.String name,
java.lang.String displayName,
java.lang.String description)
throws PolicyStoreException
name - of the the Role category to be created. Cannot be null.displayName - of the Role category to be created. It is optional.description - of the Role category to be created. It is optional.InvalidArgumentException - if entry is null.PolicyObjectAlreadyExistsException - if a role category with the same name already exists.PolicyStoreException - in case of any errors in interaction with backend data store.
void modifyRoleCategory(RoleCategoryEntry entry)
throws PolicyStoreException
entry - to be modifiedPolicyStoreException - in case of any errors in interaction with backend data store.
void deleteRoleCategory(java.lang.String name)
throws PolicyObjectNotFoundException,
PolicyStoreException
name - of the role category to delete.InvalidArgumentException - if name is null.PolicyObjectNotFoundException - if the role category cannot be found.PolicyStoreException - if an error occurs while deleting the role category.
|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-01 ESAPI |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||