@PermitAll public class DocumentDefinitionServiceBean extends Object implements DocumentDefinitionService
Constructor and Description |
---|
DocumentDefinitionServiceBean() |
Modifier and Type | Method and Description |
---|---|
List<Document> |
getAllGenericDocuments()
Returns list of all latest documents of type "GENERIC".
|
DocumentDefinition |
getDocumentDefinition(String documentId)
Returns latest
DocumentDefinition for the provided QID |
DocumentDefinition |
getDocumentDefinition(String documentName,
Module module)
Returns
DocumentDefinition with the specified name defined in a module. |
Module |
getDocumentModule(String documentId)
Returns latest module in which the document is defined.
|
public DocumentDefinition getDocumentDefinition(String documentId) throws DocumentNotFoundException
DocumentDefinitionService
DocumentDefinition
for the provided QIDgetDocumentDefinition
in interface DocumentDefinitionService
DocumentNotFoundException
public DocumentDefinition getDocumentDefinition(String documentName, Module module) throws DocumentNotFoundException
DocumentDefinitionService
DocumentDefinition
with the specified name defined in a module.getDocumentDefinition
in interface DocumentDefinitionService
DocumentNotFoundException
public Module getDocumentModule(String documentId) throws DocumentNotFoundException
DocumentDefinitionService
getDocumentModule
in interface DocumentDefinitionService
DocumentNotFoundException
public List<Document> getAllGenericDocuments()
DocumentDefinitionService
getAllGenericDocuments
in interface DocumentDefinitionService
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.