import { ClearCustomLabelUC } from "../UC/ClearCustomLabelUC";
export function clearCustomLabel(appObjectID, appObjectRepo) {
    const appObject = appObjectRepo.get(appObjectID);
    if (!appObject) {
        appObjectRepo.submitWarning("ClearCustomLabelController", "App Object not found");
        return;
    }
    const clearCustomLabelUC = ClearCustomLabelUC.get(appObject);
    if (!clearCustomLabelUC) {
        appObjectRepo.submitWarning("ClearCustomLabelController", "ClearCustomLableUC was not added to App Object");
        return;
    }
    clearCustomLabelUC.clearCustomLabel();
}
//# sourceMappingURL=ClearCustomLabel.js.map