public function getStateString(array $varyingStateParameter = null)
    {
        $stateInput = $this->getStateArrayWithoutQueryParameter();
        $parts = array();
        foreach ($stateInput as $key => $value) {
            if (null !== $varyingStateParameter && in_array($key, $varyingStateParameter)) {
                continue;
            }
            $parts[] = $key.':'.$value;
        }

        if (0 === count($parts)) {
            return '';
        }

        return implode(',', $parts);
    }