|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RoleManager
Role Manager class that handles roles CRUD operations
| Method Summary | |
|---|---|
void |
create(java.util.List<Role> roles)Create a list of roles in Content Server |
void |
delete(java.util.List<java.lang.String> rolenames)Delete the list of roles from Content Server |
QueryResultWrapper<java.util.List<Role>> |
read(Condition query)Read a list of roles from Content Server with a Condition. |
QueryResultWrapper<java.util.List<Role>> |
read(Condition query, java.util.List<SortOrder> sortorders, int start, int count)Read a list of roles from Content Server with a Condition. |
java.util.List<Role> |
read(java.util.List<java.lang.String> names)Read a list of Roles from Content Server with list of Role names |
void |
update(java.util.List<Role> roles)Update the existing roles in Content Server with new information |
| Method Detail |
|---|
java.util.List<Role> read(java.util.List<java.lang.String> names)
throws SiteAccessException
names - the list of string role namesSiteAccessException - will throw exception if errors met when reading the roles
QueryResultWrapper<java.util.List<Role>> read(Condition query)
throws SiteAccessException
query - the Condition for reading the rolesSiteAccessException - will throw exception if errors met when reading the roles
QueryResultWrapper<java.util.List<Role>> read(Condition query,
java.util.List<SortOrder> sortorders,
int start,
int count)
throws SiteAccessException
query - the Condition for reading the roles - only name, description are supportedsortorders - the attributes of roles that the results will be sorted upon - only name, description are supportedstart - the start number where you want to results fromcount - the total number sites you want the list containSiteAccessException - will throw exception if errors met when reading the roles
void create(java.util.List<Role> roles)
throws SiteAccessException
roles - the list of roles to create in Content ServerSiteAccessException - will throw exception if errors met when creating the roles
void update(java.util.List<Role> roles)
throws SiteAccessException
roles - the list of roles to updateSiteAccessException - will throw exception if errors met when updating the roles
void delete(java.util.List<java.lang.String> rolenames)
throws SiteAccessException
rolenames - the list of role names to deleteSiteAccessException - will throw exception if errors met when deleting the roles
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.