Package org.opencms.relations
Class CmsRelationPublishValidator
java.lang.Object
org.opencms.relations.CmsRelationPublishValidator
Util class to find broken links in a bundle of resources to be published.
- Since:
- 6.5.5
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Map<String, List<CmsRelation>> The internal computed broken relations map.
- 
Constructor SummaryConstructorsConstructorDescriptionCmsRelationPublishValidator(CmsObject cms, CmsPublishList publishList) Creates a new helper object.
- 
Method SummaryModifier and TypeMethodDescriptiongetInfoEntry(String resourceName) Returns the information bean for the given entry.booleanisEmpty()If no relation would be broken deleting the given resources.keySet()values()
- 
Field Details- 
m_brokenRelationsThe internal computed broken relations map.
 
- 
- 
Constructor Details- 
CmsRelationPublishValidatorCreates a new helper object.- Parameters:
- cms- the cms object
- publishList- a publish list to validate
 
 
- 
- 
Method Details- 
getInfoEntryReturns the information bean for the given entry.- Parameters:
- resourceName- the entry name
- Returns:
- the information bean for the given entry
 
- 
isEmptyIf no relation would be broken deleting the given resources.- Returns:
- trueif no relation would be broken deleting the given resources
 
- 
keySet- Returns:
- the broken relations key set
- See Also:
 
- 
values- Returns:
- the broken relations value set
- See Also:
 
 
-