|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.relations.CmsRelationDeleteValidator
public class CmsRelationDeleteValidator
Util class to find broken links in a bundle of resources to be deleted.
Field Summary | |
---|---|
protected Map<String,List<CmsRelation>> |
m_brokenRelations
The internal computed broken relations map. |
Constructor Summary | |
---|---|
CmsRelationDeleteValidator(CmsObject cms,
List<String> resourceNames,
boolean includeSiblings)
Creates a new helper object. |
Method Summary | |
---|---|
CmsRelationValidatorInfoEntry |
getInfoEntry(String resourceName)
Returns the information bean for the given entry. |
boolean |
isEmpty()
If no relation would be broken deleting the given resources. |
Set<String> |
keySet()
|
Collection<List<CmsRelation>> |
values()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map<String,List<CmsRelation>> m_brokenRelations
Constructor Detail |
---|
public CmsRelationDeleteValidator(CmsObject cms, List<String> resourceNames, boolean includeSiblings)
cms
- the cms objectresourceNames
- a list of resource names to be deletedincludeSiblings
- if the siblings should also be deletedMethod Detail |
---|
public CmsRelationValidatorInfoEntry getInfoEntry(String resourceName)
resourceName
- the entry name
public boolean isEmpty()
true
if no relation would be broken deleting the given resourcespublic Set<String> keySet()
Map.keySet()
public Collection<List<CmsRelation>> values()
Map.values()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |