001/**
002 * Copyright 2005-2016 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 org.kuali.rice.kns.document.authorization.DocumentAuthorizer;
019import org.kuali.rice.kns.document.authorization.DocumentPresentationController;
020import org.kuali.rice.kns.rule.PromptBeforeValidation;
021import org.kuali.rice.kns.web.derivedvaluesetter.DerivedValuesSetter;
022import org.kuali.rice.krad.datadictionary.DataDictionaryEntry;
023import org.kuali.rice.krad.datadictionary.ReferenceDefinition;
024import org.kuali.rice.krad.datadictionary.WorkflowAttributes;
025import org.kuali.rice.krad.datadictionary.WorkflowProperties;
026import org.kuali.rice.krad.document.Document;
027import org.kuali.rice.krad.keyvalues.KeyValuesFinder;
028import org.kuali.rice.krad.rules.rule.BusinessRule;
029import org.springframework.beans.factory.InitializingBean;
030
031import java.io.Serializable;
032import java.util.List;
033
034/**
035 * @author Kuali Rice Team (rice.collab@kuali.org)
036 */
037@Deprecated
038public interface KNSDocumentEntry extends DataDictionaryEntry, Serializable, InitializingBean {
039
040    public Class<? extends Document> getDocumentClass();
041
042    public void setDocumentClass(Class<? extends Document> documentClass);
043
044    public Class<? extends Document> getBaseDocumentClass();
045
046    public void setBaseDocumentClass(Class<? extends Document> baseDocumentClass);
047
048    public Class<? extends BusinessRule> getBusinessRulesClass();
049
050    public void setBusinessRulesClass(Class<? extends BusinessRule> businessRulesClass);
051
052    public String getDocumentTypeName();
053
054    public void setDocumentTypeName(String documentTypeName);
055
056    public boolean getDisplayTopicFieldInNotes();
057
058    public void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes);
059
060    public boolean getUsePessimisticLocking();
061
062    public void setUsePessimisticLocking(boolean usePessimisticLocking);
063
064    public boolean getUseWorkflowPessimisticLocking();
065
066    public void setUseWorkflowPessimisticLocking(boolean useWorkflowPessimisticLocking);
067
068    public Class<? extends KeyValuesFinder> getAttachmentTypesValuesFinderClass();
069
070    public void setAttachmentTypesValuesFinderClass(Class<? extends KeyValuesFinder> attachmentTypesValuesFinderClass);
071
072    public boolean getAllowsCopy();
073
074    public void setAllowsCopy(boolean allowsCopy);
075
076    public boolean getAllowsNoteAttachments();
077
078    public void setAllowsNoteAttachments(boolean allowsNoteAttachments);
079
080    public boolean getAllowsNoteFYI();
081
082    public void setAllowsNoteFYI(boolean allowsNoteFYI);
083
084    public WorkflowProperties getWorkflowProperties();
085
086    public void setWorkflowProperties(WorkflowProperties workflowProperties);
087
088    public WorkflowAttributes getWorkflowAttributes();
089
090    public void setWorkflowAttributes(WorkflowAttributes workflowAttributes);
091
092    public List<ReferenceDefinition> getDefaultExistenceChecks();
093
094    public void setDefaultExistenceChecks(List<ReferenceDefinition> defaultExistenceChecks);
095
096    public boolean isEncryptDocumentDataInPersistentSessionStorage();
097
098    public void setEncryptDocumentDataInPersistentSessionStorage(
099                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}