@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
DocumentDefinitionServiceDocumentDefinition for the provided QIDgetDocumentDefinition in interface DocumentDefinitionServiceDocumentNotFoundExceptionpublic DocumentDefinition getDocumentDefinition(String documentName, Module module) throws DocumentNotFoundException
DocumentDefinitionServiceDocumentDefinition with the specified name defined in a module.getDocumentDefinition in interface DocumentDefinitionServiceDocumentNotFoundExceptionpublic Module getDocumentModule(String documentId) throws DocumentNotFoundException
DocumentDefinitionServicegetDocumentModule in interface DocumentDefinitionServiceDocumentNotFoundExceptionpublic List<Document> getAllGenericDocuments()
DocumentDefinitionServicegetAllGenericDocuments in interface DocumentDefinitionServiceCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.