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.kew.api.doctype; 017 018import org.kuali.rice.core.api.mo.common.Identifiable; 019import org.kuali.rice.core.api.mo.common.Versioned; 020 021import java.util.List; 022import java.util.Map; 023 024public interface DocumentTypeContract extends Identifiable, Versioned { 025 026 String getName(); 027 028 Integer getDocumentTypeVersion(); 029 030 String getLabel(); 031 032 String getDescription(); 033 034 String getParentId(); 035 036 boolean isActive(); 037 038 String getHelpDefinitionUrl(); 039 040 String getDocSearchHelpUrl(); 041 042 String getPostProcessorName(); 043 044 String getApplicationId(); 045 046 boolean isCurrent(); 047 048 String getBlanketApproveGroupId(); 049 050 String getSuperUserGroupId(); 051 052 Map<DocumentTypePolicy, String> getPolicies(); 053 054 List<? extends DocumentTypeAttributeContract> getDocumentTypeAttributes(); 055 056 String getResolvedDocumentHandlerUrl(); 057 058 String getUnresolvedDocHandlerUrl(); 059 060 /** 061 * @since 2.1.3 062 * @return the custom DocumentTypePermissionService class or service name configured for the doc type 063 */ 064 String getAuthorizer(); 065 066}