Coverage Report - org.kuali.rice.krad.uif.UifConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
UifConstants
0%
0/2
N/A
0
UifConstants$ActionEvents
0%
0/1
N/A
0
UifConstants$ClientSideVariables
0%
0/1
N/A
0
UifConstants$ContextVariableNames
0%
0/1
N/A
0
UifConstants$ControlType
0%
0/3
N/A
0
UifConstants$IdSuffixes
0%
0/1
N/A
0
UifConstants$LayoutComponentOptions
0%
0/1
N/A
0
UifConstants$MessageKeys
0%
0/1
N/A
0
UifConstants$MessageType
0%
0/2
N/A
0
UifConstants$Messages
0%
0/1
N/A
0
UifConstants$MethodToCallNames
0%
0/1
N/A
0
UifConstants$NavigationType
0%
0/2
N/A
0
UifConstants$Order
0%
0/2
N/A
0
UifConstants$Orientation
0%
0/2
N/A
0
UifConstants$Position
100%
2/2
N/A
0
UifConstants$RefreshCallerTypes
0%
0/1
N/A
0
UifConstants$TableToolsKeys
0%
0/1
N/A
0
UifConstants$TableToolsValues
0%
0/1
N/A
0
UifConstants$TitleAppendTypes
0%
0/1
N/A
0
UifConstants$UrlParams
0%
0/1
N/A
0
UifConstants$ViewPhases
0%
0/1
N/A
0
UifConstants$ViewStatus
0%
0/1
N/A
0
UifConstants$ViewType
0%
0/2
N/A
0
UifConstants$WorkflowAction
0%
0/2
N/A
0
 
 1  
 /**
 2  
  * Copyright 2005-2011 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.krad.uif;
 17  
 
 18  
 /**
 19  
  * General constants used within the User Interface Framework
 20  
  *
 21  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 22  
  */
 23  0
 public class UifConstants {
 24  
     public static final String CONTROLLER_METHOD_DISPATCH_PARAMETER_NAME = "methodToCall";
 25  
     public static final String DEFAULT_MODEL_NAME = "KualiForm";
 26  
     public static final String DEFAULT_VIEW_NAME = "default";
 27  
     public static final String SPRING_VIEW_ID = "ApplicationView";
 28  
     public static final String SPRING_REDIRECT_ID = "redirectURL";
 29  
 
 30  5
     public static enum Position {
 31  1
         BOTTOM, LEFT, RIGHT, TOP
 32  
     }
 33  
 
 34  0
     public static enum Order {
 35  0
         FIRST
 36  
     }
 37  
 
 38  0
     public static enum NavigationType {
 39  0
         VERTICAL_MENU, HORIZONTAL_TABS
 40  
     }
 41  
 
 42  0
     public static enum Orientation {
 43  0
         HORIZONTAL, VERTICAL
 44  
     }
 45  
 
 46  0
     public static enum MessageType {
 47  0
         NORMAL, INSTRUCTIONAL, CONSTRAINT, REQUIRED, HELP_SUMMARY, HELP_DESCRIPTION
 48  
     }
 49  
 
 50  0
     public static enum ViewType {
 51  0
         DEFAULT, DOCUMENT, INQUIRY, LOOKUP, MAINTENANCE, INCIDENT;
 52  
     }
 53  
 
 54  0
     public static enum ControlType {
 55  0
         CHECKBOX, CHECKBOXGROUP, FILE, GROUP, HIDDEN, RADIOGROUP, SELECT,
 56  0
         TEXTAREA, TEXT, USER
 57  
     }
 58  
 
 59  0
     public static enum WorkflowAction {
 60  0
         SAVE, ROUTE, BLANKETAPPROVE, APPROVE, DISAPPROVE, CANCEL, FYI, ACKNOWLEDGE
 61  
     }
 62  
 
 63  0
     public static class MethodToCallNames {
 64  
         public static final String NAVIGATE = "navigate";
 65  
         public static final String START = "start";
 66  
         public static final String SAVE = "save";
 67  
         public static final String SEARCH = "search";
 68  
         public static final String CLOSE = "close";
 69  
         public static final String ADD_LINE = "addLine";
 70  
         public static final String DELETE_LINE = "deleteLine";
 71  
         public static final String REFRESH = "refresh";
 72  
         public static final String CANCEL = "cancel";
 73  
         public static final String UPDATE_COMP = "updateComponent";
 74  
         public static final String TOGGLE_INACTIVE = "toggleInactiveRecordDisplay";
 75  
     }
 76  
 
 77  0
     public static class ActionEvents {
 78  
         public static final String ADD_LINE = "addLine";
 79  
     }
 80  
 
 81  0
     public static class LayoutComponentOptions {
 82  
         public static final String COLUMN_SPAN = "colSpan";
 83  
         public static final String ROW_SPAN = "rowSpan";
 84  
     }
 85  
 
 86  0
     public static class IdSuffixes {
 87  
         public static final String ADD_LINE = "_add";
 88  
         public static final String ATTRIBUTE = "_attribute";
 89  
         public static final String COMPARE = "_comp";
 90  
         public static final String CONSTRAINT = "_constraint";
 91  
         public static final String DIRECT_INQUIRY = "_directinquiry";
 92  
         public static final String DIV = "_div";
 93  
         public static final String ERRORS = "_errors";
 94  
         public static final String INSTRUCTIONAL = "_instructional";
 95  
         public static final String LINE = "_line";
 96  
         public static final String LABEL = "_label";
 97  
         public static final String SUB = "_sub";
 98  
         public static final String SUGGEST = "_suggest";
 99  
         public static final String QUICK_FINDER = "_quickfinder";
 100  
     }
 101  
 
 102  0
     public static class ViewPhases {
 103  
         public static final String INITIALIZE = "INITIALIZE";
 104  
         public static final String APPLY_MODEL = "APPLY_MODEL";
 105  
         public static final String FINALIZE = "FINALIZE";
 106  
     }
 107  
 
 108  0
     public static class ViewStatus {
 109  
         public static final String CREATED = "C";
 110  
         public static final String INITIALIZED = "I";
 111  
         public static final String FINAL = "F";
 112  
     }
 113  
 
 114  
     public static final String EL_PLACEHOLDER_PREFIX = "@{";
 115  
     public static final String EL_PLACEHOLDER_SUFFIX = "}";
 116  
     public static final String NO_BIND_ADJUST_PREFIX = "form.";
 117  
     public static final String DATA_OBJECT_BIND_ADJUST_PREFIX = "do.";
 118  
 
 119  0
     public static class ContextVariableNames {
 120  
         public static final String COLLECTION_GROUP = "collectionGroup";
 121  
         public static final String CONFIG_PROPERTIES = "ConfigProperties";
 122  
         public static final String COMPONENT = "component";
 123  
         public static final String CONSTANTS = "Constants";
 124  
         public static final String DOCUMENT_ENTRY = "DocumentEntry";
 125  
         public static final String INDEX = "index";
 126  
         public static final String IS_ADD_LINE = "isAddLine";
 127  
         public static final String LINE = "line";
 128  
         public static final String MANAGER = "manager";
 129  
         public static final String NODE = "node";
 130  
         public static final String PARENT = "parent";
 131  
         public static final String VIEW = "view";
 132  
         public static final String VIEW_HELPER = "ViewHelper";
 133  
     }
 134  
 
 135  0
     public static class TableToolsKeys {
 136  
         public static final String AASORTING = "aaSorting";
 137  
         public static final String BAUTO_TYPE = "bAutoType";
 138  
         public static final String SDOM = "sDom";
 139  
         public static final String LANGUAGE = "oLanguage";
 140  
         public static final String EMPTY_TABLE = "sEmptyTable";
 141  
         public static final String AO_COLUMNS = "aoColumns";
 142  
         public static final String SORT_SKIP_ROWS = "aiSortingSkipRows";
 143  
         public static final String SORT_DATA_TYPE = "sSortDataType";
 144  
         public static final String SORTABLE = "bSortable";
 145  
         public static final String SORT_TYPE = "sType";
 146  
         public static final String TABLE_SORT = "bSort";
 147  
     }
 148  
 
 149  0
     public static class TableToolsValues {
 150  
         public static final String DOM_TEXT = "dom-text";
 151  
         public static final String DOM_SELECT = "dom-select";
 152  
         public static final String DOM_CHECK = "dom-checkbox";
 153  
         public static final String DOM_RADIO = "dom-radio";
 154  
         public static final String NUMERIC = "numeric";
 155  
         public static final String STRING = "string";
 156  
         public static final String DATE = "kuali_date";
 157  
         public static final String PERCENT = "kuali_percent";
 158  
         public static final String CURRENCY = "kuali_currency";
 159  
         public static final String TIMESTAMP = "kuali_timestamp";
 160  
 
 161  
         public static final int ADD_ROW_DEFAULT_INDEX = 0;
 162  
     }
 163  
 
 164  0
     public static class TitleAppendTypes {
 165  
         public static final String DASH = "dash";
 166  
         public static final String PARENTHESIS = "parenthesis";
 167  
         public static final String REPLACE = "replace";
 168  
         public static final String NONE = "none";
 169  
     }
 170  
 
 171  0
     public static class UrlParams {
 172  
         public static final String ACTION_EVENT = "actionEvent";
 173  
         public static final String SHOW_HISTORY = "showHistory";
 174  
         public static final String SHOW_HOME = "showHome";
 175  
         public static final String FORM_KEY = "formKey";
 176  
         public static final String PAGE_ID = "pageId";
 177  
         public static final String HISTORY = "history";
 178  
     }
 179  
 
 180  0
     public static class Messages {
 181  
         public static final String VALIDATION_MSG_KEY_PREFIX = "validation.";
 182  
     }
 183  
 
 184  0
     public static class MessageKeys {
 185  
         public static final String QUERY_DATA_NOT_FOUND = "query.dataNotFound";
 186  
     }
 187  
 
 188  0
     public static class ClientSideVariables {
 189  
         public static final String KRAD_IMAGE_LOCATION = "kradImageLocation";
 190  
     }
 191  
 
 192  0
     public static class RefreshCallerTypes {
 193  
         public static final String LOOKUP = "LOOKUP";
 194  
         public static final String MULTI_VALUE_LOOKUP = "MULTI_VALUE_LOOKUP";
 195  
         public static final String QUESTION = "QUESTION";
 196  
     }
 197  
 }