Class DeleteFormAttributeTask

    • Constructor Detail

      • DeleteFormAttributeTask

        public DeleteFormAttributeTask​(FormAttributeManagementService managementService,
                                       IProjectFileSystemSupport projectFileSystemSupport,
                                       AbstractFormAttribute attribute,
                                       boolean removeItems)
        Creates a new task.
        managementService - the management service, cannot be null
        projectFileSystemSupport - the IProjectFileSystemSupport instance, cannot be null.
        attribute - the attribute being deleted, cannot be null.
        removeItems - the flag indicating whether dependent objects should be deleted or not. If it is true all related items will be removed, if it is false the references to the attribute will be cleared.
    • Method Detail

      • execute

        protected void execute​(IBmTransaction transaction,
                               AbstractFormAttribute attribute)
        Description copied from class: com._1c.g5.v8.dt.internal.form.service.task.AbstractFormAttributeTask
        Performs the BM task logic related to attribute manipulation.
        Specified by:
        execute in class com._1c.g5.v8.dt.internal.form.service.task.AbstractFormAttributeTask
        transaction - the BM transaction, cannot be null.
        attribute - the attribute to manipulate, cannot be null.