public class MockDocumentTypeServiceImpl extends Object implements DocumentTypeService
| Constructor and Description |
|---|
MockDocumentTypeServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.jdom.Element |
export(ExportDataSet dataSet) |
Collection<DocumentType> |
find(DocumentType documentType,
String docGroupName,
boolean climbHiearchy) |
List<DocumentType> |
findAllCurrent() |
List<DocumentType> |
findAllCurrentRootDocuments() |
DocumentType |
findByDocumentId(String documentId) |
DocumentType |
findById(String documentTypeId) |
DocumentType |
findByName(String name) |
DocumentType |
findByNameCaseInsensitive(String name) |
String |
findParentNameByName(String documentTypeName) |
List<DocumentType> |
findPreviousInstances(String documentTypeName) |
DocumentType |
findRootDocumentType(DocumentType docType) |
List<DocumentType> |
getChildDocumentTypes(String documentTypeId) |
void |
loadXml(InputStream inputStream,
String principalId) |
DocumentType |
save(DocumentType documentType) |
boolean |
supportPrettyPrint() |
DocumentType |
versionAndSave(DocumentType documentType) |
public MockDocumentTypeServiceImpl()
public DocumentType findByDocumentId(String documentId)
findByDocumentId in interface DocumentTypeQueryServicepublic DocumentType findById(String documentTypeId)
findById in interface DocumentTypeQueryServicepublic DocumentType findByName(String name)
findByName in interface DocumentTypeQueryServicepublic DocumentType findByNameCaseInsensitive(String name)
findByNameCaseInsensitive in interface DocumentTypeServicepublic DocumentType versionAndSave(DocumentType documentType)
versionAndSave in interface DocumentTypeServicepublic Collection<DocumentType> find(DocumentType documentType, String docGroupName, boolean climbHiearchy)
find in interface DocumentTypeQueryServicepublic List<DocumentType> findAllCurrentRootDocuments()
findAllCurrentRootDocuments in interface DocumentTypeServicepublic DocumentType findRootDocumentType(DocumentType docType)
findRootDocumentType in interface DocumentTypeQueryServicepublic void loadXml(InputStream inputStream, String principalId)
public org.jdom.Element export(ExportDataSet dataSet)
export in interface XmlExporterpublic boolean supportPrettyPrint()
supportPrettyPrint in interface XmlExporterpublic List<DocumentType> findAllCurrent()
findAllCurrent in interface DocumentTypeServicepublic List<DocumentType> getChildDocumentTypes(String documentTypeId)
getChildDocumentTypes in interface DocumentTypeServicepublic DocumentType save(DocumentType documentType)
save in interface DocumentTypeServicepublic List<DocumentType> findPreviousInstances(String documentTypeName)
findPreviousInstances in interface DocumentTypeServicepublic String findParentNameByName(String documentTypeName)
findParentNameByName in interface DocumentTypeQueryServiceCopyright © 2005–2016 The Kuali Foundation. All rights reserved.