Class TurAemAttrProcess
Object
TurAemAttrProcess
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
addTagToAttrValueList
(TurCmsContext context, TurAemSourceContext turAemSourceContext, String facet, String value) addTargetAttrValuesBySourceAttr
(TurAemSourceContext turAemSourceContext, List<TurSNAttributeSpec> turSNAttributeSpecList, TurCmsTargetAttr targetAttr, TurCmsSourceAttr sourceAttr, TurCmsContext context) static TurCmsTargetAttrValueMap
addValuesToAttributes
(TurCmsTargetAttr turCmsTargetAttr, TurCmsSourceAttr turCmsSourceAttr, Object jcrProperty) static @Nullable Object
getJcrProperty
(TurCmsContext context, String sourceAttrName) getTagLabels
(JSONObject tagJson) static TurCmsTargetAttrValueMap
getTurAttrDefUnique
(TurCmsTargetAttr turCmsTargetAttr, TurCmsTargetAttrValueMap turCmsTargetAttrValueMap) static @NotNull TurSNAttributeSpec
getTurSNAttributeSpec
(String facet, Map<String, String> facetLabel) static boolean
hasCustomClass
(TurCmsContext context) static boolean
hasCustomClass
(TurCmsTargetAttr targetAttr) static boolean
hasJcrPropertyValue
(Object jcrProperty) static boolean
hasTextValue
(TurCmsTargetAttr turCmsTargetAttr) prepareAttributeDefs
(TurAemObject aemObject, TurCmsContentDefinitionProcess turCmsContentDefinitionProcess, List<TurSNAttributeSpec> turSNAttributeSpecList, TurAemSourceContext turAemSourceContext) process
(TurCmsContext context, List<TurSNAttributeSpec> turSNAttributeSpecList, TurAemSourceContext turAemSourceContext) static TurSNAttributeSpec
setTagFacet
(TurAemSourceContext turAemSourceContext, String facetId)
-
Field Details
-
JCR_TITLE
- See Also:
-
CQ_TAGS
- See Also:
-
TAG_SEPARATOR
- See Also:
-
DEFAULT
- See Also:
-
TEXT
- See Also:
-
JCR
- See Also:
-
JSON
- See Also:
-
SLING
- See Also:
-
-
Constructor Details
-
TurAemAttrProcess
public TurAemAttrProcess()
-
-
Method Details
-
hasCustomClass
-
hasTextValue
-
getJcrProperty
@Nullable public static @Nullable Object getJcrProperty(TurCmsContext context, String sourceAttrName) -
getTurSNAttributeSpec
@NotNull public static @NotNull TurSNAttributeSpec getTurSNAttributeSpec(String facet, Map<String, String> facetLabel) -
getTagLabels
-
addValuesToAttributes
public static TurCmsTargetAttrValueMap addValuesToAttributes(TurCmsTargetAttr turCmsTargetAttr, TurCmsSourceAttr turCmsSourceAttr, Object jcrProperty) -
hasCustomClass
-
hasJcrPropertyValue
-
getTurAttrDefUnique
public static TurCmsTargetAttrValueMap getTurAttrDefUnique(TurCmsTargetAttr turCmsTargetAttr, TurCmsTargetAttrValueMap turCmsTargetAttrValueMap) -
setTagFacet
public static TurSNAttributeSpec setTagFacet(TurAemSourceContext turAemSourceContext, String facetId) -
addTagToAttrValueList
public static String addTagToAttrValueList(TurCmsContext context, TurAemSourceContext turAemSourceContext, String facet, String value) -
prepareAttributeDefs
public TurCmsTargetAttrValueMap prepareAttributeDefs(TurAemObject aemObject, TurCmsContentDefinitionProcess turCmsContentDefinitionProcess, List<TurSNAttributeSpec> turSNAttributeSpecList, TurAemSourceContext turAemSourceContext) -
addTargetAttrValuesBySourceAttr
public TurCmsTargetAttrValueMap addTargetAttrValuesBySourceAttr(TurAemSourceContext turAemSourceContext, List<TurSNAttributeSpec> turSNAttributeSpecList, TurCmsTargetAttr targetAttr, TurCmsSourceAttr sourceAttr, TurCmsContext context) -
process
public TurCmsTargetAttrValueMap process(TurCmsContext context, List<TurSNAttributeSpec> turSNAttributeSpecList, TurAemSourceContext turAemSourceContext)
-