def METHOD_NAME(self):
    if self.putOnApply:
        if self.node.on != self.node_state.get_active():
            try:
                self.node.on = self.node_state.get_active()
            except Exception:
                if self.node_state.get_active():
                    state = 'on'
                else:
                    state = 'off'
                MDSplusErrorMsg('Error setting node on/off state', 'Error turning node %s %s\n\n%s' % (
                    self.node.minpath, state, sys.exc_info()))
                raise
        if hasattr(self, 'xdbox'):
            try:
                if self.node.compare(self.xdbox.value) != 1:
                    self.node.record = self.xdbox.value
                self.reset()
            except Exception:
                MDSplusErrorMsg('Error storing value', 'Error storing value in to %s\n\n%s' % (
                    self.node.minpath, sys.exc_info()))