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.kew.api.preferences;
17  
18  import java.util.Map;
19  
20  /**
21   * A contract defining the method for a {@link Preferences} model object and its data transfer object equivalent.
22   *
23   * @see Preferences
24   *
25   * @author Kuali Rice Team (rice.collab@kuali.org)
26   */
27  public interface PreferencesContract {
28  
29      boolean isRequiresSave();
30  
31      String getEmailNotification();
32  
33      String getNotifyPrimaryDelegation();
34  
35      String getNotifySecondaryDelegation();
36  
37      String getOpenNewWindow();
38  
39      String getShowActionRequested();
40  
41      String getShowDateCreated();
42  
43      String getShowDocumentStatus();
44  
45      String getShowAppDocStatus();
46  
47      String getShowDocType();
48  
49      String getShowInitiator();
50  
51      String getShowDocTitle();
52  
53      String getShowWorkgroupRequest();
54  
55      String getShowDelegator();
56  
57      String getShowClearFyi();
58  
59      String getPageSize();
60  
61      String getRefreshRate();
62  
63      String getColorSaved();
64  
65      String getColorInitiated();
66  
67      String getColorDisapproved();
68  
69      String getColorEnroute();
70  
71      String getColorApproved();
72  
73      String getColorFinal();
74  
75      String getColorDisapproveCancel();
76  
77      String getColorProcessed();
78  
79      String getColorException();
80  
81      String getColorCanceled();
82  
83      String getDelegatorFilter();
84  
85      String getUseOutbox();
86  
87      String getShowDateApproved();
88  
89      String getShowCurrentNode();
90  
91      String getPrimaryDelegateFilter();
92      
93      String getNotifyAcknowledge();
94      
95      String getNotifyApprove();
96      
97      String getNotifyComplete();
98      
99      String getNotifyFYI();
100     
101     Map<String, String> getDocumentTypeNotificationPreferences();
102 
103 }