Coverage Report - org.kuali.rice.kns.uif.UifConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
UifConstants
0%
0/2
N/A
0
UifConstants$ContextVariableNames
0%
0/1
N/A
0
UifConstants$IdSuffixes
0%
0/1
N/A
0
UifConstants$LayoutComponentOptions
0%
0/1
N/A
0
UifConstants$MessageType
0%
0/1
N/A
0
UifConstants$MethodToCallNames
0%
0/1
N/A
0
UifConstants$NavigationType
0%
0/1
N/A
0
UifConstants$Orientation
0%
0/1
N/A
0
UifConstants$Position
0%
0/1
N/A
0
UifConstants$TableToolsKeys
0%
0/1
N/A
0
UifConstants$TableToolsValues
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/1
N/A
0
UifConstants$ViewTypeParameterNames
0%
0/1
N/A
0
 
 1  
 /*
 2  
  * Copyright 2007 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 1.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/ecl1.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.uif;
 17  
 
 18  
 
 19  
 /**
 20  
  * General constants used within the User Interface Framework
 21  
  * 
 22  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 23  
  */
 24  0
 public class UifConstants {
 25  
         private static final long serialVersionUID = 3935664282036793486L;
 26  
 
 27  
         public static final String CONTROLLER_METHOD_DISPATCH_PARAMETER_NAME = "methodToCall";
 28  
 
 29  
         public static final String DEFAULT_MODEL_NAME = "KualiForm";
 30  
         public static final String DEFAULT_VIEW_NAME = "default";
 31  
         public static final String SPRING_VIEW_ID = "ApplicationView";
 32  
 
 33  0
         public static class Position {
 34  
                 public static final String BOTTOM = "BOTTOM";
 35  
                 public static final String LEFT = "LEFT";
 36  
                 public static final String RIGHT = "RIGHT";
 37  
                 public static final String TOP = "TOP";
 38  
         }
 39  
 
 40  0
         public static class NavigationType {
 41  
                 public static final String VERTICAL_MENU = "VERTICAL_MENU";
 42  
                 public static final String HORIZONTAL_TABS = "HORIZONTAL_TABS";
 43  
         }
 44  
 
 45  0
         public static class Orientation {
 46  
                 public static final String HORIZONTAL = "HORIZONTAL";
 47  
                 public static final String VERTICAL = "VERTICAL";
 48  
         }
 49  
 
 50  0
         public static class MessageType {
 51  
                 public static final String NORMAL = "NORMAL";
 52  
                 public static final String SUMMARY = "SUMMARY";
 53  
                 public static final String CONSTRAINT = "CONSTRAINT";
 54  
                 public static final String REQUIRED = "REQUIRED";
 55  
         }
 56  
 
 57  0
         public static class ViewType {
 58  
                 public static final String DEFAULT = "DEFAULT";
 59  
                 public static final String INQUIRY = "INQUIRY";
 60  
                 public static final String LOOKUP = "LOOKUP";
 61  
                 public static final String MAINTENANCE = "MAINTENANCE";
 62  
                 public static final String TRANSACTIONAL = "TRANSACTIONAL";
 63  
         }
 64  
 
 65  
         // TODO - move the following two parameters into the UifParameters constants file including rename of NAME constant
 66  0
         public static class ViewTypeParameterNames {
 67  
                 public static final String NAME = "name";
 68  
                 public static final String DATA_OBJECT_CLASS_NAME = "dataObjectClassName";
 69  
         }
 70  
 
 71  0
         public static class MethodToCallNames {
 72  
                 public static final String NAVIGATE = "navigate";
 73  
                 public static final String START = "start";
 74  
                 public static final String SAVE = "save";
 75  
                 public static final String SEARCH = "search";
 76  
                 public static final String CLOSE = "close";
 77  
                 public static final String ADD_LINE = "addLine";
 78  
                 public static final String DELETE_LINE = "deleteLine";
 79  
                 public static final String REFRESH = "refresh";
 80  
         }
 81  
 
 82  0
         public static class LayoutComponentOptions {
 83  
                 public static final String COLUMN_SPAN = "colSpan";
 84  
                 public static final String ROW_SPAN = "rowSpan";
 85  
         }
 86  
 
 87  0
         public static class IdSuffixes {
 88  
                 public static final String ADD_LINE = "_addLine";
 89  
                 public static final String ATTRIBUTE = "_attribute";
 90  
                 public static final String CONSTRAINT = "_constraint";
 91  
                 public static final String DIV = "_div";
 92  
                 public static final String ERRORS = "_errors";
 93  
                 public static final String LABEL = "_label";
 94  
                 public static final String SUMMARY = "_summary";
 95  
                 public static final String QUICK_FINDER = "_quickfinder";
 96  
         }
 97  
 
 98  0
         public static class ViewPhases {
 99  
                 public static final String INITIALIZE = "INITIALIZE";
 100  
                 public static final String APPLY_MODEL = "APPLY_MODEL";
 101  
                 public static final String FINALIZE = "FINALIZE";
 102  
         }
 103  
 
 104  0
         public static class ViewStatus {
 105  
                 public static final String CREATED = "C";
 106  
                 public static final String INITIALIZED = "I";
 107  
                 public static final String FINAL = "F";
 108  
         }
 109  
 
 110  
         public static final String EL_PLACEHOLDER_PREFIX = "@{";
 111  
         public static final String EL_PLACEHOLDER_SUFFIX = "}";
 112  
         public static final String EL_CONDITIONAL_PROPERTY_PREFIX = "conditional";
 113  
 
 114  0
         public static class ContextVariableNames {
 115  
                 public static final String CONFIG_PROPERTIES = "ConfigProperties";
 116  
                 public static final String COMPONENT = "component";
 117  
                 public static final String CONSTANTS = "Constants";
 118  
                 public static final String INDEX = "index";
 119  
                 public static final String LINE = "line";
 120  
                 public static final String MANAGER = "manager";
 121  
                 public static final String PARENT = "parent";
 122  
                 public static final String VIEW = "view";
 123  
         }
 124  
 
 125  0
         public static class TableToolsKeys{
 126  
                 public static final String SDOM = "sDom";
 127  
                 public static final String LANGUAGE = "oLanguage";
 128  
                 public static final String EMPTY_TABLE = "sEmptyTable";
 129  
                 public static final String AO_COLUMNS = "aoColumns";
 130  
                 public static final String SORT_SKIP_ROWS = "aiSortingSkipRows";
 131  
                 public static final String SORT_DATA_TYPE = "sSortDataType";
 132  
                 public static final String SORTABLE = "bSortable";
 133  
                 public static final String SORT_TYPE = "sType";
 134  
                 public static final String TABLE_SORT = "bSort";
 135  
         }
 136  
         
 137  0
         public static class TableToolsValues{
 138  
                 public static final String DOM_TEXT = "dom-text";
 139  
                 public static final String NUMERIC = "numeric";
 140  
                 public static final String DATE = "kuali_date";
 141  
                 public static final int ADD_ROW_DEFAULT_INDEX = 0;
 142  
         }
 143  
 }