Coverage Report - org.kuali.rice.kew.util.KEWPropertyConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
KEWPropertyConstants
0%
0/16
N/A
2
 
 1  
 /*
 2  
  * Copyright 2007-2008 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.util;
 17  
 
 18  
 import java.util.HashSet;
 19  
 import java.util.Set;
 20  
 
 21  
 /**
 22  
  * This is a constants file used to describe KEW properties
 23  
  *
 24  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 25  
  *
 26  
  */
 27  
 public final class KEWPropertyConstants {
 28  
 
 29  
     // Constants used by Document Search and the document search results
 30  
     public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_DOCUMENT_ID = "documentId";
 31  
     public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_DOC_TYPE_LABEL = "docTypeLabel";
 32  
     public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_DOCUMENT_TITLE = "documentTitle";
 33  
     public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_STATUS_DESC = "docRouteStatusCodeDesc";
 34  
     public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_INITIATOR = "initiator";
 35  
     public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_DATE_CREATED = "dateCreated";
 36  
     public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_LOG = "routeLog";
 37  
     public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_DOC_STATUS = "appDocStatus";
 38  
     
 39  
     // Constants used by DocumentTypeLookupableHelperServiceImpl
 40  
     public static final String DOCUMENT_TYPE_ID = "documentTypeId";
 41  
     public static final String NAME = "name";
 42  
     public static final String DOC_TYP_LABEL = "label";
 43  
     public static final String DOC_TYPE_PARENT_ID = "documentTypeId";
 44  
     public static final String PARENT_DOC_TYPE_NAME = "parentDocType.name";
 45  
     public static final String ACTIVE = "active";
 46  
     public static final String BACK_LOCATION = "backLocation";
 47  
     public static final String APPLICATION_ID = "applicationId";
 48  
     public static final String DOC_FORM_KEY = "docFormKey";
 49  
 
 50  
     //Constants used by RouteNode
 51  
     public static final String ROUTE_NODE_ID = "routeNodeId";
 52  
     public static final String ROUTE_NODE_INSTANCE_ID = "routeNodeInstanceId";
 53  
     public static final String NODE_INSTANCE_ID = "nodeInstanceId";
 54  
     public static final String DOCUMENT_ID = "documentId";
 55  
     public static final String ROUTE_NODE_NAME = "routeNodeName";
 56  
     public static final String PROCESS_ID = "processId";
 57  
     public static final String COMPLETE = "complete";
 58  
     public static final String FINAL_APPROVAL = "finalApprovalInd";
 59  
     public static final String KEY = "key";
 60  
     public static final String ROUTE_NODE_STATE_ID = "nodeStateId";
 61  
     
 62  
     
 63  0
     public static final Set<String> DOC_SEARCH_RESULT_PROPERTY_NAME_SET = new HashSet<String>();
 64  
     static {
 65  0
         DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_DOCUMENT_ID);
 66  0
         DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_DOC_TYPE_LABEL);
 67  0
         DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_DOCUMENT_TITLE);
 68  0
         DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_STATUS_DESC);
 69  0
         DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_DOC_STATUS);
 70  0
         DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_INITIATOR);
 71  0
         DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_DATE_CREATED);
 72  0
         DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_LOG);
 73  
     }
 74  
 
 75  
         // Name of the section in the xml file.
 76  
         public static final String PERSON_RESP_SECTION = "personResponsibilities";
 77  
         // Name of the section in the xml file.
 78  
         public static final String GROUP_RESP_SECTION = "groupResponsibilities";
 79  
         // Name of the section in the xml file.
 80  
         public static final String ROLE_RESP_SECTION = "roleResponsibilities";
 81  
         
 82  0
         public static final Set<String> RESP_SECTION_NAME_SET = new HashSet<String>();
 83  
         static {
 84  0
                 RESP_SECTION_NAME_SET.add(PERSON_RESP_SECTION);
 85  0
                 RESP_SECTION_NAME_SET.add(GROUP_RESP_SECTION);
 86  0
                 RESP_SECTION_NAME_SET.add(ROLE_RESP_SECTION);
 87  0
         }
 88  
         
 89  0
         private KEWPropertyConstants() {
 90  0
                 throw new UnsupportedOperationException("do not call");
 91  
         }
 92  
 }