public class MockDocumentTypeServiceImpl extends Object implements DocumentTypeService
| Constructor and Description | 
|---|
| MockDocumentTypeServiceImpl() | 
public MockDocumentTypeServiceImpl()
public DocumentType setDocumentTypeVersion(DocumentType documentType, boolean currentInd)
public DocumentType getMostRecentDocType(String docTypeName)
public boolean isLockedForRouting(DocumentType documentType)
public void makeCurrent(List documentTypes)
public void addDocumentType(DocumentType documentType, PostProcessor postProcessor)
public DocumentType findByDocumentId(String documentId)
findByDocumentId in interface DocumentTypeQueryServicepublic Integer getMaxVersionNumber(String name)
public DocumentType findById(String documentTypeId)
findById in interface DocumentTypeQueryServicepublic DocumentType findByName(String name)
findByName in interface DocumentTypeQueryServicepublic DocumentType findByNameCaseInsensitive(String name)
findByNameCaseInsensitive in interface DocumentTypeServicepublic void versionAndSave(DocumentType documentType)
versionAndSave in interface DocumentTypeServicepublic PostProcessor getPostProcessor(String documentTypeId)
public Collection findRouteLevels(String documentTypeId)
public Collection find(DocumentType documentType, String docGroupName, boolean climbHiearchy)
find in interface DocumentTypeQueryServicepublic void delete(DocumentType documentType)
public List findByRouteHeaderId(String documentId)
public void makeCurrent(String documentId)
public List 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 findAllCurrent()
findAllCurrent in interface DocumentTypeServicepublic List getChildDocumentTypes(String documentTypeId)
getChildDocumentTypes in interface DocumentTypeServicepublic DocumentType findByNameIgnoreCache(String documentTypeId)
public void save(DocumentType documentType)
save in interface DocumentTypeServicepublic void save(DocumentType documentType, boolean flushCache)
public void flushCache()
public void clearCacheForAttributeUpdate(RuleAttribute ruleAttribute)
public Integer getDocumentTypeCount()
public List<DocumentType> findPreviousInstances(String documentTypeName)
findPreviousInstances in interface DocumentTypeServiceCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.