protected List<CmsCategory> getResourceCategories() throws CmsException {

        if (m_resCats == null) {
            m_resCats = m_categoryService.readResourceCategories(getJsp().getCmsObject(), getParamResource());
        }
        return m_resCats;
    }
protected List < CmsCategory > getResourceCategories ( ) throws CmsException { if ( m_resCats == null ) { m_resCats = m_categoryService . readResourceCategories ( getJsp ( ) . getCmsObject ( ) , getParamResource ( ) ) ; } return m_resCats ; }
Returns a list of a categories related to the current request resource.<p>

@return a list of a categories related to the current request resource

@throws CmsException if something goes wrong