com.konakartadmin.blif
Interface AdminVelocityContextMgrIf

All Known Implementing Classes:
AdminVelocityContextMgr

public interface AdminVelocityContextMgrIf

AdminVelocityContextMgrIf


Field Summary
static int SEND_NEW_PASSWORD
          SEND_NEW_PASSWORD
static int STATUS_CHANGE_EMAIL
          STATUS_CHANGE_EMAIL
static int TEMPLATE_MAIL_TO_CUST
          TEMPLATE_MAIL_TO_CUST
 
Method Summary
 void addToContext(org.apache.velocity.VelocityContext context, KKAdminIf eng, int contextType, int langId, AdminEmailOptions options, int customInt, java.lang.String customString)
          Put an object into the VelocityContext
 

Field Detail

TEMPLATE_MAIL_TO_CUST

static final int TEMPLATE_MAIL_TO_CUST
TEMPLATE_MAIL_TO_CUST

See Also:
Constant Field Values

SEND_NEW_PASSWORD

static final int SEND_NEW_PASSWORD
SEND_NEW_PASSWORD

See Also:
Constant Field Values

STATUS_CHANGE_EMAIL

static final int STATUS_CHANGE_EMAIL
STATUS_CHANGE_EMAIL

See Also:
Constant Field Values
Method Detail

addToContext

void addToContext(org.apache.velocity.VelocityContext context,
                  KKAdminIf eng,
                  int contextType,
                  int langId,
                  AdminEmailOptions options,
                  int customInt,
                  java.lang.String customString)
                  throws KKAdminException
Put an object into the VelocityContext

Parameters:
context - The velocity context
eng - engine
contextType - one of:
  • AdminVelocityContextMgrIf.TEMPLATE_MAIL_TO_CUST
  • AdminVelocityContextMgrIf.SEND_NEW_PASSWORD
  • AdminVelocityContextMgrIf.STATUS_CHANGE_EMAIL
langId - languageId
options - EmailOptions
customInt - a custom Integer - the meaning depends on the contextType:
  • AdminVelocityContextMgrIf.TEMPLATE_MAIL_TO_CUST - customerId
  • AdminVelocityContextMgrIf.SEND_NEW_PASSWORD - not set
  • AdminVelocityContextMgrIf.STATUS_CHANGE_EMAIL - orderId
customString - a custom String - the meaning depends on the contextType:
  • AdminVelocityContextMgrIf.TEMPLATE_MAIL_TO_CUST - template name
  • AdminVelocityContextMgrIf.SEND_NEW_PASSWORD - customer's email address
  • AdminVelocityContextMgrIf.STATUS_CHANGE_EMAIL - new state Id
Throws:
KKAdminException


Copyright © 2011 DS Data Systems UK Ltd.