001/**
002 * Copyright 2005-2014 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.kuali.rice.kew.api.preferences;
017
018import java.util.Map;
019
020/**
021 * A contract defining the method for a {@link Preferences} model object and its data transfer object equivalent.
022 *
023 * @see Preferences
024 *
025 * @author Kuali Rice Team (rice.collab@kuali.org)
026 */
027public interface PreferencesContract {
028
029    boolean isRequiresSave();
030
031    String getEmailNotification();
032
033    String getNotifyPrimaryDelegation();
034
035    String getNotifySecondaryDelegation();
036
037    String getOpenNewWindow();
038
039    String getShowActionRequested();
040
041    String getShowDateCreated();
042
043    String getShowDocumentStatus();
044
045    String getShowAppDocStatus();
046
047    String getShowDocType();
048
049    String getShowInitiator();
050
051    String getShowDocTitle();
052
053    String getShowWorkgroupRequest();
054
055    String getShowDelegator();
056
057    String getShowClearFyi();
058
059    String getPageSize();
060
061    String getRefreshRate();
062
063    String getColorSaved();
064
065    String getColorInitiated();
066
067    String getColorDisapproved();
068
069    String getColorEnroute();
070
071    String getColorApproved();
072
073    String getColorFinal();
074
075    String getColorDisapproveCancel();
076
077    String getColorProcessed();
078
079    String getColorException();
080
081    String getColorCanceled();
082
083    String getDelegatorFilter();
084
085    String getUseOutbox();
086
087    String getShowDateApproved();
088
089    String getShowCurrentNode();
090
091    String getPrimaryDelegateFilter();
092    
093    String getNotifyAcknowledge();
094    
095    String getNotifyApprove();
096    
097    String getNotifyComplete();
098    
099    String getNotifyFYI();
100    
101    Map<String, String> getDocumentTypeNotificationPreferences();
102
103}