Class DocumentTypeServiceImpl
java.lang.Object
org.kuali.rice.kew.doctype.service.impl.DocumentTypeServiceImpl
- All Implemented Interfaces:
XmlExporter,XmlLoader,DocumentTypeQueryService,DocumentTypeService
The standard implementation of the DocumentTypeService.
- Author:
- Kuali Rice Team (rice.collab@kuali.org) This class does not support KEW REMOTE mode. KULRICE-7770 added an expicit check for this class in GlobalResourceDelegatingSpringCreator.java
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jdom2.Elementexport(ExportDataSet dataSet) find(DocumentType documentType, String docTypeParentName, boolean climbHierarchy) findByDocumentId(String documentId) Returns the DocumentType of the Document with the given ID.findByName(String name) This method is similar to the findByName method except it is case insensitive.findPreviousInstances(String documentTypeName) findRootDocumentType(DocumentType docType) getChildDocumentTypes(String documentTypeId) voidloadXml(InputStream inputStream, String principalId) save(DocumentType documentType) voidsetDataObjectService(DataObjectService dataObjectService) voidsetDocumentTypeDAO(DocumentTypeDAO documentTypeDAO) booleanversionAndSave(DocumentType documentType)
-
Field Details
-
XML_FILE_PARSE_ERROR
- See Also:
-
-
Constructor Details
-
DocumentTypeServiceImpl
public DocumentTypeServiceImpl()
-
-
Method Details
-
find
public Collection<DocumentType> find(DocumentType documentType, String docTypeParentName, boolean climbHierarchy) - Specified by:
findin interfaceDocumentTypeQueryService
-
findById
- Specified by:
findByIdin interfaceDocumentTypeQueryService
-
findByDocumentId
Description copied from interface:DocumentTypeQueryServiceReturns the DocumentType of the Document with the given ID.- Specified by:
findByDocumentIdin interfaceDocumentTypeQueryService
-
findByName
- Specified by:
findByNamein interfaceDocumentTypeQueryService
-
findByNameCaseInsensitive
Description copied from interface:DocumentTypeServiceThis method is similar to the findByName method except it is case insensitive.- Specified by:
findByNameCaseInsensitivein interfaceDocumentTypeService- Returns:
-
versionAndSave
- Specified by:
versionAndSavein interfaceDocumentTypeService
-
save
- Specified by:
savein interfaceDocumentTypeService
-
getDocumentTypeDAO
-
setDocumentTypeDAO
-
findAllCurrentRootDocuments
- Specified by:
findAllCurrentRootDocumentsin interfaceDocumentTypeService
-
findAllCurrent
- Specified by:
findAllCurrentin interfaceDocumentTypeService
-
findPreviousInstances
- Specified by:
findPreviousInstancesin interfaceDocumentTypeService
-
findRootDocumentType
- Specified by:
findRootDocumentTypein interfaceDocumentTypeQueryService
-
loadXml
-
export
- Specified by:
exportin interfaceXmlExporter
-
supportPrettyPrint
public boolean supportPrettyPrint()- Specified by:
supportPrettyPrintin interfaceXmlExporter
-
getChildDocumentTypes
- Specified by:
getChildDocumentTypesin interfaceDocumentTypeService
-
getDataObjectService
-
setDataObjectService
-