class AbstractWorkspaceAwareResourceService implements WorkspaceAwareResourceService<T> {

    @Override
    public T deleteByNameFromWorkspace(String name, Long workspaceId) {
        T toBeDeleted = getByNameForWorkspaceId(name, workspaceId);
        return delete(toBeDeleted);
    }

}