com.konakart.plugins
Class KKEngPlugin

java.lang.Object
  extended by com.konakart.plugins.KKEngPlugin
All Implemented Interfaces:
org.apache.struts.action.PlugIn

public class KKEngPlugin
extends java.lang.Object
implements org.apache.struts.action.PlugIn

This object is defined in the struts-config.xml file and is called when struts powers up.


Constructor Summary
KKEngPlugin()
           
 
Method Summary
 void destroy()
          destroy the plugin
 java.lang.String getCategoriesShared()
           
 java.lang.String getCustomersShared()
           
 java.lang.String getMode()
           
 int getModeInt()
           
 java.lang.String getModeString()
          Return the engine mode - as a descriptive String for diagnostic purposes only
 java.lang.String getProductsShared()
           
 java.lang.String getPropertiesPath()
           
 java.lang.String getStoreId()
           
 void init(org.apache.struts.action.ActionServlet servlet, org.apache.struts.config.ModuleConfig config)
          plugin initialisation
 void setCategoriesShared(java.lang.String categoriesShared)
           
 void setCustomersShared(java.lang.String customersShared)
           
 void setMode(java.lang.String mode)
           
 void setModeInt(int modeInt)
           
 void setProductsShared(java.lang.String productsShared)
           
 void setPropertiesPath(java.lang.String propertiesPath)
           
 void setStoreId(java.lang.String storeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KKEngPlugin

public KKEngPlugin()
Method Detail

destroy

public void destroy()
destroy the plugin

Specified by:
destroy in interface org.apache.struts.action.PlugIn

init

public void init(org.apache.struts.action.ActionServlet servlet,
                 org.apache.struts.config.ModuleConfig config)
          throws javax.servlet.ServletException
plugin initialisation

Specified by:
init in interface org.apache.struts.action.PlugIn
Throws:
javax.servlet.ServletException

getPropertiesPath

public java.lang.String getPropertiesPath()
Returns:
Returns the propertiesPath.

setPropertiesPath

public void setPropertiesPath(java.lang.String propertiesPath)
Parameters:
propertiesPath - The propertiesPath to set.

getModeString

public java.lang.String getModeString()
Return the engine mode - as a descriptive String for diagnostic purposes only

Returns:
Return the engine mode as a descriptive String

getMode

public java.lang.String getMode()
Returns:
Returns the mode.

setMode

public void setMode(java.lang.String mode)
Parameters:
mode - The mode to set.

getStoreId

public java.lang.String getStoreId()
Returns:
Returns the storeId.

setStoreId

public void setStoreId(java.lang.String storeId)
Parameters:
storeId - The storeId to set.

getModeInt

public int getModeInt()
Returns:
the modeInt

setModeInt

public void setModeInt(int modeInt)
Parameters:
modeInt - the modeInt to set

getCustomersShared

public java.lang.String getCustomersShared()
Returns:
the customersShared

setCustomersShared

public void setCustomersShared(java.lang.String customersShared)
Parameters:
customersShared - the customersShared to set

getProductsShared

public java.lang.String getProductsShared()
Returns:
the productsShared

setProductsShared

public void setProductsShared(java.lang.String productsShared)
Parameters:
productsShared - the productsShared to set

getCategoriesShared

public java.lang.String getCategoriesShared()
Returns:
the categoriesShared

setCategoriesShared

public void setCategoriesShared(java.lang.String categoriesShared)
Parameters:
categoriesShared - the categoriesShared to set


Copyright © 2011 DS Data Systems UK Ltd.