|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.containerpage.inherited.CmsInheritanceGroupUtils
public final class CmsInheritanceGroupUtils
Utility methods for inheritance groups which don't fit anywhere else.
| Method Summary | |
|---|---|
static CmsResource |
getInheritanceGroupContentByName(CmsObject cms,
java.lang.String name)
Finds the inheritance group content with a given internal name. |
static java.util.Set<java.lang.String> |
getNamesOfGroupsContainingResource(CmsObject cms,
CmsResource inheritanceConfig,
CmsResource target)
Parses an inheritance group configuration C and returns the names of inheritance groups in C in which a given resource is defined as a new element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CmsResource getInheritanceGroupContentByName(CmsObject cms,
java.lang.String name)
throws CmsException
Currently this is implemented as a property search, which may be potentially slow.
cms - the current CMS contextname - the name to search
CmsException - if something goes wrong
public static java.util.Set<java.lang.String> getNamesOfGroupsContainingResource(CmsObject cms,
CmsResource inheritanceConfig,
CmsResource target)
throws CmsException
cms - the current CMS contextinheritanceConfig - the inheritance configuration resourcetarget - the resource to search in the inheritance configuration
CmsException - if something goes wrong
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||