|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.opencms.relations.CmsInternalLinksValidator
public class CmsInternalLinksValidator
Util class to find broken links in a bundle of resources.
| Field Summary | |
|---|---|
protected java.util.Map |
m_brokenRelations
The internal computed broken relations map. |
| Constructor Summary | |
|---|---|
CmsInternalLinksValidator(CmsObject cms,
java.util.List resourceNames)
Creates a new helper object. |
|
| Method Summary | |
|---|---|
java.util.List |
getBrokenLinksForResource(java.lang.String resourceName)
Returns all broken links for the given resource. |
int |
getNotVisibleResourcesCount()
Returns the number of not visible resources with broken links. |
java.util.List |
getResourcesWithBrokenLinks()
Returns all resources with broken links. |
boolean |
isEmpty()
If no relation would be broken deleting the given resources. |
| 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 CmsInternalLinksValidator(CmsObject cms,
java.util.List resourceNames)
cms - the cms objectresourceNames - a list of resource names to be deleted| Method Detail |
|---|
public java.util.List getBrokenLinksForResource(java.lang.String resourceName)
resourceName - the resource to get the broken link
CmsRelation objectspublic int getNotVisibleResourcesCount()
public java.util.List getResourcesWithBrokenLinks()
CmsResource objectspublic boolean isEmpty()
true if no relation would be broken deleting the given resources
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||