Object PublisherRestrictionsRepository.Companion
-
- 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(InternalVendor vendor, PublisherRestriction restriction)Check if the vendor is mandatory in the publisher restriction stored in TC String final UnitapplyRestrictionToVendor(InternalVendor vendor, PublisherRestriction restriction)Apply the publisher restrictions to this vendor's purposes -
-
Method Detail
-
isVendorMandatoryInTCString
final Boolean isVendorMandatoryInTCString(InternalVendor 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(InternalVendor vendor, PublisherRestriction restriction)
Apply the publisher restrictions to this vendor's purposes
- Parameters:
vendor- the vendor to updaterestriction- the publisher restriction to apply
-
-
-
-