View Javadoc
1   /**
2    * Copyright 2005-2015 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.kns.workflow.attribute;
17  
18  import org.kuali.rice.krad.bo.BusinessObject;
19  
20  /**
21   * This interface is used to get the cglib Enhancer to simulate the returnUrl bean property required by workflow on the
22   * BusinessObject proxies returned by the getSearchResults(Map fieldValues, Map fieldConversions) method of WorkflowLookupableImpl.
23   * It also extends Map and simulates a bean property of itself on the proxy, because we want a generic getter that returns objects
24   * and will allow us to format booleans.
25   * 
26   * 
27   * @see org.kuali.rice.kew.attribute.WorkflowLookupableImpl
28   * @see WorkflowLookupableInvocationHandler
29   * @deprecated This will go away once workflow supports simple url integration for custom attribute lookups.
30   */
31  @Deprecated
32  public interface WorkflowLookupableResult extends BusinessObject {
33      /**
34       * Gets the returnUrl attribute.
35       * 
36       * @return Returns the returnUrl.
37       */
38      public String getReturnUrl();
39  
40      /**
41       * Sets the returnUrl attribute.
42       * 
43       * @param returnUrl The returnUrl to set.
44       */
45      public void setReturnUrl(String returnUrl);
46  
47      /**
48       * Gets the workflowLookupableResult attribute.
49       * 
50       * @return Returns the workflowLookupableResult
51       */
52      public WorkflowLookupableResult getWorkflowLookupableResult();
53  
54      /**
55       * Sets the workflowLookupableResult attribute.
56       * 
57       * @param workflowLookupableResult The workflowLookupableResult to set.
58       */
59      public void setWorkflowLookupableResult(WorkflowLookupableResult workflowLookupableResult);
60  }