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