parameters: (self, document=None)
docstring: XXX Comment to be fixed
docstring_summary: XXX Comment to be fixed
docstring_tokens: XXX Comment to be fixed
function: def applySubscriberValue(self, document=None):
      """
      XXX Comment to be fixed
      """
      solve_conflict = 1
      if not document:
        document = self.getOriginValue()
      else:
        # This means an object was given, this is used in order
        # to see change on a copy, so don't solve conflict
        solve_conflict = False
      subscriber = self.getSubscriber()
      # get the signature:
      gid = subscriber.getGidFromObject(document)
      signature = subscriber.getSignatureFromGid(gid)
      # Import the conduit and get it
      conduit = subscriber.getConduit()
      conduit.updateNode(xml=self.getDiffChunk(), object=document,
                         force=True, signature=signature)
      if solve_conflict:
        signature.delConflict(self)
        if not signature.getConflictList():
          signature.resolveConflictWithMerge()
function_tokens: def applySubscriberValue ( self , document = None ) : solve_conflict = 1 if not document : document = self . getOriginValue ( ) else : # This means an object was given, this is used in order # to see change on a copy, so don't solve conflict solve_conflict = False subscriber = self . getSubscriber ( ) # get the signature: gid = subscriber . getGidFromObject ( document ) signature = subscriber . getSignatureFromGid ( gid ) # Import the conduit and get it conduit = subscriber . getConduit ( ) conduit . updateNode ( xml = self . getDiffChunk ( ) , object = document , force = True , signature = signature ) if solve_conflict : signature . delConflict ( self ) if not signature . getConflictList ( ) : signature . resolveConflictWithMerge ( )