public CmsResourceFilter addExcludeState(CmsResourceState state) {

        CmsResourceFilter extendedFilter = (CmsResourceFilter)clone();

        extendedFilter.m_state = state;
        extendedFilter.m_filterState = EXCLUDED;
        extendedFilter.updateCacheId();

        return extendedFilter;
    }
public CmsResourceFilter addExcludeState ( CmsResourceState state ) { CmsResourceFilter extendedFilter = ( CmsResourceFilter ) clone ( ) ; extendedFilter . m_state = state ; extendedFilter . m_filterState = EXCLUDED ; extendedFilter . updateCacheId ( ) ; return extendedFilter ; }
Returns an extended filter in order to avoid the given type in the filtered resources.<p>

@param state the resource state to exclude
@return a filter excluding the given resource state