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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract DocRefIdUsageResultgetDocRefIdUsage(String docRefId, String receivingCountry, Entity entity) Gets the doc ref id usage for a specific entity type.getUserDocRefIdsForRcasp(String rcaspDocRefId, boolean includeDeleted) Gets user doc ref ids for rcasp.abstract booleanisDocRefIdUnique(String docRefId) Is doc ref id unique boolean.abstract booleanisMessageRefIdUnique(String messageRefId) Is message ref id unique boolean.
-
Constructor Details
-
AbstractDocSpecValidationService
public AbstractDocSpecValidationService()
-
-
Method Details
-
getGlobalPropertyKey
- Specified by:
getGlobalPropertyKeyin interfaceeu.europa.ec.taxud.validation.rules.services.IServiceInject
-
isMessageRefIdUnique
Is message ref id unique boolean.- Parameters:
messageRefId- the message ref id- Returns:
- the boolean
-
isDocRefIdUnique
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 idreceivingCountry- the receiving countryentity- the entity- Returns:
- the doc ref id usage
-
getUserDocRefIdsForRcasp
Gets user doc ref ids for rcasp.- Parameters:
rcaspDocRefId- the rcasp doc ref idincludeDeleted- the include deleted- Returns:
- the current users for rcasp
-