Coverage Report - org.kuali.rice.kns.datadictionary.DocumentEntry
 
Classes in this File Line Coverage Branch Coverage Complexity
DocumentEntry
0%
0/19
N/A
1
 
 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.datadictionary;
 17  
 
 18  
 import org.kuali.rice.kns.rule.PromptBeforeValidation;
 19  
 import org.kuali.rice.kns.web.derivedvaluesetter.DerivedValuesSetter;
 20  
 import org.kuali.rice.krad.document.authorization.DocumentAuthorizer;
 21  
 import org.kuali.rice.krad.document.authorization.DocumentPresentationController;
 22  
 
 23  
 import java.util.ArrayList;
 24  
 import java.util.List;
 25  
 
 26  
 /**
 27  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 28  
  */
 29  
 @Deprecated
 30  0
 public class DocumentEntry extends org.kuali.rice.krad.datadictionary.DocumentEntry {
 31  
 
 32  
     protected Class<? extends PromptBeforeValidation> promptBeforeValidationClass;
 33  
     protected Class<? extends DerivedValuesSetter> derivedValuesSetterClass;
 34  0
     protected List<String> webScriptFiles = new ArrayList<String>(3);
 35  0
     protected List<HeaderNavigation> headerNavigationList = new ArrayList<HeaderNavigation>();
 36  
 
 37  0
     protected boolean sessionDocument = false;
 38  
 
 39  
     public List<HeaderNavigation> getHeaderNavigationList() {
 40  0
         return headerNavigationList;
 41  
     }
 42  
 
 43  
     public List<String> getWebScriptFiles() {
 44  0
         return webScriptFiles;
 45  
     }
 46  
 
 47  
     /**
 48  
      * @return Returns the preRulesCheckClass.
 49  
      */
 50  
     public Class<? extends PromptBeforeValidation> getPromptBeforeValidationClass() {
 51  0
         return promptBeforeValidationClass;
 52  
     }
 53  
 
 54  
     /**
 55  
      * The promptBeforeValidationClass element is the full class name of the java
 56  
      * class which determines whether the user should be asked any questions prior to running validation.
 57  
      *
 58  
      * @see KualiDocumentActionBase#promptBeforeValidation(org.apache.struts.action.ActionMapping,
 59  
      *      org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest,
 60  
      *      javax.servlet.http.HttpServletResponse, String)
 61  
      */
 62  
     public void setPromptBeforeValidationClass(Class<? extends PromptBeforeValidation> preRulesCheckClass) {
 63  0
         this.promptBeforeValidationClass = preRulesCheckClass;
 64  0
     }
 65  
 
 66  
     /**
 67  
      * The webScriptFile element defines the name of javascript files
 68  
      * that are necessary for processing the document.  The specified
 69  
      * javascript files will be included in the generated html.
 70  
      */
 71  
     public void setWebScriptFiles(List<String> webScriptFiles) {
 72  0
         this.webScriptFiles = webScriptFiles;
 73  0
     }
 74  
 
 75  
     /**
 76  
      * The headerNavigation element defines a set of additional
 77  
      * tabs which will appear on the document.
 78  
      */
 79  
     public void setHeaderNavigationList(List<HeaderNavigation> headerNavigationList) {
 80  0
         this.headerNavigationList = headerNavigationList;
 81  0
     }
 82  
 
 83  
     public boolean isSessionDocument() {
 84  0
         return this.sessionDocument;
 85  
     }
 86  
 
 87  
     public void setSessionDocument(boolean sessionDocument) {
 88  0
         this.sessionDocument = sessionDocument;
 89  0
     }
 90  
 
 91  
     /**
 92  
      * @return the derivedValuesSetter
 93  
      */
 94  
     public Class<? extends DerivedValuesSetter> getDerivedValuesSetterClass() {
 95  0
         return this.derivedValuesSetterClass;
 96  
     }
 97  
 
 98  
     /**
 99  
      * @param derivedValuesSetter the derivedValuesSetter to set
 100  
      */
 101  
     public void setDerivedValuesSetterClass(Class<? extends DerivedValuesSetter> derivedValuesSetter) {
 102  0
         this.derivedValuesSetterClass = derivedValuesSetter;
 103  0
     }
 104  
 }