public interface MCMFacade
| Modifier and Type | Method and Description |
|---|---|
void |
addExperienceIndirection(String fromCompType,
String toCompType)
Change configuration by adding an indirection.
|
void |
addTouchpointIndirection(String fromCompType,
String toCompType)
Change configuration by adding an indirection.
|
Iterator<Experience> |
findExperiences(ResourceResolver rr,
Touchpoint t)
Finds all posts that are related to the given account,
in campaigns and under account.
|
Iterator<Resource> |
findResources(ResourceResolver rr,
Collection<String> rootComponents,
String path,
String additionalPropertyCondition)
Find all social feed resources underneath a given path.
|
MCMResourceType |
getMCMType(String resourceTypeToTest)
Gets the type of a given
sling:resourceType . |
MCMPlugin |
getPlugin(Resource r)
Get a plugin for a resource found using component types returned by
MCMFacade. |
MCMPlugin |
getPluginForType(String componentTypeToProvideFrom)
Get a plugin if the type is known to the
MCMFacade. |
Collection<MCMPlugin> |
getPlugins()
Get the complete list of registered plugins.
|
Collection<String> |
getRegisteredExperienceComponents()
The component types known to be used for
Experience components. |
Collection<String> |
getRegisteredTouchpointComponents()
The component types known to be used for
Touchpoint components. |
void |
removeExperienceIndirection(String fromCompType)
Change configuration by removing an indirection.
|
void |
removeTouchpointIndirection(String fromCompType)
Change configuration by removing an indirection.
|
MCMPlugin getPlugin(Resource r)
MCMFacade.
Returns null if the resource's type isn't known.r - Collection<MCMPlugin> getPlugins()
MCMPlugin getPluginForType(String componentTypeToProvideFrom)
MCMFacade. Otherwise
null is returned.componentTypeToProvideFrom - MCMResourceType getMCMType(String resourceTypeToTest)
sling:resourceType .componentToTest - Collection<String> getRegisteredExperienceComponents()
Experience components.
Might contain indirections, too.Collection<String> getRegisteredTouchpointComponents()
Touchpoint components.
Might contain indirections, too.Iterator<Experience> findExperiences(ResourceResolver rr, Touchpoint t)
account - Iterator<Resource> findResources(ResourceResolver rr, Collection<String> rootComponents, String path, String additionalPropertyCondition)
rootComponents - path - additionalPropertyCondition - can be null, or a additional condition
to be added to the property checking.void addExperienceIndirection(String fromCompType, String toCompType)
fromCompType - toCompType - void addTouchpointIndirection(String fromCompType, String toCompType)
fromCompType - toCompType - void removeExperienceIndirection(String fromCompType)
fromCompType - void removeTouchpointIndirection(String fromCompType)
fromCompType - Copyright © 2010 - 2020 Adobe. All Rights Reserved