public interface AccessRuleApi
Modifier and Type | Method and Description |
---|---|
void |
create(Iterable<AccessRule> accessRules)
Create new access rules or append to existing access rules.
|
boolean |
delete(int id)
Delete an access rule from the access list.
|
boolean |
delete(Iterable<Integer> ids)
Batch delete the access rules given the specified ids.
|
boolean |
deleteAll()
Delete the entire access list.
|
Iterable<AccessRuleWithId> |
list()
List the AccessRules.
|
@Named(value="accessrule:create") void create(Iterable<AccessRule> accessRules)
@Named(value="accessrule:list") Iterable<AccessRuleWithId> list()
@Named(value="accessrule:delete") boolean delete(int id)
@Named(value="accessrule:delete") boolean delete(Iterable<Integer> ids)
@Named(value="accessrule:delete") boolean deleteAll()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.