Package com.day.cq.dam.commons.util
Class SmartTagEnhancementConfiguration
java.lang.Object
com.day.cq.dam.commons.util.SmartTagEnhancementConfiguration
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddetermineTitle(String autogenTitle, String dcTitle) Determines the title of an asset based on the autogen title and DC title.booleanChecks if Smart Tag Enhancement is enabled for this environment.
-
Constructor Details
-
SmartTagEnhancementConfiguration
public SmartTagEnhancementConfiguration()
-
-
Method Details
-
determineTitle
Determines the title of an asset based on the autogen title and DC title.- Parameters:
autogenTitle- The automatically generated title.dcTitle- The Dublin Core title.- Returns:
- The determined title based on the configured source option.
-
deactivate
@Deactivate public void deactivate() -
isSmartTagEnhancementEnabled
public boolean isSmartTagEnhancementEnabled()Checks if Smart Tag Enhancement is enabled for this environment.- Returns:
- true if Smart Tag Enhancement is enabled, false otherwise
-
getTitle
-