Class CollectionPermissionHandlerImpl<T,​DTO extends ProductDTO,​AD extends ActiveProductsData>


  • public class CollectionPermissionHandlerImpl<T,​DTO extends ProductDTO,​AD extends ActiveProductsData>
    extends BasePermissionHandlerImpl<Set<T>,​Set<T>,​DTO,​AD>
    A PermissionHandlerImpl which sets / removes a permission if a collection is set, and does nothing when converting from entity to DTO, as it is assumed that the collection of elements is already copied into the DTO, and is the sole representation