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 DocumentTypeQueryService
public DocumentType findById(String documentTypeId)
findById
in interface DocumentTypeQueryService
public DocumentType findByName(String name)
findByName
in interface DocumentTypeQueryService
public DocumentType findByNameCaseInsensitive(String name)
findByNameCaseInsensitive
in interface DocumentTypeService
public DocumentType versionAndSave(DocumentType documentType)
versionAndSave
in interface DocumentTypeService
public Collection<DocumentType> find(DocumentType documentType, String docGroupName, boolean climbHiearchy)
find
in interface DocumentTypeQueryService
public List<DocumentType> findAllCurrentRootDocuments()
findAllCurrentRootDocuments
in interface DocumentTypeService
public DocumentType findRootDocumentType(DocumentType docType)
findRootDocumentType
in interface DocumentTypeQueryService
public void loadXml(InputStream inputStream, String principalId)
public org.jdom.Element export(ExportDataSet dataSet)
export
in interface XmlExporter
public boolean supportPrettyPrint()
supportPrettyPrint
in interface XmlExporter
public List<DocumentType> findAllCurrent()
findAllCurrent
in interface DocumentTypeService
public List<DocumentType> getChildDocumentTypes(String documentTypeId)
getChildDocumentTypes
in interface DocumentTypeService
public DocumentType save(DocumentType documentType)
save
in interface DocumentTypeService
public List<DocumentType> findPreviousInstances(String documentTypeName)
findPreviousInstances
in interface DocumentTypeService
public String findParentNameByName(String documentTypeName)
findParentNameByName
in interface DocumentTypeQueryService
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.