-
- All Implemented Interfaces:
public class PublisherRestrictionsRepository.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static PublisherRestrictionsRepository.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final BooleanisVendorMandatoryInTCString(Vendor vendor, PublisherRestriction restriction)Check if the vendor is mandatory in the publisher restriction stored in TC String final UnitapplyRestrictionToVendor(Vendor vendor, PublisherRestriction restriction)Apply the publisher restrictions to this vendor's purposes -
-
Method Detail
-
isVendorMandatoryInTCString
final Boolean isVendorMandatoryInTCString(Vendor vendor, PublisherRestriction restriction)
Check if the vendor is mandatory in the publisher restriction stored in TC String
- Parameters:
vendor- the vendor to checkrestriction- the publisher restriction to check
-
applyRestrictionToVendor
final Unit applyRestrictionToVendor(Vendor vendor, PublisherRestriction restriction)
Apply the publisher restrictions to this vendor's purposes
- Parameters:
vendor- the vendor to updaterestriction- the publisher restriction to apply
-
-
-
-