public interface PermissionCacheOptimizer extends AopInfrastructureBean
| Modifier and Type | Method and Description |
|---|---|
void |
cachePermissionsFor(Authentication a,
Collection<?> objects)
Optimises the permission cache for anticipated operation on the supplied collection of objects.
|
void cachePermissionsFor(Authentication a, Collection<?> objects)
a - the user for whom permissions should be obtained.objects - the (non-null) collection of domain objects for which permissions should be retrieved.