www.element4solution.com

e4s.db.dict.plugins
Class E4DBDictPlugInRepository

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.E4HtmlObject
          extended by e4s.servlet.E4ModuleImplementation
              extended by e4s.db.dict.plugins.E4DBDictPlugInRepository
All Implemented Interfaces:
AEP_DictionaryPlugIn

public class E4DBDictPlugInRepository
extends E4ModuleImplementation
implements AEP_DictionaryPlugIn


Field Summary
static E4Method start
           
 
Fields inherited from class e4s.html.E4HtmlObject
m_parent_e4sID
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4DBDictPlugInRepository()
           
 
Method Summary
static java.lang.String _getSVNVersionString()
           
 void changed(E4DBTable table)
          This function will be called whenever a table has become changed.
 void changed(E4DBType type)
          This function will be called whenever a type has become changed.
 void changed(E4DBView view)
          This function will be called whenever a view has become changed.
 void deleted(E4DBTable table)
          This function will be called whenever a table has become deleted.
 void deleted(E4DBType type)
          This function will be called whenever a type has become deleted.
 void deleted(E4DBView view)
          This function will be called whenever a view has become deleted.
 void fromXml(java.lang.StringBuffer xml, boolean is_e4s_system_dictionary)
          Read in specific information from the data-dictionaries XML container which will be done when the E4S application starts up.
 void generateTable_Modify(E4DBTable table, E4DBJavaGeneratorPrintStream out)
           
 void generateTable_Object(E4DBTable table, E4DBJavaGeneratorPrintStream out)
           
 void generateTable_Select(E4DBTable table, E4DBJavaGeneratorPrintStream out)
           
 void generateTable_Vector(E4DBTable table, E4DBJavaGeneratorPrintStream out)
           
 void generateType(E4DBType type, E4DBJavaGeneratorPrintStream out)
           
 void generateView(E4DBView view, E4DBJavaGeneratorPrintStream out)
           
 E4Method getMethod()
          Provide a method for the plug in that can be selected in the dictionary's menu.
 E4Label_Intf getPlugInName()
          Provide a name for the plug in that will be shown in the dictionary's menu.
 void init(E4DBDict dict)
          Initialize by giving the datadictionary information to that plugin
 void start(HTML html, E4CgiParams params)
           
 void toXml(E4PrintStream pstr, boolean is_e4s_system_dictionary)
          Write out specific information to the data-dictionaries XML container which will be done when something changes within a table.
 
Methods inherited from class e4s.servlet.E4ModuleImplementation
canDo, canDo, canRun, closeHtmlOutput, empty2nbsp, empty2nbsp, getApplication_Permissions, getApplication, getApplObj, getClient, getClientImage, getClientObject, getClientObject, getClientObject, getClientValue, getClientValueBool, getClientValueDate, getClientValueFloat, getClientValueInt, getClientValueLong, getCookie, getCookieArr, getCookieBool, getCookieDate, getCookieLong, getCountryCode, getCSS, getDateFormat, getDbConnection, getDecimalSign, getE4ClientLogo, getE4S_Permissions, getLanguage_App, getLanguage_Sys, getLanguage, getParameters, getPersistantParameter, getPersistantParameterBoolean, getPersistantParameterDate, getPersistantParameterInt, getPersistantParameterIntArr, getPersistantParameterLong, getPickParams, getRemoteAddr, getRequiredModulePermission, getServlet, getSession, getSessionId, getSessionObject_Boolean, getSessionObject_Long, getSessionObject_String, getSessionObject, getSessionObject, getSessionObjects, getTimeFormat, getTimeZone, getUrl, getUserEmail, getUserValue, getUserValue, getUserValueArr, getUserValueBool, getUserValueBool, getUserValueDate, getUserValueDate, getUserValueInt, getUserValueInt, getUserValueLong, getUserValueLong, isok, isPersistant, isRunningWindow, isTimeout, ok, openHtmlOutput, removeApplicationObject, removeClientObject, removeClientObject, removeClientObject, removeClientValue, removeSessionObject, removeSessionObject, removeUserValue, removeUserValue, resetClientLogo, setAjaxTrace, setApplication, setApplicationObject, setClientObject, setClientObject, setClientObject, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setPersistantParameter, setServlet, setSessionObject, setSessionObject, setSessionObject, setSessionObject, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, SystemError, write, write, write, write, write, writeln, writeln, writeln, writeln
 
Methods inherited from class e4s.html.E4HtmlObject
E4ID, E4ID, set_e4sID
 
Methods inherited from class e4s.util.E4Object
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

start

public static E4Method start
Constructor Detail

E4DBDictPlugInRepository

public E4DBDictPlugInRepository()
Method Detail

changed

public void changed(E4DBTable table)
             throws E4DBException
Description copied from interface: AEP_DictionaryPlugIn
This function will be called whenever a table has become changed.

Specified by:
changed in interface AEP_DictionaryPlugIn
Parameters:
table - the changed table
Throws:
E4DBException

