org.kuali.rice.krad.workflow.attribute
Class WorkflowLookupableInvocationHandler

java.lang.Object
  extended by org.kuali.rice.krad.workflow.attribute.WorkflowLookupableInvocationHandler
All Implemented Interfaces:
net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.InvocationHandler

Deprecated. This will go away once workflow supports simple url integration for custom attribute lookups.

public class WorkflowLookupableInvocationHandler
extends Object
implements net.sf.cglib.proxy.InvocationHandler

This class provides access to the properties of business objects returned as search results by the WorkflowLookupableImpl.

See Also:
org.kuali.rice.kew.attribute.WorkflowLookupableImpl

Constructor Summary
WorkflowLookupableInvocationHandler(BusinessObject proxiedBusinessObject, ClassLoader classLoader)
          Deprecated. Constructs a WorkflowLookupableInvocationHandler.java.
WorkflowLookupableInvocationHandler(BusinessObject proxiedBusinessObject, String returnUrl, ClassLoader classLoader)
          Deprecated. Constructs a WorkflowLookupableInvocationHandler.java.
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
          Deprecated. This method intercepts "getReturnUrl" and returns this objects returnUrl attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowLookupableInvocationHandler

public WorkflowLookupableInvocationHandler(BusinessObject proxiedBusinessObject,
                                           ClassLoader classLoader)
Deprecated. 
Constructs a WorkflowLookupableInvocationHandler.java.

Parameters:
proxiedBusinessObject - The BusinessObject that this instance is providing access to.

WorkflowLookupableInvocationHandler

public WorkflowLookupableInvocationHandler(BusinessObject proxiedBusinessObject,
                                           String returnUrl,
                                           ClassLoader classLoader)
Deprecated. 
Constructs a WorkflowLookupableInvocationHandler.java.

Parameters:
proxiedBusinessObject - The BusinessObject that this instance is providing access to.
returnUrl - The returnUrl String for selection of a result from the UI
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Deprecated. 
This method intercepts "getReturnUrl" and returns this objects returnUrl attribute. It proxies access to nested BusinessObjects to ensure that the application plugin classloader is used to resolve OJB proxies. And, it translates booleans for the UI, using the BooleanFormatter.

Specified by:
invoke in interface net.sf.cglib.proxy.InvocationHandler
Throws:
Throwable
See Also:
InvocationHandler.invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.