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 DocumentTypeQueryService
public Integer getMaxVersionNumber(String name)
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 void versionAndSave(DocumentType documentType)
versionAndSave
in interface DocumentTypeService
public PostProcessor getPostProcessor(String documentTypeId)
public Collection findRouteLevels(String documentTypeId)
public Collection find(DocumentType documentType, String docGroupName, boolean climbHiearchy)
find
in interface DocumentTypeQueryService
public void delete(DocumentType documentType)
public List findByRouteHeaderId(String documentId)
public void makeCurrent(String documentId)
public List 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 findAllCurrent()
findAllCurrent
in interface DocumentTypeService
public List getChildDocumentTypes(String documentTypeId)
getChildDocumentTypes
in interface DocumentTypeService
public DocumentType findByNameIgnoreCache(String documentTypeId)
public void save(DocumentType documentType)
save
in interface DocumentTypeService
public 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 DocumentTypeService
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.