public class DocumentTypeDAOJpaImpl extends Object implements DocumentTypeDAO
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
LOG |
| Constructor and Description |
|---|
DocumentTypeDAOJpaImpl() |
public static final org.apache.log4j.Logger LOG
public DocumentTypeDAOJpaImpl()
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager - the entityManager to setpublic void delete(DocumentType documentType)
delete in interface DocumentTypeDAOpublic DocumentType findById(String docTypeId)
findById in interface DocumentTypeDAOpublic DocumentType findByName(String name)
findByName in interface DocumentTypeDAOpublic DocumentType findByName(String name, boolean caseSensitive)
findByName in interface DocumentTypeDAOpublic Integer getMaxVersionNumber(String docTypeName)
getMaxVersionNumber in interface DocumentTypeDAOpublic List<String> getChildDocumentTypeIds(String parentDocumentTypeId)
getChildDocumentTypeIds in interface DocumentTypeDAOprotected DocumentType getMostRecentDocType(String docTypeName)
public void save(DocumentType documentType)
save in interface DocumentTypeDAOpublic List findByDocumentId(String documentId)
findByDocumentId in interface DocumentTypeDAOpublic Collection<DocumentType> find(DocumentType documentType, DocumentType docTypeParent, boolean climbHierarchy)
find in interface DocumentTypeDAOpublic List findAllCurrentRootDocuments()
findAllCurrentRootDocuments in interface DocumentTypeDAOpublic List findAllCurrent()
findAllCurrent in interface DocumentTypeDAOpublic List findAllCurrentByName(String name)
findAllCurrentByName in interface DocumentTypeDAOpublic List<DocumentType> findPreviousInstances(String name)
findPreviousInstances in interface DocumentTypeDAOpublic List findDocumentTypeAttributes(RuleAttribute ruleAttribute)
findDocumentTypeAttributes in interface DocumentTypeDAOpublic String findDocumentTypeIdByDocumentId(String documentId)
findDocumentTypeIdByDocumentId in interface DocumentTypeDAOpublic String findDocumentTypeIdByName(String documentTypeName)
findDocumentTypeIdByName in interface DocumentTypeDAOpublic String findDocumentTypeNameById(String documentTypeId)
findDocumentTypeNameById in interface DocumentTypeDAOCopyright © 2005–2016 The Kuali Foundation. All rights reserved.