Methods For: EmployeeMaster (com.sun.proxy.$Proxy1717)

To use this class in your javascript you will need the following script includes:

  <script type='text/javascript' src='/collections/dwr/interface/EmployeeMaster.js'></script>
  <script type='text/javascript' src='/collections/dwr/engine.js'></script>

In addition there is an optional utility script:

  <script type='text/javascript' src='/collections/dwr/util.js'></script>

Replies from DWR are shown with a yellow background if they are simple or in an alert box otherwise.
The inputs are evaluated as Javascript so strings must be quoted before execution.

  • getRequestContext( );
    (Warning: getRequestContext() is excluded: Method access is denied by rules in dwr.xml. See below)
  • getResponseContext( );
    (Warning: getResponseContext() is excluded: Method access is denied by rules in dwr.xml. See below)
  • getBinding( );
    (Warning: No Converter for javax.xml.ws.Binding. See below)
    (Warning: getBinding() is excluded: Method access is denied by rules in dwr.xml. See below)
  • getEndpointReference( );
    (Warning: overloaded methods are not recommended. See below)
    (Warning: No Converter for javax.xml.ws.EndpointReference. See below)
    (Warning: getEndpointReference() is excluded: Method access is denied by rules in dwr.xml. See below)
  • getEndpointReference( );
    (Warning: overloaded methods are not recommended. See below)
    (Warning: No Converter for java.lang.Class. See below)
    (Warning: No Converter for javax.xml.ws.EndpointReference. See below)
    (Warning: getEndpointReference() is excluded: Method access is denied by rules in dwr.xml. See below)
  • findAll( );
  • findById( );
    (Warning: findById() is excluded: Method access is denied by rules in dwr.xml. See below)
  • findByWhere( );
  • saveEmployee( );
    (Warning: overloaded methods are not recommended. See below)
    (Warning: saveEmployee() is excluded: Method access is denied by rules in dwr.xml. See below)
  • saveEmployee( );
    (Warning: overloaded methods are not recommended. See below)
    (Warning: saveEmployee() is excluded: Method access is denied by rules in dwr.xml. See below)
  • updateEmployee( );
    (Warning: updateEmployee() is excluded: Method access is denied by rules in dwr.xml. See below)
  • deleteEmployee( );
    (Warning: deleteEmployee() is excluded: Method access is denied by rules in dwr.xml. See below)
  • inactiveEmployee( );
    (Warning: inactiveEmployee() is excluded: Method access is denied by rules in dwr.xml. See below)
  • equals( );
    (Warning: No Converter for java.lang.Object. See below)
    (Warning: equals() is excluded: Method access is denied by rules in dwr.xml. See below)
  • toString( );
    (Warning: toString() is excluded: Method access is denied by rules in dwr.xml. See below)
  • hashCode( );
    (Warning: hashCode() is excluded: Method access is denied by rules in dwr.xml. See below)
  • isProxyClass( );
    (Warning: No Converter for java.lang.Class. See below)
    (Warning: isProxyClass() is excluded: Method access is denied by rules in dwr.xml. See below)
  • getInvocationHandler( );
    (Warning: No Converter for java.lang.Object. See below)
    (Warning: No Converter for java.lang.reflect.InvocationHandler. See below)
    (Warning: getInvocationHandler() is excluded: Method access is denied by rules in dwr.xml. See below)
  • getProxyClass( , );
    (Warning: No Converter for java.lang.ClassLoader. See below)
    (Warning: No Converter for java.lang.Class. See below)
    (Warning: getProxyClass() is excluded: Method access is denied by rules in dwr.xml. See below)
  • newProxyInstance( , , );
    (Warning: No Converter for java.lang.ClassLoader. See below)
    (Warning: No Converter for java.lang.reflect.InvocationHandler. See below)
    (Warning: No Converter for java.lang.Object. See below)
    (Warning: newProxyInstance() is excluded: Method access is denied by rules in dwr.xml. See below)
  • wait( , );
    (Warning: overloaded methods are not recommended. See below)
    (Warning: wait() is excluded: Method access is denied by rules in dwr.xml. See below)
  • wait( );
    (Warning: overloaded methods are not recommended. See below)
    (Warning: wait() is excluded: Method access is denied by rules in dwr.xml. See below)
  • wait( );
    (Warning: overloaded methods are not recommended. See below)
    (Warning: wait() is excluded: Method access is denied by rules in dwr.xml. See below)
  • getClass( );
    (Warning: No Converter for java.lang.Class. See below)
    (Warning: getClass() is excluded: Method access is denied by rules in dwr.xml. See below)
  • notify( );
    (Warning: notify() is excluded: Method access is denied by rules in dwr.xml. See below)
  • notifyAll( );
    (Warning: notifyAll() is excluded: Method access is denied by rules in dwr.xml. See below)
  • Other Links

    Fixing Issues

    Warning: No Converter for XXX.

    dwr.xml does not have an allow entry that enables conversion of this type to Javascript. The most common cause of this problem is that XXX is a java bean and bean marshalling has not been enabled. Bean marshalling is disabled by default for security reasons.

    To enable marshalling for a given bean add the following line to the allow section of your dwr.xml file:

    <convert converter="bean" match="XXX"/>
    

    It is also possible to enable marshalling for an entire package or hierachy of packages using the following:

    <convert converter="bean" match="package.name.*"/>
    

    Warning: overloaded methods are not recommended

    Javascript does not support overloaded methods, so the javascript file generated from this class will contain two methods the second of which will replace the first. This is probably not what you wanted.

    It is best to avoid overloaded methods when using DWR.

    Warning: methodName() is excluded:

    The methods may be excluded explicitly with an <exclude> element in dwr.xml or excluded implicitly by not being mentioned in an <include> element. Or the method may be defined in java.lang.Object - methods defined here may not be exported.

    If methods are excluded using <include> or <exclude> then no JavaScript proxy will be generated. To allow testing of methods that should not be accessible, add an init-param to WEB-INF/web.xml with the name/value allowImpossibleTests=true.