www.element4solution.com

e4s.application.appmodule
Class AEP_modifyClient_Impl

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.application.appmodule.AEP_modifyClient_Impl
All Implemented Interfaces:
AEP_modifyClient_Intf

public class AEP_modifyClient_Impl
extends E4Object
implements AEP_modifyClient_Intf

Base implementation of the AEP_modifyClient_Intf. It can be used as a foundation for own implementations.

See Also:
E4ModuleEditClient.setAEP(e4s.application.appmodule.AEP_modifyClient_Intf)

Field Summary
static E4CompanyGroup GROUP_APPLICATION_ADMINISTRATOR
          The default company group for the application-administrator
static E4CompanyGroup GROUP_SYSTEM_ADMINISTRATOR
          The default company group for the system-administrator
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
AEP_modifyClient_Impl()
           
 
Method Summary
static java.lang.String _getSVNVersionString()
           
 void afterDelete(E4DBConnection_Intf con, E4ApplObj_Intf tmpApplobj, E4ApplObj_Intf currApplobj)
          Empty implementation
 boolean afterInsert(E4DBConnection_Intf con, E4ApplObj_Intf tmpApplobj, E4ApplObj_Intf applobj)
          Empty implementation
 boolean beforeDelete(E4Fieldset fieldset, E4ApplObj_Intf applobj)
          Empty implementation
 E4CompanyGroup defineGroup_ApplicationAdministrator()
          Get the permission for the application administrator.
 E4CompanyGroup defineGroup_SystemAdministrator()
          Get the permission for the system administrator.
 java.lang.String getGroupDesignation(E4CompanyGroup group)
          Get the designation for a new created group.
 java.lang.String getGroupRem(E4CompanyGroup group)
          Get the remark for a new created group.
 E4CompanyGroup[] getInitGroups()
          Get the permissions required initially for your application when creating a new client.
 E4Label_Intf validate(E4DBConnection_Intf con, E4ApplObj_Intf tmpApplobj, E4ApplObj_Intf currApplobj)
          Empty implementation for validation
 
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, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, 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

GROUP_SYSTEM_ADMINISTRATOR

public static final E4CompanyGroup GROUP_SYSTEM_ADMINISTRATOR
The default company group for the system-administrator


GROUP_APPLICATION_ADMINISTRATOR

public static final E4CompanyGroup GROUP_APPLICATION_ADMINISTRATOR
The default company group for the application-administrator

Constructor Detail

AEP_modifyClient_Impl

public AEP_modifyClient_Impl()
Method Detail

validate

public E4Label_Intf validate(E4DBConnection_Intf con,
                             E4ApplObj_Intf tmpApplobj,
                             E4ApplObj_Intf currApplobj)
                      throws java.lang.Exception
Empty implementation for validation

Specified by:
validate in interface AEP_modifyClient_Intf
Parameters:
con - ignored
tmpApplobj - ignored
currApplobj - ignored
Returns:
null
Throws:
java.lang.Exception

afterInsert

public boolean afterInsert(E4DBConnection_Intf con,
                           E4ApplObj_Intf tmpApplobj,
                           E4ApplObj_Intf applobj)
                    throws java.lang.Exception
Empty implementation

Specified by:
afterInsert in interface AEP_modifyClient_Intf
Parameters:
con - ignored
tmpApplobj - ignored
applobj - ignored
Returns:
true
Throws:
java.lang.Exception

beforeDelete

public boolean beforeDelete(E4Fieldset fieldset,
                            E4ApplObj_Intf applobj)
                     throws java.lang.Exception
Empty implementation

Specified by:
beforeDelete in interface AEP_modifyClient_Intf
Parameters:
fieldset - ignored
applobj - ignored
Returns:
true
Throws:
java.lang.Exception
See Also:
AEP_UserDefFunction_Intf

afterDelete

public void afterDelete(E4DBConnection_Intf con,
                        E4ApplObj_Intf tmpApplobj,
                        E4ApplObj_Intf currApplobj)
                 throws java.lang.Exception
Empty implementation

Specified by:
afterDelete in interface AEP_modifyClient_Intf
Parameters:
con - ignored
tmpApplobj - ignored
currApplobj - ignored
Throws:
java.lang.Exception

getInitGroups

public E4CompanyGroup[] getInitGroups()
Get the permissions required initially for your application when creating a new client.

Specified by:
getInitGroups in interface AEP_modifyClient_Intf
Returns:
an array including GROUP_SYSTEM_ADMINISTRATOR and GROUP_APPLICATION_ADMINISTRATOR.
See Also:
E4ModuleEditClient.createClient, defineGroup_SystemAdministrator(), defineGroup_ApplicationAdministrator(), GROUP_SYSTEM_ADMINISTRATOR, GROUP_APPLICATION_ADMINISTRATOR

defineGroup_SystemAdministrator

public E4CompanyGroup defineGroup_SystemAdministrator()
Get the permission for the system administrator.

Specified by:
defineGroup_SystemAdministrator in interface AEP_modifyClient_Intf
Returns:
#GROUP_SYSTEM_ADMINISTRATOR
See Also:
AEP_modifyClient_Intf.defineGroup_ApplicationAdministrator()

defineGroup_ApplicationAdministrator

public E4CompanyGroup defineGroup_ApplicationAdministrator()
Get the permission for the application administrator.

Specified by:
defineGroup_ApplicationAdministrator in interface AEP_modifyClient_Intf
Returns:
#GROUP_APPLICATION_ADMINISTRATOR
See Also:
AEP_modifyClient_Intf.defineGroup_SystemAdministrator()

getGroupDesignation

public java.lang.String getGroupDesignation(E4CompanyGroup group)
Get the designation for a new created group.

Specified by:
getGroupDesignation in interface AEP_modifyClient_Intf
Returns:
the designation or null if not available

getGroupRem

public java.lang.String getGroupRem(E4CompanyGroup group)
Get the remark for a new created group.

Specified by:
getGroupRem in interface AEP_modifyClient_Intf
Returns:
the remark or null if not available

_getSVNVersionString

public static java.lang.String _getSVNVersionString()

www.element4solution.com