changed

public void changed(E4DBView view)
             throws E4DBException
Description copied from interface: AEP_DictionaryPlugIn
This function will be called whenever a view has become changed.

Specified by:
changed in interface AEP_DictionaryPlugIn
Parameters:
view - the changed view
Throws:
E4DBException

changed

public void changed(E4DBType type)
             throws E4DBException
Description copied from interface: AEP_DictionaryPlugIn
This function will be called whenever a type has become changed.

Specified by:
changed in interface AEP_DictionaryPlugIn
Parameters:
type - the changed type
Throws:
E4DBException

deleted

public void deleted(E4DBTable table)
             throws E4DBException
Description copied from interface: AEP_DictionaryPlugIn
This function will be called whenever a table has become deleted.

Specified by:
deleted in interface AEP_DictionaryPlugIn
Parameters:
table - the changed table
Throws:
E4DBException

deleted

public void deleted(E4DBView view)
             throws E4DBException
Description copied from interface: AEP_DictionaryPlugIn
This function will be called whenever a view has become deleted.

Specified by:
deleted in interface AEP_DictionaryPlugIn
Parameters:
view - the changed view
Throws:
E4DBException

deleted

public void deleted(E4DBType type)
             throws E4DBException
Description copied from interface: AEP_DictionaryPlugIn
This function will be called whenever a type has become deleted.

Specified by:
deleted in interface AEP_DictionaryPlugIn
Parameters:
type - the changed type
Throws:
E4DBException

fromXml

public void fromXml(java.lang.StringBuffer xml,
                    boolean is_e4s_system_dictionary)
Description copied from interface: AEP_DictionaryPlugIn
Read in specific information from the data-dictionaries XML container which will be done when the E4S application starts up.

Specified by:
fromXml in interface AEP_DictionaryPlugIn
Parameters:
xml - the ready read-in XML content for this plugin only.
See Also:
#toXml(e4s.util.E4PrintStream)

generateTable_Modify

public void generateTable_Modify(E4DBTable table,
                                 E4DBJavaGeneratorPrintStream out)
                          throws E4DBException
Specified by:
generateTable_Modify in interface AEP_DictionaryPlugIn
Throws:
E4DBException

generateTable_Object

public void generateTable_Object(E4DBTable table,
                                 E4DBJavaGeneratorPrintStream out)
                          throws E4DBException
Specified by:
generateTable_Object in interface AEP_DictionaryPlugIn
Throws:
E4DBException

generateTable_Select

public void generateTable_Select(E4DBTable table,
                                 E4DBJavaGeneratorPrintStream out)
                          throws E4DBException
Specified by:
generateTable_Select in interface AEP_DictionaryPlugIn
Throws:
E4DBException

generateTable_Vector

public void generateTable_Vector(E4DBTable table,
                                 E4DBJavaGeneratorPrintStream out)
                          throws E4DBException
Specified by:
generateTable_Vector in interface AEP_DictionaryPlugIn
Throws:
E4DBException

generateType

public void generateType(E4DBType type,
                         E4DBJavaGeneratorPrintStream out)
                  throws E4DBException
Specified by:
generateType in interface AEP_DictionaryPlugIn
Throws:
E4DBException

generateView

public void generateView(E4DBView view,
                         E4DBJavaGeneratorPrintStream out)
                  throws E4DBException
Specified by:
generateView in interface AEP_DictionaryPlugIn
Throws:
E4DBException

getMethod

public E4Method getMethod()
Description copied from interface: AEP_DictionaryPlugIn
Provide a method for the plug in that can be selected in the dictionary's menu.

Specified by:
getMethod in interface AEP_DictionaryPlugIn
Returns:
a E4Method representing a function call or null if this plug in does not need any menu entry.
See Also:
#getName()

getPlugInName

public E4Label_Intf getPlugInName()
Description copied from interface: AEP_DictionaryPlugIn
Provide a name for the plug in that will be shown in the dictionary's menu.

Specified by:
getPlugInName in interface AEP_DictionaryPlugIn
Returns:
a String representing a name.
See Also:
AEP_DictionaryPlugIn.getMethod()

init

public void init(E4DBDict dict)
Description copied from interface: AEP_DictionaryPlugIn
Initialize by giving the datadictionary information to that plugin

Specified by:
init in interface AEP_DictionaryPlugIn
Parameters:
dict - the data dictionary

toXml

public void toXml(E4PrintStream pstr,
                  boolean is_e4s_system_dictionary)
Description copied from interface: AEP_DictionaryPlugIn
Write out specific information to the data-dictionaries XML container which will be done when something changes within a table.

Specified by:
toXml in interface AEP_DictionaryPlugIn
Parameters:
pstr - an opened XML stream
See Also:
#fromXml(String)

start

public void start(HTML html,
                  E4CgiParams params)
           throws java.lang.Exception
Throws:
java.lang.Exception

_getSVNVersionString

public static java.lang.String _getSVNVersionString()

www.element4solution.com