com.ibm.commerce.emarketing.utils

Class EmailActivityStorePathHelper

  • java.lang.Object
    • com.ibm.commerce.emarketing.utils.EmailActivityStorePathHelper


  • public abstract class EmailActivityStorePathHelper
    extends java.lang.Object
    A helper class to get some e-mail activity resourses with respects to store path.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static com.ibm.commerce.emarketing.objects.EmailConfigurationAccessBean getEmailConfiguration(java.lang.Integer storeEntityId, java.lang.Integer configType)
      Gets the e-mail configuration respecting to store path.
      static com.ibm.commerce.emarketing.objects.EmailRetryPolicyStoreRelationAccessBean getEmailRetryPolicyStoreRelationAccessBean(java.lang.Integer storeEntityId)
      Gets the relationship between e-mail retry policy and store respecting to store path.
      static java.lang.Integer[] getStoresByRelatedStoreAndStoreRelType(java.lang.Integer storeEntityId, java.lang.String storeRelType)
      Gets an array of child store IDs.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • EmailActivityStorePathHelper

        public EmailActivityStorePathHelper()
    • Method Detail

      • getEmailConfiguration

        public static com.ibm.commerce.emarketing.objects.EmailConfigurationAccessBean getEmailConfiguration(java.lang.Integer storeEntityId,
                                                                                                             java.lang.Integer configType)
        Gets the e-mail configuration respecting to store path.
        Parameters:
        storeEntityId - The ID of the store entity.
        configType - The e-mail configuration type, either 0 or 1. 0 means to get SMTP configuration. 1 means to get POP3 configuration.
        Returns:
        The e-mail configuration access bean.
      • getEmailRetryPolicyStoreRelationAccessBean

        public static com.ibm.commerce.emarketing.objects.EmailRetryPolicyStoreRelationAccessBean getEmailRetryPolicyStoreRelationAccessBean(java.lang.Integer storeEntityId)
        Gets the relationship between e-mail retry policy and store respecting to store path.
        Parameters:
        storeEntityId - The ID of the store entity.
        Returns:
        The e-mail retry policy store relation access bean.
      • getStoresByRelatedStoreAndStoreRelType

        public static java.lang.Integer[] getStoresByRelatedStoreAndStoreRelType(java.lang.Integer storeEntityId,
                                                                                 java.lang.String storeRelType)
                                                                          throws javax.naming.NamingException,
                                                                                 java.sql.SQLException
        Gets an array of child store IDs.
        Parameters:
        storeEntityId - The asset store ID.
        storeRelType - The store relationship type used to get child stores.
        Returns:
        An array of child store IDs.
        Throws:
        javax.naming.NamingException - Thrown when StoreRelationshipJDBCHelperAccessBean cannot retreive the data for a store ID and store relationship type.
        java.sql.SQLException - Thrown when StoreRelationshipJDBCHelperAccessBean cannot retreive the data for a store ID and store relationship type.