public interface DocumentTypeQueryService extends XmlLoader
| Modifier and Type | Method and Description |
|---|---|
Collection<DocumentType> |
find(DocumentType documentType,
String docGroupName,
boolean climbHierarchy) |
DocumentType |
findByDocumentId(String documentId)
Returns the DocumentType of the Document with the given ID.
|
DocumentType |
findById(String documentTypeId) |
DocumentType |
findByName(String name) |
String |
findParentNameByName(String documentTypeName)
Returns the name fo the parent document type for the document type with the given name, or null
if the specified document type doesn't have a parent document type.
|
DocumentType |
findRootDocumentType(DocumentType docType) |
@Cacheable(value="http://rice.kuali.org/kew/v2_0/DocumentTypeType",
key="\'{BO}\' + \'documentTypeId=\' + #p0")
DocumentType findById(String documentTypeId)
@Cacheable(value="http://rice.kuali.org/kew/v2_0/DocumentTypeType",
key="\'{BO}\' + \'name=\' + #p0")
DocumentType findByName(String name)
@Cacheable(value="http://rice.kuali.org/kew/v2_0/DocumentTypeType",
key="\'{BO}\' + \'documentTypeId=\' + #p0.getId() + \'|\' + \'name=\' + #p0.getName() + \'|\' + \'label=\' + #p0.getLabel() + \'|\' + \'active=\' + #p0.isActive() +\'docGroupName=\' + #p1 + \'|\' + \'climbHierarchy=\' + #p2")
Collection<DocumentType> find(DocumentType documentType,
String docGroupName,
boolean climbHierarchy)
@Cacheable(value="http://rice.kuali.org/kew/v2_0/DocumentTypeType",
key="\'{BO}{root}\' + \'documentTypeId=\' + #p0.getId()")
DocumentType findRootDocumentType(DocumentType docType)
@Cacheable(value="http://rice.kuali.org/kew/v2_0/DocumentTypeType",
key="\'{BO}\' + \'documentId=\' + #p0")
DocumentType findByDocumentId(String documentId)
@Cacheable(value="http://rice.kuali.org/kew/v2_0/DocumentTypeType",
key="\'{BO}\' + \'parentOfName=\' + #p0")
String findParentNameByName(String documentTypeName)
documentTypeName - the name of the document type for which to find the parentCopyright © 2005–2016 The Kuali Foundation. All rights reserved.