|
||||||
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 java.util.Map |
m_brokenRelations
The internal computed broken relations map. |
Constructor Summary | |
---|---|
CmsRelationDeleteValidator(CmsObject cms,
java.util.List resourceNames,
boolean includeSiblings)
Creates a new helper object. |
Method Summary | |
---|---|
CmsRelationValidatorInfoEntry |
getInfoEntry(java.lang.String resourceName)
Returns the information bean for the given entry. |
boolean |
isEmpty()
If no relation would be broken deleting the given resources. |
java.util.Set |
keySet()
|
java.util.Collection |
values()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map m_brokenRelations
Constructor Detail |
---|
public CmsRelationDeleteValidator(CmsObject cms, java.util.List 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(java.lang.String resourceName)
resourceName
- the entry name
public boolean isEmpty()
true
if no relation would be broken deleting the given resourcespublic java.util.Set keySet()
Map.keySet()
public java.util.Collection values()
Map.values()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |