Class AbstractDocSpecValidationService

java.lang.Object
eu.europa.ec.taxud.dac8.vm.rules.services.AbstractDocSpecValidationService
All Implemented Interfaces:
eu.europa.ec.taxud.validation.rules.services.IServiceInject

public abstract class AbstractDocSpecValidationService extends Object implements eu.europa.ec.taxud.validation.rules.services.IServiceInject
The type Abstract uniqueness service.
  • Constructor Details

    • AbstractDocSpecValidationService

      public AbstractDocSpecValidationService()
  • Method Details

    • getGlobalPropertyKey

      public String getGlobalPropertyKey()
      Specified by:
      getGlobalPropertyKey in interface eu.europa.ec.taxud.validation.rules.services.IServiceInject
    • isMessageRefIdUnique

      public abstract boolean isMessageRefIdUnique(String messageRefId)
      Is message ref id unique boolean.
      Parameters:
      messageRefId - the message ref id
      Returns:
      the boolean
    • isDocRefIdUnique

      public abstract boolean isDocRefIdUnique(String docRefId)
      Is doc ref id unique boolean.
      Parameters:
      docRefId - the doc ref id
      Returns:
      the boolean
    • getDocRefIdUsage

      public abstract DocRefIdUsageResult getDocRefIdUsage(String docRefId, String receivingCountry, Entity entity)
      Gets the doc ref id usage for a specific entity type.
      Parameters:
      docRefId - the corr doc ref id
      receivingCountry - the receiving country
      entity - the entity
      Returns:
      the doc ref id usage
    • getUserDocRefIdsForRcasp

      public abstract Set<String> getUserDocRefIdsForRcasp(String rcaspDocRefId, boolean includeDeleted)
      Gets user doc ref ids for rcasp.
      Parameters:
      rcaspDocRefId - the rcasp doc ref id
      includeDeleted - the include deleted
      Returns:
      the current users for rcasp