Class OriginSetterGovernanceActionConnector

All Implemented Interfaces:
AuditLoggingComponent, SecureConnectorExtension, VirtualConnectorExtension, GovernanceActionService

public class OriginSetterGovernanceActionConnector extends GeneralGovernanceActionService
OriginSetterGovernanceActionConnector sets the DigitalResourceOrigin classification on the elements supplied as action targets. The organization, organizationPropertyName, businessCapability and businessCapabilityPropertyName come from the configuration properties of the connector's connection and/or the request parameters. A value in the request parameters overrides the value of the same name in the configuration properties. Any existing DigitalResourceOrigin classification on an action target is replaced. The DigitalResourceOrigin classification can only be attached to Referenceables, so any other action target is skipped. If at least one action target is classified, the output guard is origin-assigned. If none of the action targets is a Referenceable, the output guard is invalid-action-target-type. If neither an organization nor a business capability is supplied, the output guard is missing-origin and no action target is changed. If no action targets are passed the output guard is no-targets-detected.