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