www.element4solution.com

e4s.application.appmodule
Class E4ModuleEditPermissions

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.E4HtmlObject
          extended by e4s.servlet.E4ModuleImplementation
              extended by e4s.application.appmodule.E4ModuleImplementationApplication
                  extended by e4s.application.appmodule.E4ModuleEditPermissions

public class E4ModuleEditPermissions
extends E4ModuleImplementationApplication

Editing of permissions (Groups / Companies / Users). The group permission stands above the company permission which stands above the user permission. A group permission can deny (-1), grant (+1) or delegate (0) a permission. If delegated, then the company permission becames relevant, which also can deny, grant or delegate. Again, if delegated on company level then the user permission becomes relevant.

Since:
JDK 1.4
See Also:
E4ApplObj_Intf.canDo(e4s.db.systabledef.E4Permission_Intf), E4PermissionRegistry, E4Permission, E4ModuleImplementation.getApplication_Permissions(), E4ModuleImplementation.getE4S_Permissions()

Field Summary
static E4Method editCompanyPermissions
           
static E4Method editCompanyPermissions_Reload
           
static E4Method editGroupPermissions
           
static E4Method editGroupPermissions_Reload
           
static E4Method start
           
 
Fields inherited from class e4s.application.appmodule.E4ModuleImplementationApplication
RESTRICTED_COMPANY_DOOR2SOLUTION_LOGIN, RESTRICTED_COMPANY_DOOR2SOLUTION_NAME, RESTRICTED_USER_DOOR2SOLUTION_LOGIN
 
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
E4ModuleEditPermissions()
           
 
Method Summary
static java.lang.String _getSVNVersionString()
           
 void editCompanyPermissions_Reload(HTML html, E4CgiParams params)
           
 void editCompanyPermissions(HTML html, E4CgiParams params)
           
 void editGroupPermissions_Reload(HTML html, E4CgiParams params)
           
 void editGroupPermissions(HTML html)
           
static AEP_EditPermissions getAEP()
           
static void setAEP(AEP_EditPermissions pIntf)
          Define an AEP (Application Exit Point) that can disable the editing of unneeded permissions based on client or other settings.
 void start(HTML html)
           
 
Methods inherited from class e4s.application.appmodule.E4ModuleImplementationApplication
find_T_E4S_COMPANY_GROUP, find_T_E4S_COMPANY, find_T_E4S_PERMISSION_COMPANY, find_T_E4S_PERMISSION_GROUP, find_T_E4S_PERMISSION_USER, Format, Format, getName, subE4MenuItem
 
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

editGroupPermissions

public static E4Method editGroupPermissions

editGroupPermissions_Reload

public static E4Method editGroupPermissions_Reload

editCompanyPermissions

public static E4Method editCompanyPermissions

editCompanyPermissions_Reload

public static E4Method editCompanyPermissions_Reload
Constructor Detail

E4ModuleEditPermissions

public E4ModuleEditPermissions()
Method Detail

start

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

editGroupPermissions

public void editGroupPermissions(HTML html)
                          throws java.lang.Exception
Throws:
java.lang.Exception

editGroupPermissions_Reload

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

editCompanyPermissions

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

editCompanyPermissions_Reload

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

setAEP

public static void setAEP(AEP_EditPermissions pIntf)
Define an AEP (Application Exit Point) that can disable the editing of unneeded permissions based on client or other settings.

Parameters:
pIntf - the global (static) permission interface

getAEP

public static AEP_EditPermissions getAEP()

_getSVNVersionString

public static java.lang.String _getSVNVersionString()

www.element4solution.com