import { SetCustomLabelUC } from "../UC/SetCustomLabelUC";
export function setCustomLabel(customLabel, appObjectID, appObjectRepo) {
    const appObject = appObjectRepo.get(appObjectID);
    if (!appObject) {
        appObjectRepo.submitWarning("SetCustomLabelController", "App Object not found");
        return;
    }
    const setCustomLabelUC = SetCustomLabelUC.get(appObject);
    if (!setCustomLabelUC) {
        appObjectRepo.submitWarning("SetCustomLabelController", "SetCustomLabelUC was not added to App Object");
        return;
    }
    setCustomLabelUC.setCustomLabel(customLabel);
}
//# sourceMappingURL=SetCustomLabel.js.map