001/** 002 * Copyright 2005-2014 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.rice.kns.datadictionary; 017 018import java.io.Serializable; 019import java.util.List; 020 021import org.kuali.rice.kns.document.authorization.DocumentAuthorizer; 022import org.kuali.rice.kns.document.authorization.DocumentPresentationController; 023import org.kuali.rice.kns.rule.PromptBeforeValidation; 024import org.kuali.rice.kns.web.derivedvaluesetter.DerivedValuesSetter; 025import org.kuali.rice.krad.datadictionary.DataDictionaryEntry; 026import org.kuali.rice.krad.datadictionary.ReferenceDefinition; 027import org.kuali.rice.krad.datadictionary.WorkflowAttributes; 028import org.kuali.rice.krad.datadictionary.WorkflowProperties; 029import org.kuali.rice.krad.document.Document; 030import org.kuali.rice.krad.keyvalues.KeyValuesFinder; 031import org.kuali.rice.krad.rules.rule.BusinessRule; 032 033/** 034 * @author Kuali Rice Team (rice.collab@kuali.org) 035 * 036 * @deprecated Use {@link org.kuali.rice.krad.datadictionary.DocumentEntry}. 037 */ 038@Deprecated 039public interface KNSDocumentEntry extends DataDictionaryEntry, Serializable { 040 041 public Class<? extends Document> getDocumentClass(); 042 043 public void setDocumentClass(Class<? extends Document> documentClass); 044 045 public Class<? extends Document> getBaseDocumentClass(); 046 047 public void setBaseDocumentClass(Class<? extends Document> baseDocumentClass); 048 049 public Class<? extends BusinessRule> getBusinessRulesClass(); 050 051 public void setBusinessRulesClass(Class<? extends BusinessRule> businessRulesClass); 052 053 public String getDocumentTypeName(); 054 055 public void setDocumentTypeName(String documentTypeName); 056 057 public boolean getDisplayTopicFieldInNotes(); 058 059 public void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes); 060 061 public boolean getUsePessimisticLocking(); 062 063 public void setUsePessimisticLocking(boolean usePessimisticLocking); 064 065 public boolean getUseWorkflowPessimisticLocking(); 066 067 public void setUseWorkflowPessimisticLocking(boolean useWorkflowPessimisticLocking); 068 069 public Class<? extends KeyValuesFinder> getAttachmentTypesValuesFinderClass(); 070 071 public void setAttachmentTypesValuesFinderClass(Class<? extends KeyValuesFinder> attachmentTypesValuesFinderClass); 072 073 public boolean getAllowsCopy(); 074 075 public void setAllowsCopy(boolean allowsCopy); 076 077 public boolean getAllowsNoteAttachments(); 078 079 public void setAllowsNoteAttachments(boolean allowsNoteAttachments); 080 081 public boolean getAllowsNoteFYI(); 082 083 public void setAllowsNoteFYI(boolean allowsNoteFYI); 084 085 public WorkflowProperties getWorkflowProperties(); 086 087 public void setWorkflowProperties(WorkflowProperties workflowProperties); 088 089 public WorkflowAttributes getWorkflowAttributes(); 090 091 public void setWorkflowAttributes(WorkflowAttributes workflowAttributes); 092 093 public List<ReferenceDefinition> getDefaultExistenceChecks(); 094 095 public void setDefaultExistenceChecks(List<ReferenceDefinition> defaultExistenceChecks); 096 097 public boolean isEncryptDocumentDataInPersistentSessionStorage(); 098 099 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}