public interface DocumentTypeDAO
| Modifier and Type | Method and Description |
|---|---|
Collection<DocumentType> |
find(DocumentType documentType,
DocumentType docTypeParentName,
boolean climbHierarchy)
Find Document Types by document type and parent name
|
List |
findAllCurrent()
Find all current document types
|
List |
findAllCurrentByName(String name)
Find all current with name
|
DocumentType |
findByName(String name)
Find Document Type by name (case sensitive by default)
|
DocumentType |
findByName(String name,
boolean caseSensitive)
Find Document Type by name
|
DocumentType |
findDocumentTypeByDocumentId(String documentId)
Find Document Type by document id
|
String |
findDocumentTypeIdByName(String documentTypeName)
Find document type id by name
|
String |
findDocumentTypeNameById(String documentTypeId)
Find Document type name by id
|
String |
findParentNameByName(String documentTypeName) |
List<String> |
getChildDocumentTypeIds(String parentDocumentTypeId)
Get Child Document Type ids by parent id
|
Integer |
getMaxVersionNumber(String docTypeName)
Get Max version number of document type
|
void |
incrementOptimisticLock(String documentTypeId)
Increments the optimstic locking version number for the document type with the given id.
|
DocumentType findByName(String name)
name - DocumentType findByName(String name, boolean caseSensitive)
name - caseSensitive - Collection<DocumentType> find(DocumentType documentType, DocumentType docTypeParentName, boolean climbHierarchy)
documentType - docTypeParentName - climbHierarchy - Integer getMaxVersionNumber(String docTypeName)
docTypeName - List findAllCurrent()
List findAllCurrentByName(String name)
name - List<String> getChildDocumentTypeIds(String parentDocumentTypeId)
parentDocumentTypeId - String findDocumentTypeIdByName(String documentTypeName)
documentTypeName - String findDocumentTypeNameById(String documentTypeId)
documentTypeId - DocumentType findDocumentTypeByDocumentId(String documentId)
documentId - void incrementOptimisticLock(String documentTypeId)
documentTypeId - the id of the document type for which to increment the version numberString findParentNameByName(String documentTypeName)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.