@Service @Transactional(propagation=MANDATORY) public class TermAssociationServiceImpl extends java.lang.Object implements TermAssociationService
| Constructor and Description |
|---|
TermAssociationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
createAssociation(com.clusterra.iam.core.application.tenant.TenantId tenantId,
DocumentId documentId,
com.clusterra.pmbok.term.domain.model.term.TermId termId) |
void |
deleteAllAssociations(com.clusterra.iam.core.application.tenant.TenantId tenantId,
DocumentId documentId) |
void |
deleteAssociation(com.clusterra.iam.core.application.tenant.TenantId tenantId,
DocumentId documentId,
com.clusterra.pmbok.term.domain.model.term.TermId termId) |
java.util.List<com.clusterra.pmbok.term.domain.model.term.Term> |
findBy(com.clusterra.iam.core.application.tenant.TenantId tenantId,
DocumentId documentId) |
org.springframework.data.domain.Page<com.clusterra.pmbok.term.domain.model.term.Term> |
findBy(com.clusterra.iam.core.application.tenant.TenantId tenantId,
org.springframework.data.domain.Pageable pageable,
DocumentId documentId,
java.lang.String searchBy) |
public void createAssociation(com.clusterra.iam.core.application.tenant.TenantId tenantId,
DocumentId documentId,
com.clusterra.pmbok.term.domain.model.term.TermId termId)
throws DocumentNotFoundException,
com.clusterra.pmbok.term.domain.service.TermNotFoundException
createAssociation in interface TermAssociationServiceDocumentNotFoundExceptioncom.clusterra.pmbok.term.domain.service.TermNotFoundExceptionpublic void deleteAssociation(com.clusterra.iam.core.application.tenant.TenantId tenantId,
DocumentId documentId,
com.clusterra.pmbok.term.domain.model.term.TermId termId)
throws DocumentNotFoundException,
com.clusterra.pmbok.term.domain.service.TermNotFoundException
deleteAssociation in interface TermAssociationServiceDocumentNotFoundExceptioncom.clusterra.pmbok.term.domain.service.TermNotFoundExceptionpublic void deleteAllAssociations(com.clusterra.iam.core.application.tenant.TenantId tenantId,
DocumentId documentId)
throws DocumentNotFoundException
deleteAllAssociations in interface TermAssociationServiceDocumentNotFoundExceptionpublic org.springframework.data.domain.Page<com.clusterra.pmbok.term.domain.model.term.Term> findBy(com.clusterra.iam.core.application.tenant.TenantId tenantId,
org.springframework.data.domain.Pageable pageable,
DocumentId documentId,
java.lang.String searchBy)
throws DocumentNotFoundException
findBy in interface TermAssociationServiceDocumentNotFoundExceptionpublic java.util.List<com.clusterra.pmbok.term.domain.model.term.Term> findBy(com.clusterra.iam.core.application.tenant.TenantId tenantId,
DocumentId documentId)
throws DocumentNotFoundException
findBy in interface TermAssociationServiceDocumentNotFoundException