View Javadoc

1   /**
2    * Copyright 2005-2012 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.datadictionary;
17  
18  import org.kuali.rice.kns.document.authorization.DocumentAuthorizer;
19  import org.kuali.rice.kns.document.authorization.DocumentPresentationController;
20  import org.kuali.rice.kns.rule.PromptBeforeValidation;
21  import org.kuali.rice.kns.web.derivedvaluesetter.DerivedValuesSetter;
22  import org.kuali.rice.krad.datadictionary.DataDictionaryEntry;
23  import org.kuali.rice.krad.datadictionary.ReferenceDefinition;
24  import org.kuali.rice.krad.datadictionary.WorkflowAttributes;
25  import org.kuali.rice.krad.datadictionary.WorkflowProperties;
26  import org.kuali.rice.krad.document.Document;
27  import org.kuali.rice.krad.keyvalues.KeyValuesFinder;
28  import org.kuali.rice.krad.rules.rule.BusinessRule;
29  import org.springframework.beans.factory.InitializingBean;
30  
31  import java.io.Serializable;
32  import java.util.List;
33  
34  /**
35   * @author Kuali Rice Team (rice.collab@kuali.org)
36   */
37  @Deprecated
38  public interface KNSDocumentEntry extends DataDictionaryEntry, Serializable, InitializingBean {
39  
40      public Class<? extends Document> getDocumentClass();
41  
42      public void setDocumentClass(Class<? extends Document> documentClass);
43  
44      public Class<? extends Document> getBaseDocumentClass();
45  
46      public void setBaseDocumentClass(Class<? extends Document> baseDocumentClass);
47  
48      public Class<? extends BusinessRule> getBusinessRulesClass();
49  
50      public void setBusinessRulesClass(Class<? extends BusinessRule> businessRulesClass);
51  
52      public String getDocumentTypeName();
53  
54      public void setDocumentTypeName(String documentTypeName);
55  
56      public boolean getDisplayTopicFieldInNotes();
57  
58      public void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes);
59  
60      public boolean getUsePessimisticLocking();
61  
62      public void setUsePessimisticLocking(boolean usePessimisticLocking);
63  
64      public boolean getUseWorkflowPessimisticLocking();
65  
66      public void setUseWorkflowPessimisticLocking(boolean useWorkflowPessimisticLocking);
67  
68      public Class<? extends KeyValuesFinder> getAttachmentTypesValuesFinderClass();
69  
70      public void setAttachmentTypesValuesFinderClass(Class<? extends KeyValuesFinder> attachmentTypesValuesFinderClass);
71  
72      public boolean getAllowsCopy();
73  
74      public void setAllowsCopy(boolean allowsCopy);
75  
76      public boolean getAllowsNoteAttachments();
77  
78      public void setAllowsNoteAttachments(boolean allowsNoteAttachments);
79  
80      public boolean getAllowsNoteFYI();
81  
82      public void setAllowsNoteFYI(boolean allowsNoteFYI);
83  
84      public WorkflowProperties getWorkflowProperties();
85  
86      public void setWorkflowProperties(WorkflowProperties workflowProperties);
87  
88      public WorkflowAttributes getWorkflowAttributes();
89  
90      public void setWorkflowAttributes(WorkflowAttributes workflowAttributes);
91  
92      public List<ReferenceDefinition> getDefaultExistenceChecks();
93  
94      public void setDefaultExistenceChecks(List<ReferenceDefinition> defaultExistenceChecks);
95  
96      public boolean isEncryptDocumentDataInPersistentSessionStorage();
97  
98      public void setEncryptDocumentDataInPersistentSessionStorage(
99                  boolean encryptDocumentDataInPersistentSessionStorage);
100 
101     List<HeaderNavigation> getHeaderNavigationList();
102 
103     List<String> getWebScriptFiles();
104 
105     Class<? extends PromptBeforeValidation> getPromptBeforeValidationClass();
106 
107     void setPromptBeforeValidationClass(Class<? extends PromptBeforeValidation> preRulesCheckClass);
108 
109     void setWebScriptFiles(List<String> webScriptFiles);
110 
111     void setHeaderNavigationList(List<HeaderNavigation> headerNavigationList);
112 
113     boolean isSessionDocument();
114 
115     void setSessionDocument(boolean sessionDocument);
116 
117     Class<? extends DerivedValuesSetter> getDerivedValuesSetterClass();
118 
119     void setDerivedValuesSetterClass(Class<? extends DerivedValuesSetter> derivedValuesSetter);
120 
121     public Class<? extends DocumentAuthorizer> getDocumentAuthorizerClass();
122 
123     public Class<? extends DocumentPresentationController> getDocumentPresentationControllerClass();
124 
125 
126 }