1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.kew.doctype.service; |
18 | |
|
19 | |
import java.util.List; |
20 | |
|
21 | |
import org.kuali.rice.kew.doctype.bo.DocumentType; |
22 | |
import org.kuali.rice.kew.dto.DocumentTypeDTO; |
23 | |
import org.kuali.rice.kew.rule.bo.RuleAttribute; |
24 | |
import org.kuali.rice.kew.xml.export.XmlExporter; |
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
public interface DocumentTypeService extends DocumentTypeQueryService, XmlExporter { |
33 | |
|
34 | |
public DocumentTypeDTO getDocumentTypeVO(Long documentTypeId); |
35 | |
public DocumentTypeDTO getDocumentTypeVO(String documentTypeName); |
36 | |
public void versionAndSave(DocumentType documentType); |
37 | |
public void save(DocumentType documentType); |
38 | |
public void save(DocumentType documentType, boolean flushCache); |
39 | |
public void flushCache(); |
40 | |
public List findAllCurrentRootDocuments(); |
41 | |
public List findAllCurrent(); |
42 | |
public List<DocumentType> findPreviousInstances(String documentTypeName); |
43 | |
public List getChildDocumentTypes(Long documentTypeId); |
44 | |
public void clearCacheForAttributeUpdate(RuleAttribute ruleAttribute); |
45 | |
|
46 | |
|
47 | |
|
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
public DocumentType findByNameCaseInsensitive(String name); |
54 | |
} |