Coverage Report - org.kuali.rice.kns.util.KNSConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
KNSConstants
0%
0/11
N/A
2
KNSConstants$Config
0%
0/2
N/A
2
KNSConstants$DetailTypes
0%
0/2
N/A
2
KNSConstants$DocumentFormHeaderFieldIds
0%
0/2
N/A
2
KNSConstants$Maintenance
0%
0/2
N/A
2
KNSConstants$SystemGroupParameterNames
0%
0/2
N/A
2
KNSConstants$TableRenderConstants
0%
0/2
N/A
2
 
 1  
 /*
 2  
  * Copyright 2005-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.util;
 17  
 
 18  
 import java.util.ArrayList;
 19  
 import java.util.List;
 20  
 
 21  
 /**
 22  
  * This class is used to define global constants.
 23  
  */
 24  
 public final class KNSConstants {
 25  
 
 26  
 //    public static final String AD_HOC_ROUTE_ERRORS = null;
 27  
 
 28  
     // special user used in the post-processor
 29  
     public static final String SYSTEM_USER = "kr";
 30  
 
 31  
     public static final String PARAM_MAINTENANCE_VIEW_MODE = "maintenanceViewMode";
 32  
     public static final String PARAM_MAINTENANCE_VIEW_MODE_MAINTENANCE = "maintenance";
 33  
     public static final String PARAM_MAINTENANCE_VIEW_MODE_LOOKUP = "lookup";
 34  
     public static final String PARAM_MAINTENANCE_VIEW_MODE_INQUIRY = "inquiry";
 35  
     
 36  
     public static final String KNS_NAMESPACE = "KR-NS";
 37  
     public static final String KUALI_RICE_SYSTEM_NAMESPACE = "KR-SYS";
 38  
     public static final String KUALI_RICE_WORKFLOW_NAMESPACE = "KR-WKFLW";
 39  
     public static final String KUALI_RICE_SERVICE_BUS_NAMESPACE = "KR-BUS";
 40  
 
 41  
     public static final String KUALI_ACTION_CAN_EDIT = "canEdit";
 42  
     public static final String KUALI_ACTION_CAN_ANNOTATE = "canAnnotate";
 43  
         public static final String KUALI_ACTION_CAN_CLOSE = "canClose";
 44  
         public static final String KUALI_ACTION_CAN_SAVE = "canSave";
 45  
         public static final String KUALI_ACTION_CAN_ROUTE = "canRoute";
 46  
         public static final String KUALI_ACTION_CAN_CANCEL = "canCancel";
 47  
         public static final String KUALI_ACTION_CAN_RELOAD = "canReload";
 48  
         public static final String KUALI_ACTION_CAN_COPY ="canCopy";
 49  
         public static final String KUALI_ACTION_PERFORM_ROUTE_REPORT = "canPerformRouteReport";
 50  
         public static final String KUALI_ACTION_CAN_AD_HOC_ROUTE = "canAdHocRoute";
 51  
     public static final String KUALI_ACTION_CAN_BLANKET_APPROVE ="canBlanketApprove";
 52  
     public static final String KUALI_ACTION_CAN_ACKNOWLEDGE = "canAcknowledge";
 53  
     public static final String KUALI_ACTION_CAN_FYI = "canFYI";
 54  
     public static final String KUALI_ACTION_CAN_APPROVE = "canApprove";
 55  
     public static final String KUALI_ACTION_CAN_DISAPPROVE = "canDisapprove";
 56  
     public static final String KUALI_ACTION_CAN_CREATE = "canCreate";
 57  
     public static final String KUALI_ACTION_CAN_SEND_ADHOC_REQUESTS = "canSendAdHocRequests";
 58  
     public static final String KUALI_ACTION_CAN_ADD_ADHOC_REQUESTS = "canAddAdHocRequests";
 59  
     public static final String KUALI_ACTION_CAN_SEND_NOTE_FYI = "canSendNoteFyi";
 60  
     public static final String KUALI_ACTION_CAN_EDIT__DOCUMENT_OVERVIEW = "canEditDocumentOverview"; 
 61  
     public static final String KUALI_DEFAULT_TRUE_VALUE = "true";
 62  
     
 63  
     public static final class DetailTypes {
 64  
         public static final String NA_PARM_DETAIL_TYPE = "N/A";
 65  
         public static final String ALL_DETAIL_TYPE = "All";
 66  
         public static final String LOOKUP_PARM_DETAIL_TYPE = "Lookup";
 67  
         public static final String UNIVERSAL_USER_DETAIL_TYPE = "Person";
 68  
         public static final String KUALI_MODULE_USER_DETAIL_TYPE = "KualiModuleUser";
 69  
         public static final String DOCUMENT_DETAIL_TYPE = "Document";
 70  
         public static final String DOCUMENT_TYPE_DETAIL_TYPE = "DocumentType";
 71  
         public static final String RULE_DETAIL_TYPE = "Rule";
 72  
         public static final String ACTION_LIST_DETAIL_TYPE = "ActionList";
 73  
         public static final String BACKDOOR_DETAIL_TYPE = "Backdoor";
 74  
         public static final String DOCUMENT_SEARCH_DETAIL_TYPE = "DocSearchCriteriaDTO";
 75  
         public static final String EDOC_LITE_DETAIL_TYPE = "EDocLite";
 76  
         public static final String FEATURE_DETAIL_TYPE = "Feature";
 77  
         public static final String GLOBAL_REVIEWER_DETAIL_TYPE = "GlobalReviewer";
 78  
         public static final String MAILER_DETAIL_TYPE = "Mailer";
 79  
         public static final String NOTE_DETAIL_TYPE = "Note";
 80  
         public static final String QUICK_LINK_DETAIL_TYPE = "QuickLink";
 81  
         public static final String ROUTE_QUEUE_DETAIL_TYPE = "RouteQueue";
 82  
         public static final String ROUTE_DETAIL_TYPE = "Route";
 83  
         public static final String RULE_SERVICE_DETAIL_TYPE = "RuleBaseValues";
 84  
         public static final String RULE_TEMPLATE_DETAIL_TYPE = "RuleTemplate";
 85  
         public static final String WORKGROUP_DETAIL_TYPE = "Notification";
 86  
         
 87  0
             private DetailTypes() {
 88  0
                     throw new UnsupportedOperationException("do not call");
 89  
             }
 90  
     }
 91  
 
 92  
     public static final class DocumentFormHeaderFieldIds {
 93  
             public static final String DOCUMENT_NUMBER = "documentNumber";
 94  
             public static final String DOCUMENT_WORKFLOW_STATUS = "documentStatus";
 95  
             public static final String DOCUMENT_INITIATOR = "documentInitiator";
 96  
             public static final String DOCUMENT_CREATE_DATE = "documentCreateDate";
 97  
             public static final String DOCUMENT_TEMPLATE_NUMBER = "documentTemplateNumber";
 98  
             
 99  0
             private DocumentFormHeaderFieldIds() {
 100  0
                     throw new UnsupportedOperationException("do not call");
 101  
             }
 102  
     }
 103  
 
 104  
     public static final String MAX_UPLOAD_SIZE_PARM_NM = "MAX_FILE_SIZE_DEFAULT_UPLOAD";
 105  
 
 106  
     public static final String UPLOADED_FILE_REQUEST_ATTRIBUTE_KEY = "org.kuali.rice.kns.util.WebUtils.uploadedFiles";
 107  
 
 108  
     public static final String NOTE_WORKFLOW_NOTIFICATION_REQUEST_LABEL = "READ NOTES";
 109  
 
 110  
     public static final String SEND_NOTE_WORKFLOW_NOTIFICATION_ACTIONS_PARM_NM = "SEND_NOTE_WORKFLOW_NOTIFICATION_ACTIONS";
 111  
     public static final String ATTACHMENT_MAX_FILE_SIZE_PARM_NM = "MAX_FILE_SIZE_ATTACHMENT";
 112  
     public static final String DOCUMENT_HTTP_SESSION_KEY = "documentHttpSessionKey";
 113  
 
 114  
 //    public static final String CONFIGURATION_FILE_NAME = "configuration";
 115  
     public static final String ENVIRONMENT_KEY = "environment";
 116  
     public static final String MESSAGE_RESOURCES = "rice.struts.message.resources";
 117  
 //    public static final String VERSION_KEY = "version";
 118  
 //    public static final String LOG4J_SETTINGS_FILE_KEY = "log4j.settings.file";
 119  
 //    public static final String LOGS_DIRECTORY_KEY = "logs.directory";
 120  
 //    public static final String LOG4J_RELOAD_MINUTES_KEY = "log4j.reload.minutes";
 121  
 //    public static final String STARTUP_STATS_MAILING_LIST_KEY = "startup.stats.mailing.list";
 122  
     public static final String APPLICATION_URL_KEY = "application.url";
 123  
     public static final String ATTACHMENTS_DIRECTORY_KEY = "attachments.directory";
 124  
     public static final String ATTACHMENTS_PENDING_DIRECTORY_KEY = "attachments.pending.directory";
 125  
 //    public static final String HTDOCS_LOGS_URL_KEY = "htdocs.logs.url";
 126  
 //    public static final String HTDOCS_STAGING_URL_KEY = "htdocs.staging.url";
 127  
     public static final String EXTERNALIZABLE_HELP_URL_KEY = "externalizable.help.url";
 128  
     public static final String APPLICATION_EXTERNALIZABLE_IMAGES_URL_KEY = "externalizable.images.url";
 129  
     public static final String EXTERNALIZABLE_IMAGES_URL_KEY = "kr.externalizable.images.url";
 130  
 //    public static final String REPORTS_DIRECTORY_KEY = "reports.directory";
 131  
     public static final String WORKFLOW_URL_KEY = "workflow.url";
 132  
     public static final String KUALI_RICE_URL_KEY = "kr.url";
 133  
     public static final String PROD_ENVIRONMENT_CODE_KEY = "production.environment.code";
 134  
     public static final String DOC_HANDLER_ACTION = "DocHandler.do";
 135  
     public static final String DOCHANDLER_DO_URL = "/" + DOC_HANDLER_ACTION + "?docId=";
 136  
     public static final String DOCHANDLER_URL_CHUNK = "&command=displayDocSearchView";
 137  
 
 138  
 //    public static final String DATABASE_REPOSITORY_FILES_LIST_NAME = "databaseRepositoryFilePaths";
 139  
     public static final String SCRIPT_CONFIGURATION_FILES_LIST_NAME = "scriptConfigurationFilePaths";
 140  
 //    public static final String JOB_NAMES_LIST_NAME = "jobNames";
 141  
 //    public static final String TRIGGER_NAMES_LIST_NAME = "triggerNames";
 142  
 
 143  
     public static final String ACTION_FORM_UTIL_MAP_METHOD_PARM_DELIMITER = "~";
 144  
     public static final String ADD_LINE_METHOD = "addLine";
 145  
     public static final String ADD_PREFIX = "add";
 146  
     public static final String YES_INDICATOR_VALUE = "Y";
 147  
     public static final String NO_INDICATOR_VALUE = "N";
 148  
 //    public static final String AMOUNT_PROPERTY_NAME = "amount";
 149  
 //    public static final String APPROVE_METHOD = "approve";
 150  
 //    public static final String NON_ACTIVE_INDICATOR = "N";
 151  
     public static final String BLANK_SPACE = " ";
 152  
     public static final String BACK_LOCATION = "backLocation";
 153  
     public static final String BACKDOOR_PARAMETER = "backdoorId";
 154  
     public static final String LOGOFF_REDIRECT_URL_PARAMETER = "LOGOFF_REDIRECT_URL";
 155  
     public static final String LOGOFF_REDIRECT_URL_PROPERTY = "rice.portal.logout.redirectUrl";
 156  
 //    public static final String BLANKET_APPROVE_METHOD = "blanketApprove";
 157  
     public static final String BUSINESS_OBJECT_CLASS_ATTRIBUTE = "businessObjectClassName";
 158  
     public static final String CALLING_METHOD = "caller";
 159  
     public static final String CONFIRMATION_QUESTION = "confirmationQuestion";
 160  
     public static final String CONVERSION_FIELDS_PARAMETER = "conversionFields";
 161  
     public static final String FIELDS_CONVERSION_PARAMETER = "fieldConversions";
 162  
     public static final String LOOKUP_READ_ONLY_FIELDS = "readOnlyFields";
 163  
     public static final String LOOKUP_AUTO_SEARCH = "autoSearch";
 164  
     public static final String SEARCH_METHOD = "search";
 165  
 //    public static final String DEFAULT_RETURN_LOCATION = "lookup.do";
 166  
     public static final String DELETE_LINE_METHOD = "deleteLine";
 167  
     public static final String TOGGLE_INACTIVE_METHOD = "toggleInactiveRecordDisplay";
 168  
     public static final String DICTIONARY_BO_NAME = "dictionaryBusinessObjectName";
 169  
     public static final String DISPATCH_REQUEST_PARAMETER = "methodToCall";
 170  
     public static final String CUSTOM_ACTION = "customAction";
 171  
     public static final String DOC_FORM_KEY = "docFormKey";
 172  
     public static final String FORM_KEY = "formKey";
 173  
     public static final String NEW_NOTE_NOTE_TYPE_CODE = "newNote.noteTypeCode";
 174  
     public static final String POST_TEXT_AREA_TO_PARENT = "postTextAreaToParent";
 175  
     public static final String DOCUMENT_CANCEL_QUESTION = "DocCancel";
 176  
 //    public static final String DOCUMENT_DELETE_QUESTION = "DocDelete";
 177  
     public static final String DOCUMENT_DISAPPROVE_QUESTION = "DocDisapprove";
 178  
     public static final String DOCUMENT_SENSITIVE_DATA_QUESTION = "DocSensitiveDataQuestion";
 179  
 //    public static final String DOCUMENT_HEADER_ID = "documentHeaderId";
 180  
     public static final String DOCUMENT_HEADER_PROPERTY_NAME = "documentHeader";
 181  
     public static final String DOCUMENT_SAVE_BEFORE_CLOSE_QUESTION = "DocSaveBeforeClose";
 182  
     public static final String EXTRA_BUTTON_SOURCE = "extraButtonSource";
 183  
     public static final String EXTRA_BUTTON_PARAMS = "extraButtonParams";
 184  
     public static final String NEW_AD_HOC_ROUTE_PERSON_PROPERTY_NAME = "newAdHocRoutePerson";
 185  
     public static final String NEW_AD_HOC_ROUTE_WORKGROUP_PROPERTY_NAME = "newAdHocRouteWorkgroup";
 186  
     public static final String EXISTING_AD_HOC_ROUTE_PERSON_PROPERTY_NAME = "adHocRoutePerson";
 187  
     public static final String EXISTING_AD_HOC_ROUTE_WORKGROUP_PROPERTY_NAME = "adHocRouteWorkgroup";
 188  
     public static final String DOCUMENT_PROPERTY_NAME = "document";
 189  
     public static final String DOCUMENT_TYPE_NAME = "docTypeName";
 190  
     public static final String EDIT_PREFIX = "edit";
 191  
     public static final String EMPTY_STRING = "";
 192  
     public static final String FIELD_CONVERSION_PAIR_SEPARATOR = ":";
 193  
     public static final String FIELD_CONVERSIONS_SEPARATOR = ",";
 194  
     public static final String REFERENCES_TO_REFRESH_SEPARATOR = ",";
 195  
     public static final String RESTRICTED_DATA_MASK = "xxxxxx";
 196  
 //    public static final String GENERIC_FIELD_NAME = "Field";
 197  
 //    public static final String GENERIC_CODE_PROPERTY_NAME = "code";
 198  
 //    public static final String STAND_IN_BUSINESS_OBJECT_FOR_ATTRIBUTES = "AttributeReferenceDummy";
 199  
     public static final String OVERRIDE_KEYS = "overrideKeys";
 200  
     public static final String COPY_KEYS = "cpKys";
 201  
     
 202  
     public static final String KNS_APPLICATION_DATASOURCE = "knsApplication.datasource";
 203  
     public static final String KNS_SERVER_DATASOURCE = "knsServer.datasource";
 204  
     public static final String KNS_APPLICATION_DATASOURCE_JNDI = "knsApplication.datasource.jndi.location";
 205  
     public static final String KNS_SERVER_DATASOURCE_JNDI = "knsServer.datasource.jndi.location";
 206  
 
 207  
 
 208  
     // **************** Begin Note & Attachments defines
 209  
     /**
 210  
      * Property name for new document - Value is "newNote"
 211  
      */
 212  
     public static final String NEW_DOCUMENT_NOTE_PROPERTY_NAME = "newNote";
 213  
     /**
 214  
      * Property name for note text - Value is "noteText"
 215  
      */
 216  
     public static final String NOTE_TEXT_PROPERTY_NAME = "noteText";
 217  
     /**
 218  
      * Property name for note topic text - Value is "noteTopicText"
 219  
      */
 220  
     public static final String NOTE_TOPIC_TEXT_PROPERTY_NAME = "noteTopicText";
 221  
     /**
 222  
      * Property name for note attachment - Value is "attachmentFile"
 223  
      */
 224  
     public static final String NOTE_ATTACHMENT_FILE_PROPERTY_NAME = "attachmentFile";
 225  
 
 226  
     
 227  
     /**
 228  
      * Property name for enabling attachments to note, overriding the defaults defined by the document template - Value is
 229  
      * "enableNoteAttachments"
 230  
      * <p>
 231  
      * Example: The following line defined in the application properties file
 232  
      * <p>
 233  
      * enableNoteAttachments=false
 234  
      * <p>
 235  
      * disables the attachment option in Notes & Attachment of a document
 236  
      */
 237  
     public static final String NOTE_ATTACHMENT_ENABLED = "enableNoteAttachments";
 238  
     // **************** End Note & Attachments defines
 239  
 
 240  
     /**
 241  
      * This value is the name of the param for the default max column length of a lookup result field if the field maxLength
 242  
      * has not been defined in the DD
 243  
      */
 244  
     public static final String RESULTS_DEFAULT_MAX_COLUMN_LENGTH = "RESULTS_DEFAULT_MAX_COLUMN_LENGTH";
 245  
 
 246  
 //    /**
 247  
 //     * The number of levels BusinessObjectDictionaryServiceImpl will recurse. If this number is high, it may lead to serious
 248  
 //     * performance problems
 249  
 //     */
 250  
 //    public static final int BUSINESS_OBJECT_DICTIONARY_SERVICE_PERFORM_FORCE_UPPERCASE_RECURSION_MAX_DEPTH = 3;
 251  
 
 252  
     /**
 253  
      * When checkboxes are rendered on the form, a hidden field will also be rendered corresponding to each checkbox with the
 254  
      * checkbox's name suffixed with the value of this constant. No real fields should have names that contain this suffix,
 255  
      * since this may lead to undesired results.
 256  
      */
 257  
     public static final String CHECKBOX_PRESENT_ON_FORM_ANNOTATION = "{CheckboxPresentOnFormAnnotation}";
 258  
 
 259  
     public static final int DOCUMENT_ANNOTATION_MAX_LENGTH = 2000;
 260  
 
 261  
     public static final String HIDE_LOOKUP_RETURN_LINK = "hideReturnLink";
 262  
     public static final String SUPPRESS_ACTIONS = "suppressActions";
 263  
     public static final String REFERENCES_TO_REFRESH = "referencesToRefresh";
 264  
 //    public static final String INITIAL_KUALI_DOCUMENT_STATUS_CD = "?";
 265  
 
 266  
     public static final String INQUIRABLE_ATTRIBUTE_NAME = "kualiInquirable";
 267  
     public static final String INQUIRY_ACTION = "inquiry.do";
 268  
     public static final String PORTAL_ACTION = "portal.do";
 269  
     public static final String DIRECT_INQUIRY_ACTION = "directInquiry.do";
 270  
     public static final String CONTINUE_WITH_INQUIRY_METHOD_TO_CALL = "continueWithInquiry";
 271  
 //    public static final String INQUIRY_IMPL_ATTRIBUTE_NAME = "inquirableImplServiceName";
 272  
     public static final String INQUIRY_PK_VALUE_PASSED_FROM_PREVIOUS_REQUEST_PREFIX = "previousPkValue_";
 273  
     public static final String INACTIVE_RECORD_DISPLAY_PARAM_PREFIX = "inactiveRecordDisplay_";
 274  
     
 275  
     public static final String FIELD_NAME_TO_FOCUS_ON_AFTER_SUBMIT = "fieldNameToFocusOnAfterSubmit";
 276  
 
 277  
     public static final String DEFAULT_PARAMETER_APPLICATION_ID = "KUALI";
 278  
     public static final String DEFAULT_NAMESPACE = "KUALI";
 279  
     public static final String LOOKUP_ACTION = "lookup.do";
 280  
     public static final String MULTIPLE_VALUE_LOOKUP_ACTION = "multipleValueLookup.do";
 281  
     public static final String LOOKUP_RESULTS_SEQUENCE_NUMBER = "lookupResultsSequenceNumber";
 282  
     public static final String LOOKUP_RESULTS_BO_CLASS_NAME = "lookupResultsBOClassName";
 283  
     public static final String LOOKED_UP_COLLECTION_NAME = "lookedUpCollectionName";
 284  
     public static final String MULTIPLE_VALUE_LOOKUP_PREVIOUSLY_SELECTED_OBJ_IDS_PARAM = "previouslySelectedObjectIds";
 285  
     public static final String MULTIPLE_VALUE_LOOKUP_OBJ_IDS_SEPARATOR = "||";
 286  
     public static final String MULTIPLE_VALUE_LOOKUP_DISPLAYED_OBJ_ID_PARAM_PREFIX = "displayedObjId-";
 287  
     public static final String MULTIPLE_VALUE_LOOKUP_SELECTED_OBJ_ID_PARAM_PREFIX = "selectedObjId-";
 288  
     public static final String LOOKUP_ANCHOR = "lookupAnchor";
 289  
     public static final String LOOKUPABLE_IMPL_ATTRIBUTE_NAME = "lookupableImplServiceName";
 290  
     public static final String LOOKUP_RESULTS_SEQUENCE = "KRNS_LOOKUP_RSLT_S";
 291  
     public static final String KUALI_LOOKUPABLE_IMPL = "kualiLookupable";
 292  
     public static final String PARAMETER_DOC_ID = "docId";
 293  
     public static final String PARAMETER_COMMAND = "command";
 294  
         public static final String ACTION_CLASS = "actionClass";
 295  
         public static final String NAMESPACE_CODE = "namespaceCode";
 296  
         public static final String COMPONENT_NAME = "componentName";
 297  
 //    public static final String LOOKUP_METHOD = "performLookup";
 298  
     public static final String LOOKUP_DEFAULT_RANGE_SEARCH_LOWER_BOUND_LABEL = "From";
 299  
     public static final String LOOKUP_DEFAULT_RANGE_SEARCH_UPPER_BOUND_LABEL = "To";
 300  
     public static final String LOOKUP_RANGE_LOWER_BOUND_PROPERTY_PREFIX = "rangeLowerBoundKeyPrefix_";
 301  
     public static final String LOOKUP_RANGE_UPPER_BOUND_PROPERTY_PREFIX = "rangeUpperBoundKeyPrefix_";
 302  
     public static final String LOOKUP_PARAMETER_LITERAL_PREFIX = "literal";
 303  
     public static final String LOOKUP_PARAMETER_LITERAL_DELIMITER = "=";
 304  
 
 305  
     public static final String METHOD_DISPLAY_DOC_SEARCH_VIEW = "displayDocSearchView";
 306  
     public static final String MAINTENANCE_ACTION = "maintenance.do";
 307  
     public static final String MAINTENANCE_ADD_PREFIX = "add.";
 308  
     public static final String MAINTENANCE_COPY_ACTION = "Copy";
 309  
     public static final String MAINTENANCE_EDIT_ACTION = "Edit";
 310  
     public static final String MAINTENANCE_DELETE_ACTION = "Delete";
 311  
     public static final String MAINTENANCE_NEW_ACTION = "New";
 312  
     public static final String MAINTENANCE_COPY_METHOD_TO_CALL = "copy";
 313  
     public static final String MAINTENANCE_EDIT_METHOD_TO_CALL = "edit";
 314  
     public static final String MAINTENANCE_DELETE_METHOD_TO_CALL = "delete";
 315  
     public static final String MAINTENANCE_NEW_METHOD_TO_CALL = "start";
 316  
     public static final String MAINTENANCE_NEWWITHEXISTING_ACTION = "newWithExisting";
 317  
     public static final String MAINTENANCE_ACTN = "maintenanceAction";
 318  
     public static final String MAINTENANCE_NEW_MAINTAINABLE = "document.newMaintainableObject.";
 319  
     public static final String MAINTENANCE_OLD_MAINTAINABLE = "document.oldMaintainableObject.";
 320  
     public static final String MAPPING_CANCEL = "cancel";
 321  
     public static final String MAPPING_CLOSE = "close";
 322  
     public static final String MAPPING_DISAPPROVE = "disapprove";
 323  
 //    public static final String MAPPING_DELETE = "delete";
 324  
     // Activate the MAPPING_ERROR define for use in Exception incident and handling
 325  
     public static final String MAPPING_ERROR = "error";
 326  
     public static final String MAPPING_PORTAL = "portal";
 327  
 //    public static final String MAPPING_MULTIPLE_VALUE_LOOKUP = "multipleValueLookup";
 328  
     public static final String MAPPING_ROUTE_REPORT = "route_report";
 329  
 //    public static final String MAXLENGTH_SUFFIX = ".maxLength";
 330  
     public static final String METHOD_TO_CALL_ATTRIBUTE = "methodToCallAttribute";
 331  
     public static final String METHOD_TO_CALL_PATH = "methodToCallPath";
 332  
     public static final String METHOD_TO_CALL_BOPARM_LEFT_DEL = "(!!";
 333  
     public static final String METHOD_TO_CALL_BOPARM_RIGHT_DEL = "!!)";
 334  
     public static final String METHOD_TO_CALL_PARM1_LEFT_DEL = "(((";
 335  
     public static final String METHOD_TO_CALL_PARM1_RIGHT_DEL = ")))";
 336  
     public static final String METHOD_TO_CALL_PARM2_LEFT_DEL = "((`";
 337  
     public static final String METHOD_TO_CALL_PARM2_RIGHT_DEL = "`))";
 338  
     public static final String METHOD_TO_CALL_PARM3_LEFT_DEL = "((<";
 339  
     public static final String METHOD_TO_CALL_PARM3_RIGHT_DEL = ">))";
 340  
     public static final String METHOD_TO_CALL_PARM4_LEFT_DEL = "(([";
 341  
     public static final String METHOD_TO_CALL_PARM4_RIGHT_DEL = "]))";
 342  
     public static final String METHOD_TO_CALL_PARM5_LEFT_DEL = "((*";
 343  
     public static final String METHOD_TO_CALL_PARM5_RIGHT_DEL = "*))";
 344  
     public static final String METHOD_TO_CALL_PARM6_LEFT_DEL = "((%";
 345  
     public static final String METHOD_TO_CALL_PARM6_RIGHT_DEL = "%))";
 346  
     public static final String METHOD_TO_CALL_PARM7_LEFT_DEL = "((^";
 347  
     public static final String METHOD_TO_CALL_PARM7_RIGHT_DEL = "^))";
 348  
     public static final String METHOD_TO_CALL_PARM8_LEFT_DEL = "((&";
 349  
     public static final String METHOD_TO_CALL_PARM8_RIGHT_DEL = "&))";
 350  
     public static final String METHOD_TO_CALL_PARM9_LEFT_DEL = "((~";
 351  
     public static final String METHOD_TO_CALL_PARM9_RIGHT_DEL = "~))";
 352  
     public static final String METHOD_TO_CALL_PARM10_LEFT_DEL = "((/";
 353  
     public static final String METHOD_TO_CALL_PARM10_RIGHT_DEL = "/))";
 354  
     public static final String METHOD_TO_CALL_PARM11_LEFT_DEL = "(:;";
 355  
     public static final String METHOD_TO_CALL_PARM11_RIGHT_DEL = ";:)";
 356  
     public static final String METHOD_TO_CALL_PARM12_LEFT_DEL = "(::;";
 357  
     public static final String METHOD_TO_CALL_PARM12_RIGHT_DEL = ";::)";
 358  
     // below 2 fields used in rowDisplay.tag file
 359  
     public static final String METHOD_TO_CALL_PARM13_LEFT_DEL = "(:::;";
 360  
     public static final String METHOD_TO_CALL_PARM13_RIGHT_DEL = ";:::)";
 361  
     // used for baseLookupURL
 362  
     public static final String METHOD_TO_CALL_PARM14_LEFT_DEL = "(::::;";
 363  
     public static final String METHOD_TO_CALL_PARM14_RIGHT_DEL = ";::::)";
 364  
     // if more strings needed, then add more colons to the PARM11 strings above, e.g. (::; (:::;, etc.
 365  
     
 366  
     
 367  
     // Pessimistic Locking Constants
 368  
     public static final String SESSION_TIMEOUT_WARNING_MESSAGE_TIME_PARM_NM = "SESSION_TIMEOUT_WARNING_MESSAGE_TIME";
 369  
     public static final String SESSION_TIMEOUT_WARNING_MILLISECONDS = "SESSION_TIMEOUT_WARNING_MILLISECONDS";
 370  
     public static final String SESSION_TIMEOUT_WARNING_MINUTES = "SESSION_TIMEOUT_WARNING_MINUTES";
 371  
 
 372  
     public static final String ANCHOR = "anchor";
 373  
     public static final String ANCHOR_TOP_OF_FORM = "topOfForm";
 374  
     public static final String QUESTION_ANCHOR = "questionAnchor";
 375  
     public static final String NOT_AVAILABLE_STRING = "N/A";
 376  
 //    public static final int NEGATIVE_ONE = -1;
 377  
 //    public static final String CONTEXT_PATH = "contextPath";
 378  
     public static final String QUESTION_ACTION = "questionPrompt.do";
 379  
     public static final String QUESTION_CLICKED_BUTTON = "buttonClicked";
 380  
     public static final String QUESTION_ERROR_KEY = "questionErrorKey";
 381  
     public static final String QUESTION_ERROR_PROPERTY_NAME = "questionErrorPropertyName";
 382  
     public static final String QUESTION_ERROR_PARAMETER = "questionErrorParameter";
 383  
     public static final String QUESTION_IMPL_ATTRIBUTE_NAME = "questionType";
 384  
     public static final String QUESTION_INST_ATTRIBUTE_NAME = "questionIndex";
 385  
     public static final String QUESTION_PAGE_TITLE = "Question Dialog Page";
 386  
     public static final String QUESTION_REFRESH = "QuestionRefresh";
 387  
     public static final String QUESTION_CONTEXT = "context";
 388  
     public static final String QUESTION_TEXT_ATTRIBUTE_NAME = "questionText";
 389  
     public static final String QUESTION_REASON_ATTRIBUTE_NAME = "reason";
 390  
     public static final String QUESTION_SHOW_REASON_FIELD = "showReasonField";
 391  
 //    public static final String RELOAD_METHOD_TO_CALL = "reload";
 392  
     public static final String REFRESH_CALLER = "refreshCaller";
 393  
     public static final String REFRESH_MAPPING_PREFIX = "/Refresh";
 394  
     // below field used in tag files
 395  
     public static final String REQUIRED_FIELD_SYMBOL = "*";
 396  
     public static final String RETURN_LOCATION_PARAMETER = "returnLocation";
 397  
     public static final String RETURN_METHOD_TO_CALL = "refresh";
 398  
 //    public static final String ROUTE_METHOD = "route";
 399  
     // Another possible value for the "refreshCaller" request parameter, as a fix for KULRICE-2903.
 400  
     public static final String TEXT_AREA_REFRESH = "TextAreaRefresh";
 401  
     // below field used in tag files
 402  
 
 403  
     // KualiDocumentActionBase Method Names
 404  
     public static final String ROUTE_METHOD = "route";
 405  
     public static final String SAVE_METHOD = "save";
 406  
     public static final String APPROVE_METHOD = "approve";
 407  
     public static final String BLANKET_APPROVE_METHOD = "blanketApprove";
 408  
     public static final String DOC_HANDLER_METHOD = "docHandler";
 409  
     public static final String CLOSE_METHOD = "close";
 410  
     public static final String CANCEL_METHOD = "cancel";
 411  
     public static final String LOAD_DOCUMENT_METHOD = "loadDocument";
 412  
     public static final String CREATE_DOCUMENT_METHOD = "createDocument";
 413  
     public static final String DISAPPROVE_METHOD = "disapprove";
 414  
     public static final String FYI_METHOD = "fyi";
 415  
     public static final String ACKNOWLEDGE_METHOD = "acknowledge";
 416  
 
 417  
     public static final String DOWNLOAD_BO_ATTACHMENT_METHOD ="downloadBOAttachment";
 418  
     public static final String DOWNLOAD_CUSTOM_BO_ATTACHMENT_METHOD ="downloadCustomBOAttachment";
 419  
     public static final String NOTE_IDENTIFIER = "noteIdentifier";
 420  
     public static final String BO_ATTACHMENT_FILE_NAME = "fileName";
 421  
     public static final String BO_ATTACHMENT_FILE_CONTENT_TYPE = "fileContentType";
 422  
     public static final String BO_ATTACHMENT_FILE_CONTENT_FIELD = "fileContentBOField";
 423  
     
 424  
 
 425  
     // specialized method 'delete' used only for PessimisticLocks currently
 426  
     public static final String DELETE_METHOD = "delete";
 427  
     public static final String START_METHOD = "start";
 428  
     public static final String USER_SESSION_KEY = "UserSession";
 429  
     public static final String KUALI_SESSION_ID = "kualiSessionId";
 430  
     public static final String EXITING_DOCUMENT = "exitingDocument";
 431  
     public static final String DOCUMENT_DOCUMENT_NUMBER = "document.documentNumber";
 432  
     public static final String DOC_NUM = "docNum";
 433  
 
 434  
     public static final String SEARCH_LIST_KEY_PREFIX = "searchResults";
 435  
     public static final String SEARCH_LIST_REQUEST_KEY = "searchResultKey";
 436  
 
 437  
     public static final String METHOD_DISPLAY_ALL_INACTIVATION_BLOCKERS = "displayAllInactivationBlockers";
 438  
     public static final String DISPLAY_ALL_INACTIVATION_BLOCKERS_ACTION = "inactivationBlockers.do";
 439  
 
 440  
     public static final String GLOBAL_ERRORS = "GLOBAL_ERRORS";
 441  
     public static final String GLOBAL_MESSAGES = "GlobalMessages";
 442  
     public static final String PESSIMISTIC_LOCK_MESSAGES = "DocumentPessimisticLockMessages";
 443  
     public static final String AD_HOC_ROUTE_PERSON_ERRORS = "newAdHocRoutePerson*,adHocRoutePerson*";
 444  
     public static final String AD_HOC_ROUTE_WORKGROUP_ERRORS = "newAdHocRouteWorkgroup*,adHocRouteWorkgroup*";
 445  
     public static final String AD_HOC_ROUTE_ERRORS = AD_HOC_ROUTE_PERSON_ERRORS + "," + AD_HOC_ROUTE_WORKGROUP_ERRORS;
 446  
     public static final String DOCUMENT_DOCUMENT_ERRORS = "document.document*";
 447  
     public static final String DOCUMENT_EXPLANATION_ERRORS = "document.explanation*";
 448  
     public static final String DOCUMENT_REVERSAL_ERRORS = "document.reversal*";
 449  
     public static final String DOCUMENT_SELECTED_ERRORS = "document.selected*";
 450  
     public static final String DOCUMENT_HEADER_ERRORS = "document.header*";
 451  
 //    public static final String DOCUMENT_ERRORS_LESS_DOCUMENT = DOCUMENT_EXPLANATION_ERRORS + "," + DOCUMENT_REVERSAL_ERRORS + "," + DOCUMENT_SELECTED_ERRORS + "," + DOCUMENT_HEADER_ERRORS;
 452  
     public static final String DOCUMENT_ERRORS = DOCUMENT_DOCUMENT_ERRORS + "," + DOCUMENT_EXPLANATION_ERRORS + "," + DOCUMENT_REVERSAL_ERRORS + "," + DOCUMENT_SELECTED_ERRORS + "," + DOCUMENT_HEADER_ERRORS;
 453  
     // below field used in tag files
 454  
     public static final String DOCUMENT_NOTES_ERRORS = NEW_DOCUMENT_NOTE_PROPERTY_NAME + "*";
 455  
 
 456  
     // export formats
 457  
 
 458  
     public static final String XML_FORMAT = "xml";
 459  
     public static final String EXCEL_FORMAT = "xls";
 460  
     public static final String CSV_FORMAT = "csv";
 461  
 
 462  
     public static final String XML_MIME_TYPE = "application/xml";
 463  
 
 464  
     public static final String AND_LOGICAL_OPERATOR = "&&";
 465  
     public static final String OR_LOGICAL_OPERATOR = "|";
 466  
     public static final String NOT_LOGICAL_OPERATOR = "!";
 467  
     public static final String BETWEEN_OPERATOR = "..";
 468  
     public static final String NULL_OPERATOR = "NULL";
 469  
 //    // add AND operator to thest if it is uncommented below
 470  
 //    public static final String[] LOGICAL_OPERATORS = {OR_LOGICAL_OPERATOR, NOT_LOGICAL_OPERATOR};
 471  0
     public static final String[] QUERY_CHARACTERS = {"*", "?", "%", ">", "<", BETWEEN_OPERATOR, OR_LOGICAL_OPERATOR, NOT_LOGICAL_OPERATOR, "="};
 472  0
     public static final String[] RANGE_CHARACTERS = {">=","<=",">","<",BETWEEN_OPERATOR};
 473  
     public static final String AUDIT_ERRORS = "AuditErrors";
 474  
 
 475  
     // Header Tab navigation constant values
 476  
     public static final String NAVIGATE_TO = "navigateTo.";
 477  
     public static final String HEADER_DISPATCH = "headerDispatch.";
 478  
 
 479  
     public static final String MULTIPLE_VALUE = "multipleValues";
 480  
 
 481  
     // Agency type codes
 482  
 //    public static final String AGENCY_TYPE_CODE_FEDERAL = "F";
 483  
 
 484  
     // special chars that I don't know how to put into string literals in JSP expression language
 485  
     // below field used in tag files
 486  
     public static final String NEWLINE = "\n";
 487  
 
 488  
     // websession
 489  
     public static final String DOCUMENT_WEB_SCOPE = "documentWebScope";
 490  
     public static final String SESSION_SCOPE = "session";
 491  
 
 492  
     public static final class SystemGroupParameterNames {
 493  
         public static final String CHECK_ENCRYPTION_SERVICE_OVERRIDE_IND = "CHECK_ENCRYPTION_SERVICE_OVERRIDE_IND";
 494  
 
 495  
         public static final String LOOKUP_RESULTS_LIMIT = "RESULTS_LIMIT";
 496  
         public static final String MULTIPLE_VALUE_LOOKUP_RESULTS_PER_PAGE = "MULTIPLE_VALUE_RESULTS_PER_PAGE";
 497  
 //        public static final String MULTIPLE_VALUE_LOOKUP_RESULTS_EXPIRATION_AGE = "MULTIPLE_VALUE_RESULTS_EXPIRATION_SECONDS";
 498  
 
 499  
         public static final String DEFAULT_CAN_PERFORM_ROUTE_REPORT_IND = "DEFAULT_CAN_PERFORM_ROUTE_REPORT_IND";
 500  
         public static final String ALLOW_ENROUTE_BLANKET_APPROVE_WITHOUT_APPROVAL_REQUEST_IND = "ALLOW_ENROUTE_BLANKET_APPROVE_WITHOUT_APPROVAL_REQUEST_IND";
 501  
         /**
 502  
          * Used to indicate whether field level help is enabled. Depending on the namespace this parameter is in, it may
 503  
          * affect either lookups (i.e. the search criteria fields) or maintenance documents.
 504  
          */
 505  
         public static final String ENABLE_FIELD_LEVEL_HELP_IND = "ENABLE_FIELD_LEVEL_HELP_IND";
 506  
 
 507  
 //        /**
 508  
 //         * Used by PurgePendingAttachmentsJob to compute the maximum amount of time a pending attachment is allowed to
 509  
 //         * persist on the file system before being deleted.
 510  
 //         */
 511  
 //        public static final String PURGE_PENDING_ATTACHMENTS_STEP_MAX_AGE = "purgePendingAttachmentsStepMaxAge";
 512  
 
 513  
         public static final String ENABLE_DIRECT_INQUIRIES_IND = "ENABLE_DIRECT_INQUIRIES_IND";
 514  
         public static final String DEFAULT_COUNTRY = "DEFAULT_COUNTRY";
 515  
                 
 516  
         public static final String SENSITIVE_DATA_PATTERNS = "SENSITIVE_DATA_PATTERNS";
 517  
         public static final String SENSITIVE_DATA_PATTERNS_WARNING_IND = "SENSITIVE_DATA_PATTERNS_WARNING_IND";
 518  
         
 519  0
             private SystemGroupParameterNames() {
 520  0
                     throw new UnsupportedOperationException("do not call");
 521  
             }
 522  
     }
 523  
 
 524  
     public static final class Maintenance {
 525  
         public static final String AFTER_CLASS_DELIM = "!!";
 526  
         public static final String AFTER_FIELDNAME_DELIM = "^^";
 527  
         public static final String AFTER_VALUE_DELIM = "::";
 528  
         
 529  0
             private Maintenance() {
 530  0
                     throw new UnsupportedOperationException("do not call");
 531  
             }
 532  
     }
 533  
 
 534  
     public static final int DEFAULT_NUM_OF_COLUMNS = 1;
 535  
 
 536  
     public static final class TableRenderConstants {
 537  
         public static final String SWITCH_TO_PAGE_METHOD = "switchToPage";
 538  
         public static final String SORT_METHOD = "sort";
 539  
         public static final String SELECT_ALL_METHOD = "selectAll";
 540  
         public static final String UNSELECT_ALL_METHOD = "unselectAll";
 541  
 
 542  
         // below field used on displayMultipleValueLookupResults.tag
 543  
         public static final String PREVIOUSLY_SORTED_COLUMN_INDEX_PARAM = "previouslySortedColumnIndex";
 544  
         public static final String VIEWED_PAGE_NUMBER = "viewedPageNumber";
 545  
         
 546  0
             private TableRenderConstants() {
 547  0
                     throw new UnsupportedOperationException("do not call");
 548  
             }
 549  
     }
 550  
 
 551  
     public static final String TAB_STATES = "tabStates";
 552  
     
 553  0
     public static final List<String> ALWAYS_VALID_PARAMETER_PREFIXES = new ArrayList<String>();
 554  
     static {
 555  0
             ALWAYS_VALID_PARAMETER_PREFIXES.add( TAB_STATES );
 556  0
             ALWAYS_VALID_PARAMETER_PREFIXES.add( DISPATCH_REQUEST_PARAMETER+".hideAllTabs" );
 557  0
             ALWAYS_VALID_PARAMETER_PREFIXES.add( DISPATCH_REQUEST_PARAMETER+".showAllTabs" );
 558  0
             ALWAYS_VALID_PARAMETER_PREFIXES.add( DISPATCH_REQUEST_PARAMETER+".toggleTab" );
 559  0
             ALWAYS_VALID_PARAMETER_PREFIXES.add( DISPATCH_REQUEST_PARAMETER+"."+TableRenderConstants.SWITCH_TO_PAGE_METHOD );
 560  
 //            ALWAYS_VALID_PARAMETER_PREFIXES.add( DISPATCH_REQUEST_PARAMETER+"."+TableRenderConstants.SORT_METHOD );
 561  0
     }
 562  
 
 563  
     public static final String GLOBAL_VARIABLES_MESSAGES_LIST_ACTION_MESSAGES = "GlobalVariablesMessagesList";
 564  
 
 565  
     public static final class Config {
 566  
             public static final String APPLY_ILLEGAL_BUSINESS_OBJECT_FOR_SAVE_CHECK = "rice.kns.illegalBusinessObjectsForSave.applyCheck";
 567  
             public static final String ILLEGAL_BUSINESS_OBJECTS_FOR_SAVE = "rice.kns.illegalBusinessObjectsForSave";
 568  
             
 569  0
             private Config() {
 570  0
                     throw new UnsupportedOperationException("do not call");
 571  
             }
 572  
     }
 573  
 
 574  
         public static final String ENABLE_NONPRODUCTION_UNMASKING = "enable.nonproduction.data.unmasking";
 575  
         
 576  
           public static final String SINGLE_QUOTE = "'";
 577  
           
 578  
           public static final String SENSITIVE_DATA_QUESTION_SESSION_TICKET = "SENSITIVE_DATA_QUESTION_SESSION_TICKET";
 579  
           public static final String EDITABLE_PROPERTIES_HISTORY_HOLDER_ATTR_NAME = "EditablePropertiesHistoryHolder";
 580  
 
 581  
           
 582  
     public static final String DATA_TYPE_STRING = "string";
 583  
     public static final String DATA_TYPE_DATE = "datetime";
 584  
     public static final String DATA_TYPE_LONG = "long";
 585  
     public static final String DATA_TYPE_FLOAT = "float";
 586  
     public static final String DATA_TYPE_BOOLEAN = "boolean";
 587  
           
 588  0
         private KNSConstants() {
 589  0
                 throw new UnsupportedOperationException("do not call");
 590  
         }
 591  
 }