| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.kuali.rice.kew.doctype.service; |
| 17 | |
|
| 18 | |
import org.kuali.rice.core.framework.impex.xml.XmlExporter; |
| 19 | |
import org.kuali.rice.kew.api.rule.Rule; |
| 20 | |
import org.kuali.rice.kew.doctype.bo.DocumentType; |
| 21 | |
import org.springframework.cache.annotation.CacheEvict; |
| 22 | |
|
| 23 | |
import java.util.List; |
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
|
| 29 | |
|
| 30 | |
|
| 31 | |
public interface DocumentTypeService extends DocumentTypeQueryService, XmlExporter { |
| 32 | |
@CacheEvict(value={Rule.Cache.NAME, org.kuali.rice.kew.api.doctype.DocumentType.Cache.NAME}, allEntries = true) |
| 33 | |
void versionAndSave(DocumentType documentType); |
| 34 | |
@CacheEvict(value={Rule.Cache.NAME, org.kuali.rice.kew.api.doctype.DocumentType.Cache.NAME}, allEntries = true) |
| 35 | |
void save(DocumentType documentType); |
| 36 | |
List findAllCurrentRootDocuments(); |
| 37 | |
List findAllCurrent(); |
| 38 | |
List<DocumentType> findPreviousInstances(String documentTypeName); |
| 39 | |
List getChildDocumentTypes(String documentTypeId); |
| 40 | |
|
| 41 | |
|
| 42 | |
|
| 43 | |
|
| 44 | |
|
| 45 | |
|
| 46 | |
|
| 47 | |
|
| 48 | |
DocumentType findByNameCaseInsensitive(String name); |
| 49 | |
} |