mocks
Class MockDocumentTypeServiceImpl
java.lang.Object
   mocks.MockDocumentTypeServiceImpl
mocks.MockDocumentTypeServiceImpl
- All Implemented Interfaces: 
- XmlExporter, XmlLoader, DocumentTypeQueryService, DocumentTypeService
- public class MockDocumentTypeServiceImpl 
- extends Object- implements DocumentTypeService
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MockDocumentTypeServiceImpl
public MockDocumentTypeServiceImpl()
findByDocumentId
public DocumentType findByDocumentId(String documentId)
- 
- Specified by:
- findByDocumentIdin interface- DocumentTypeQueryService
 
- 
 
findById
public DocumentType findById(String documentTypeId)
- 
- Specified by:
- findByIdin interface- DocumentTypeQueryService
 
- 
 
findByName
public DocumentType findByName(String name)
- 
- Specified by:
- findByNamein interface- DocumentTypeQueryService
 
- 
 
findByNameCaseInsensitive
public DocumentType findByNameCaseInsensitive(String name)
- 
- Specified by:
- findByNameCaseInsensitivein interface- DocumentTypeService
 
- 
 
versionAndSave
public DocumentType versionAndSave(DocumentType documentType)
- 
- Specified by:
- versionAndSavein interface- DocumentTypeService
 
- 
 
find
public Collection<DocumentType> find(DocumentType documentType,
                                     String docGroupName,
                                     boolean climbHiearchy)
- 
- Specified by:
- findin interface- DocumentTypeQueryService
 
- 
 
findAllCurrentRootDocuments
public List<DocumentType> findAllCurrentRootDocuments()
- 
- Specified by:
- findAllCurrentRootDocumentsin interface- DocumentTypeService
 
- 
 
findRootDocumentType
public DocumentType findRootDocumentType(DocumentType docType)
- 
- Specified by:
- findRootDocumentTypein interface- DocumentTypeQueryService
 
- 
 
loadXml
public void loadXml(InputStream inputStream,
                    String principalId)
- 
- Specified by:
- loadXmlin interface- XmlLoader
 
- 
 
export
public org.jdom.Element export(ExportDataSet dataSet)
- 
- Specified by:
- exportin interface- XmlExporter
 
- 
 
supportPrettyPrint
public boolean supportPrettyPrint()
- 
- Specified by:
- supportPrettyPrintin interface- XmlExporter
 
- 
 
findAllCurrent
public List<DocumentType> findAllCurrent()
- 
- Specified by:
- findAllCurrentin interface- DocumentTypeService
 
- 
 
getChildDocumentTypes
public List<DocumentType> getChildDocumentTypes(String documentTypeId)
- 
- Specified by:
- getChildDocumentTypesin interface- DocumentTypeService
 
- 
 
save
public DocumentType save(DocumentType documentType)
- 
- Specified by:
- savein interface- DocumentTypeService
 
- 
 
findPreviousInstances
public List<DocumentType> findPreviousInstances(String documentTypeName)
- 
- Specified by:
- findPreviousInstancesin interface- DocumentTypeService
 
- 
 
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.