Class ProfileHelper
- java.lang.Object
-
- com.adobe.cq.mcm.campaign.profile.ProfileHelper
-
public class ProfileHelper extends java.lang.Object
Defines helper functions for accessing Campaign profile data (deeply nested format)
-
-
Method Summary
-
-
-
Method Detail
-
getMetaData
public static MetaDataNode getMetaData(SlingHttpServletRequest request) throws ACConnectorException
- Throws:
ACConnectorException
-
getMetaDataByPath
public static MetaDataNode getMetaDataByPath(SlingHttpServletRequest request, java.lang.String path) throws ACConnectorException
- Throws:
ACConnectorException
-
getOptions
public static Options getOptions(SlingHttpServletRequest request) throws ACConnectorException
- Throws:
ACConnectorException
-
getOptionsAsMap
public static java.util.Map<java.lang.String,java.lang.String> getOptionsAsMap(SlingHttpServletRequest request)
-
getProfile
public static Profile getProfile(SlingHttpServletRequest request, java.lang.String encryptedPK) throws ACConnectorException
- Throws:
ACConnectorException
-
determineEncryptedPK
public static java.lang.String determineEncryptedPK(SlingHttpServletRequest request)
-
getProfile
public static Profile getProfile(SlingHttpServletRequest request) throws ACConnectorException
- Throws:
ACConnectorException
-
getMetaDataInstance
public static MetaDataNode getMetaDataInstance(SlingHttpServletRequest request)
-
getValue
public static java.lang.Object getValue(SlingHttpServletRequest request)
-
getValuesAsList
public static java.util.List<java.lang.String> getValuesAsList(SlingHttpServletRequest request)
-
isReconciliationKey
public static boolean isReconciliationKey(SlingHttpServletRequest request)
-
getValueAsBoolean
public static boolean getValueAsBoolean(SlingHttpServletRequest request)
-
getBooleanTrue
public static java.lang.String getBooleanTrue(SlingHttpServletRequest request)
-
getBooleanFalse
public static java.lang.String getBooleanFalse(SlingHttpServletRequest request)
-
getSubscriptions
public static Subscriptions getSubscriptions(SlingHttpServletRequest req)
-
-