Package | Description |
---|---|
ee.ria.dhx.server.persistence.entity |
Objects representing database tables that are used by DHX.
|
ee.ria.dhx.server.persistence.repository | |
ee.ria.dhx.server.persistence.service |
Package contains service classes that perform main logic of dhx-adapter-server that is related
to database.
|
Modifier and Type | Method and Description |
---|---|
Organisation |
Organisation.addRepresentee(Organisation organisation)
Adds representee to array.
|
Organisation |
Sender.getOrganisation()
Returns the organisation.
|
Organisation |
Recipient.getOrganisation()
Returns the organisation.
|
Organisation |
Document.getOrganisation()
Returns the organisation.
|
Organisation |
Organisation.getRepresentor()
Returns the representor.
|
Organisation |
Organisation.removeRepresentee(Organisation organisation)
Removes organisation from array.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Organisation> |
Organisation.getRepresentees()
Returns the representees.
|
Modifier and Type | Method and Description |
---|---|
Organisation |
Organisation.addRepresentee(Organisation organisation)
Adds representee to array.
|
Organisation |
Organisation.removeRepresentee(Organisation organisation)
Removes organisation from array.
|
void |
Sender.setOrganisation(Organisation organisation)
Sets the organisation.
|
void |
Recipient.setOrganisation(Organisation organisation)
Sets the organisation.
|
void |
Document.setOrganisation(Organisation organisation)
Sets the organisation.
|
void |
Organisation.setRepresentor(Organisation representor)
Sets the representor.
|
Modifier and Type | Method and Description |
---|---|
void |
Organisation.setRepresentees(java.util.List<Organisation> representees)
Sets the representees.
|
Modifier and Type | Method and Description |
---|---|
Organisation |
OrganisationRepository.findByRegistrationCodeAndSubSystem(java.lang.String registrationCode,
java.lang.String subsystem) |
Organisation |
OrganisationRepository.findByRegistrationCodeAndSubSystemAndRepresentor(java.lang.String registrationCode,
java.lang.String subsystem,
Organisation representor) |
Organisation |
OrganisationRepository.findBySubSystem(java.lang.String subsystem) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Organisation> |
OrganisationRepository.findByIsActiveAndDhxOrganisation(java.lang.Boolean isActive,
java.lang.Boolean dhxOrganisation) |
java.util.List<Organisation> |
OrganisationRepository.findByIsActiveAndOwnRepresentee(java.lang.Boolean isActive,
java.lang.Boolean ownRepresentee) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Document> |
DocumentRepository.findByOutgoingDocumentAndTransportsRecipientsOrganisationAndTransportsRecipientsStatusId(java.lang.Boolean outgoingDocument,
Organisation org,
java.lang.Integer statusId,
org.springframework.data.domain.Pageable pageable) |
java.util.List<Document> |
DocumentRepository.findByOutgoingDocumentAndTransportsRecipientsOrganisationAndTransportsRecipientsStatusIdAndFolder(java.lang.Boolean outgoingDocument,
Organisation org,
java.lang.Integer statusId,
Folder folder,
org.springframework.data.domain.Pageable pageable) |
Organisation |
OrganisationRepository.findByRegistrationCodeAndSubSystemAndRepresentor(java.lang.String registrationCode,
java.lang.String subsystem,
Organisation representor) |
java.util.List<Recipient> |
RecipientRepository.findByTransport_SendersOrganisationAndDhxExternalConsignmentId(Organisation org,
java.lang.String dhxExternalConsignmentId) |
Recipient |
RecipientRepository.findByTransportDokumentDocumentIdAndOrganisation(java.lang.Integer documentId,
Organisation org) |
Recipient |
RecipientRepository.findByTransportDokumentDocumentIdAndTransportDokumentFolderAndOrganisation(java.lang.Integer documentId,
Folder folder,
Organisation org) |
Modifier and Type | Method and Description |
---|---|
Organisation |
PersistenceService.findOrg(java.lang.String capsuleOrganisationId)
Finds persisted organisation using organisation code from capsule.
|
Organisation |
PersistenceService.getOrganisationFromInternalXroadMember(ee.ria.dhx.types.InternalXroadMember member)
Method finds or creates new Organisation object according to data from InternalXroadMember.
|
Organisation |
PersistenceService.getOrganisationFromInternalXroadMember(ee.ria.dhx.types.InternalXroadMember member,
java.lang.Boolean representorOnly)
Method finds or creates new Organisation object according to data from InternalXroadMember.
|
Organisation |
PersistenceService.getOrganisationFromInternalXroadMemberAndSave(ee.ria.dhx.types.InternalXroadMember member,
java.lang.Boolean representorOnly,
java.lang.Boolean dhxOrganisation)
Method finds or creates new Organisation object according to data from InternalXroadMember.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Organisation> |
PersistenceService.getAdresseeList()
Method returns list of all addressees.
|
Modifier and Type | Method and Description |
---|---|
void |
CapsuleService.formatCapsuleRecipientAndSender(java.lang.Object containerObject,
Organisation sender,
Organisation recipient,
java.lang.Boolean outgoingContainer)
Sometimes DHX addressee(incoming document) and DVK addresse(outgoing document might be
different.
|