Пример #1
0
 def _copy_folder():
     opts = MoveCopyOptions(
         keep_both=keep_both,
         reset_author_and_created_on_copy=reset_author_and_created)
     MoveCopyUtil.copy_folder_by_path(self.context,
                                      str(self.server_relative_path),
                                      new_relative_path, opts)
 def _copy_folder():
     opts = MoveCopyOptions(
         keep_both=keep_both,
         reset_author_and_created_on_copy=reset_author_and_created)
     MoveCopyUtil.copy_folder(self.context,
                              _build_full_url(self.serverRelativeUrl),
                              _build_full_url(new_relative_url), opts)
Пример #3
0
 def _move_folder():
     MoveCopyUtil.move_folder_by_path(
         self.context,
         self._build_full_url(self.server_relative_path.DecodedUrl),
         self._build_full_url(new_relative_path),
         MoveCopyOptions(retain_editor_and_modified_on_move=
                         retain_editor_and_modified))
Пример #4
0
 def _copy_folder():
     opts = MoveCopyOptions(
         keep_both=keep_both,
         reset_author_and_created_on_copy=reset_author_and_created)
     MoveCopyUtil.copy_folder_by_path(
         self.context,
         self._build_full_url(self.server_relative_path.DecodedUrl),
         self._build_full_url(new_relative_path), opts)
Пример #5
0
 def _move_folder():
     opt = MoveCopyOptions(
         retain_editor_and_modified_on_move=retain_editor_and_modified)
     MoveCopyUtil.move_folder(self.context, self.serverRelativeUrl,
                              new_relative_url, opt)
Пример #6
0
 def _move_folder():
     opt = MoveCopyOptions(
         retain_editor_and_modified_on_move=retain_editor_and_modified)
     MoveCopyUtil.move_folder_by_path(
         self.context, self.server_relative_path.DecodedUrl,
         new_relative_path, opt)
 def _move_folder():
     MoveCopyUtil.move_folder(
         self.context, _build_full_url(self.serverRelativeUrl),
         _build_full_url(new_relative_url),
         MoveCopyOptions(retain_editor_and_modified_on_move=
                         retain_editor_and_modified))