|
|||||||||
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 names
SiteAccessException
- will throw exception if errors met when reading the rolesQueryResultWrapper<java.util.List<Role>> read(Condition query) throws SiteAccessException
query
- the Condition for reading the roles
SiteAccessException
- will throw exception if errors met when reading the rolesQueryResultWrapper<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 contain
SiteAccessException
- will throw exception if errors met when reading the rolesvoid create(java.util.List<Role> roles) throws SiteAccessException
roles
- the list of roles to create in Content Server
SiteAccessException
- will throw exception if errors met when creating the rolesvoid update(java.util.List<Role> roles) throws SiteAccessException
roles
- the list of roles to update
SiteAccessException
- will throw exception if errors met when updating the rolesvoid delete(java.util.List<java.lang.String> rolenames) throws SiteAccessException
rolenames
- the list of role names to delete
SiteAccessException
- 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 |