Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
WorkflowLookupableResult |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright 2006-2007 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.kns.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 org.kuali.rice.kns.workflow.attribute.WorkflowLookupableInvocationHandler | |
29 | * @deprecated This will go away once workflow supports simple url integration for custom attribute lookups. | |
30 | */ | |
31 | public interface WorkflowLookupableResult extends BusinessObject { | |
32 | /** | |
33 | * Gets the returnUrl attribute. | |
34 | * | |
35 | * @return Returns the returnUrl. | |
36 | */ | |
37 | public String getReturnUrl(); | |
38 | ||
39 | /** | |
40 | * Sets the returnUrl attribute. | |
41 | * | |
42 | * @param returnUrl The returnUrl to set. | |
43 | */ | |
44 | public void setReturnUrl(String returnUrl); | |
45 | ||
46 | /** | |
47 | * Gets the workflowLookupableResult attribute. | |
48 | * | |
49 | * @return Returns the workflowLookupableResult | |
50 | */ | |
51 | public WorkflowLookupableResult getWorkflowLookupableResult(); | |
52 | ||
53 | /** | |
54 | * Sets the workflowLookupableResult attribute. | |
55 | * | |
56 | * @param workflowLookupableResult The workflowLookupableResult to set. | |
57 | */ | |
58 | public void setWorkflowLookupableResult(WorkflowLookupableResult workflowLookupableResult); | |
59 | } |