public interface DocumentCommandService
| Modifier and Type | Method and Description |
|---|---|
Document |
approve(DocumentId documentId,
java.lang.String message) |
Document |
create(com.clusterra.pmbok.project.domain.model.ProjectVersionId projectVersionId,
TemplateId templateId) |
void |
createAssociation(DocumentId documentId,
com.clusterra.pmbok.reference.domain.model.reference.ReferenceId referenceId) |
void |
createAssociation(DocumentId documentId,
com.clusterra.pmbok.term.domain.model.term.TermId termId) |
void |
deleteAssociation(DocumentId documentId,
com.clusterra.pmbok.reference.domain.model.reference.ReferenceId referenceId) |
void |
deleteAssociation(DocumentId documentId,
com.clusterra.pmbok.term.domain.model.term.TermId termId) |
void |
deleteBy(DocumentId documentId) |
Document |
edit(DocumentId documentId) |
Document |
publish(DocumentId documentId,
java.lang.String message) |
PersistedTextSectionContent |
updateTextSection(DocumentId documentId,
SectionTemplateId sectionTemplateId,
java.lang.String text) |
Document create(com.clusterra.pmbok.project.domain.model.ProjectVersionId projectVersionId, TemplateId templateId) throws com.clusterra.pmbok.project.domain.service.ProjectVersionNotFoundException, DocumentAlreadyExistsException, TemplateNotFoundException, com.clusterra.iam.core.application.tracker.NotAuthenticatedException
com.clusterra.pmbok.project.domain.service.ProjectVersionNotFoundExceptionDocumentAlreadyExistsExceptionTemplateNotFoundExceptioncom.clusterra.iam.core.application.tracker.NotAuthenticatedExceptionvoid deleteBy(DocumentId documentId) throws DocumentNotFoundException
DocumentNotFoundExceptionDocument publish(DocumentId documentId, java.lang.String message) throws DocumentNotFoundException
DocumentNotFoundExceptionDocument approve(DocumentId documentId, java.lang.String message) throws DocumentNotFoundException
DocumentNotFoundExceptionDocument edit(DocumentId documentId) throws DocumentNotFoundException, DocumentNotEditableException
PersistedTextSectionContent updateTextSection(DocumentId documentId, SectionTemplateId sectionTemplateId, java.lang.String text) throws DocumentNotFoundException, SectionTemplateNotFoundException
void createAssociation(DocumentId documentId, com.clusterra.pmbok.reference.domain.model.reference.ReferenceId referenceId) throws com.clusterra.iam.core.application.tracker.NotAuthenticatedException, com.clusterra.pmbok.reference.domain.service.ReferenceNotFoundException, DocumentNotFoundException
com.clusterra.iam.core.application.tracker.NotAuthenticatedExceptioncom.clusterra.pmbok.reference.domain.service.ReferenceNotFoundExceptionDocumentNotFoundExceptionvoid deleteAssociation(DocumentId documentId, com.clusterra.pmbok.reference.domain.model.reference.ReferenceId referenceId) throws com.clusterra.iam.core.application.tracker.NotAuthenticatedException, com.clusterra.pmbok.reference.domain.service.ReferenceNotFoundException, DocumentNotFoundException
com.clusterra.iam.core.application.tracker.NotAuthenticatedExceptioncom.clusterra.pmbok.reference.domain.service.ReferenceNotFoundExceptionDocumentNotFoundExceptionvoid createAssociation(DocumentId documentId, com.clusterra.pmbok.term.domain.model.term.TermId termId) throws com.clusterra.iam.core.application.tracker.NotAuthenticatedException, com.clusterra.pmbok.term.domain.service.TermNotFoundException, DocumentNotFoundException
com.clusterra.iam.core.application.tracker.NotAuthenticatedExceptioncom.clusterra.pmbok.term.domain.service.TermNotFoundExceptionDocumentNotFoundExceptionvoid deleteAssociation(DocumentId documentId, com.clusterra.pmbok.term.domain.model.term.TermId termId) throws com.clusterra.iam.core.application.tracker.NotAuthenticatedException, com.clusterra.pmbok.term.domain.service.TermNotFoundException, DocumentNotFoundException
com.clusterra.iam.core.application.tracker.NotAuthenticatedExceptioncom.clusterra.pmbok.term.domain.service.TermNotFoundExceptionDocumentNotFoundException