Class CmsRelationPublishValidator


  • public class CmsRelationPublishValidator
    extends java.lang.Object
    Util class to find broken links in a bundle of resources to be published.

    Since:
    6.5.5
    • Field Detail

      • m_brokenRelations

        protected java.util.Map<java.lang.String,​java.util.List<CmsRelation>> m_brokenRelations
        The internal computed broken relations map.
    • Method Detail

      • getInfoEntry

        public CmsRelationValidatorInfoEntry getInfoEntry​(java.lang.String resourceName)
        Returns the information bean for the given entry.

        Parameters:
        resourceName - the entry name
        Returns:
        the information bean for the given entry
      • isEmpty

        public boolean isEmpty()
        If no relation would be broken deleting the given resources.

        Returns:
        true if no relation would be broken deleting the given resources
      • keySet

        public java.util.Set<java.lang.String> keySet()
        Returns:
        the broken relations key set
        See Also:
        Map.keySet()
      • values

        public java.util.Collection<java.util.List<CmsRelation>> values()
        Returns:
        the broken relations value set
        See Also:
        Map.values()