com.arsdigita.cms.contenttypes
Class ContentItemTraversalAdapter
java.lang.Object
com.arsdigita.domain.SimpleDomainObjectTraversalAdapter
com.arsdigita.cms.contenttypes.ContentItemTraversalAdapter
- All Implemented Interfaces:
- com.arsdigita.domain.DomainObjectTraversalAdapter
- public class ContentItemTraversalAdapter
- extends com.arsdigita.domain.SimpleDomainObjectTraversalAdapter
An adapter for content items allowing pluggable
assets to extend the traversal.
Fields inherited from class com.arsdigita.domain.SimpleDomainObjectTraversalAdapter |
RULE_EXCLUDE, RULE_INCLUDE |
Method Summary |
boolean |
processProperty(com.arsdigita.domain.DomainObject obj,
String path,
com.arsdigita.persistence.metadata.Property prop,
String context)
If the path references an asset, then delegates
to the asset's adapter, otherwise delegates to
the content item's primary adapter |
static void |
registerAssetAdapter(String path,
com.arsdigita.domain.DomainObjectTraversalAdapter adapter,
String context)
|
Methods inherited from class com.arsdigita.domain.SimpleDomainObjectTraversalAdapter |
addAssociationProperty, addAttributeProperty, setAssociationRule, setAttributeRule |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentItemTraversalAdapter
public ContentItemTraversalAdapter()
ContentItemTraversalAdapter
public ContentItemTraversalAdapter(com.arsdigita.domain.SimpleDomainObjectTraversalAdapter adapter)
registerAssetAdapter
public static void registerAssetAdapter(String path,
com.arsdigita.domain.DomainObjectTraversalAdapter adapter,
String context)
processProperty
public boolean processProperty(com.arsdigita.domain.DomainObject obj,
String path,
com.arsdigita.persistence.metadata.Property prop,
String context)
- If the path references an asset, then delegates
to the asset's adapter, otherwise delegates to
the content item's primary adapter
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC