class ResourceTypePermissionValidator {

    public Optional<PermissionAction> resourceDependancy(ResourceType resourceType, ResourceAction permissionType) {
        return permissionMap.get(resourceType).stream().filter(vp -> vp.getResourceAction().equals(permissionType)).findFirst();
    }

    public  ResourceTypePermissionValidator();
    @Inject public  ResourceTypePermissionValidator(@Customizable final AppFormerActivities appFormerActivities, final OrganizationalUnitService organizationalUnitService,
                                           final WorkspaceProjectService projectService, final PermissionManager permissionManager);

}