public function getMessaging($nb_messaging)
    {
        $retval = false;

        if (is_object($nb_messaging) && !($nb_messaging instanceof CNabuDataObject)) {
            throw new ENabuCoreException(
                ENabuCoreException::ERROR_UNEXPECTED_PARAM_CLASS_TYPE,
                array('$nb_messaging', get_class($nb_messaging))
            );
        }

        if ($nb_messaging !== null) {
            $nb_messaging_id = nb_getMixedValue($nb_messaging, NABU_MESSAGING_FIELD_ID);
            if (is_numeric($nb_messaging_id) || nb_isValidGUID($nb_messaging_id)) {
                $retval = $this->nb_messaging_list->getItem($nb_messaging_id);
            } elseif ($nb_messaging_id !== null && $nb_messaging_id !== false) {
                throw new ENabuCoreException(
                    ENabuCoreException::ERROR_UNEXPECTED_PARAM_VALUE,
                    array('$nb_messaging', print_r($nb_messaging, true))
                );
            }
        }

        return $retval;
    }