Coverage Report - org.kuali.rice.kew.api.KewApiConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
KewApiConstants
0%
0/2
N/A
2
KewApiConstants$DocumentContentVersions
0%
0/1
N/A
2
KewApiConstants$Namespaces
0%
0/1
N/A
2
KewApiConstants$ServiceNames
0%
0/1
N/A
2
 
 1  
 /*
 2  
  * Copyright 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/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.kew.api;
 17  
 
 18  
 import org.kuali.rice.core.api.CoreConstants;
 19  
 import org.kuali.rice.core.api.CoreConstants.Versions;
 20  
 
 21  
 public final class KewApiConstants {
 22  
 
 23  
     public static final String MACHINE_GENERATED_RESPONSIBILITY_ID = "0";
 24  
     public static final String ADHOC_REQUEST_RESPONSIBILITY_ID = "-1";
 25  
     public static final String EXCEPTION_REQUEST_RESPONSIBILITY_ID = "-2";
 26  
     public static final String SAVED_REQUEST_RESPONSIBILITY_ID = "-3";
 27  
 
 28  
     public static final int TITLE_MAX_LENGTH = 255;
 29  
 
 30  
     public static final String DOCUMENT_CONTENT_ELEMENT = "documentContent";
 31  
     public static final String ATTRIBUTE_CONTENT_ELEMENT = "attributeContent";
 32  
     public static final String SEARCHABLE_CONTENT_ELEMENT = "searchableContent";
 33  
     public static final String APPLICATION_CONTENT_ELEMENT = "applicationContent";
 34  
     public static final String DEFAULT_DOCUMENT_CONTENT = "<" + DOCUMENT_CONTENT_ELEMENT + "/>";
 35  
     public static final String DEFAULT_DOCUMENT_CONTENT2 = "<" + DOCUMENT_CONTENT_ELEMENT + "></"
 36  
             + DOCUMENT_CONTENT_ELEMENT + ">";
 37  
 
 38  
     // receive future action request constants
 39  
     public static final String RECEIVE_FUTURE_REQUESTS_BRANCH_STATE_KEY = "_receive_future_requests";
 40  
     public static final String DEACTIVATED_FUTURE_REQUESTS_BRANCH_STATE_KEY = "_deactivated_future_requests";
 41  
     public static final String DONT_RECEIVE_FUTURE_REQUESTS_BRANCH_STATE_VALUE = "NO";
 42  
     public static final String RECEIVE_FUTURE_REQUESTS_BRANCH_STATE_VALUE = "YES";
 43  
     public static final String CLEAR_FUTURE_REQUESTS_BRANCH_STATE_VALUE = "CLEAR";
 44  
 
 45  0
     public static final class DocumentContentVersions {
 46  
         public static final int ROUTE_LEVEL = 0;
 47  
         public static final int NODAL = 1;
 48  
         public static final int CURRENT = NODAL;
 49  
     }
 50  
 
 51  0
     public static final class Namespaces {
 52  
 
 53  
         public static final String KEW_NAMESPACE_PREFIX = CoreConstants.Namespaces.ROOT_NAMESPACE_PREFIX + "/kew";
 54  
 
 55  
         /**
 56  
          * Namespace for the kew module which is compatible with Kuali Rice 2.0.x.
 57  
          */
 58  
         public static final String KEW_NAMESPACE_2_0 = KEW_NAMESPACE_PREFIX + "/" + Versions.VERSION_2_0;
 59  
 
 60  
     }
 61  
     
 62  0
     public static final class ServiceNames {
 63  
         public static final String WORKFLOW_DOCUMENT_ACTIONS_SERVICE_SOAP = "workflowDocumentActionsServiceSoap";
 64  
     }
 65  
 
 66  0
     private KewApiConstants() {
 67  0
         throw new UnsupportedOperationException("Should never be called.");
 68  
     }
 69  
 
 70  
 }