Class PathSearchContext

java.lang.Object
ch.tocco.nice2.rest.entity.impl.search.PathSearchContext

public class PathSearchContext extends Object
Helper class that is provided to the EntityBeanFactory in order to facilitate access to the result data and security permissions. If PathSearchRequest.isEvaluatePermissions() is true this context evaluates all permissions (AccessPermission.write()) in advance using SecurityContext.getGuardForList(List). This is the most efficient way, as only one call to the SecurityContext is required per Path. This allows evaluating a security condition in only query for all resulting rows.
  • Method Details