/// <summary> /// This method is invoked after a Region Root Page was cloned into another Region Root Page, with lingual maps established between the two Regions. /// </summary> /// <param name="sourcePage">The Page that was copied</param> /// <param name="newPage">The new Region Root Page created, that was the clone of the source Page</param> /// <param name="targetPage">The target reference location Page</param> /// <param name="relation">The position relative to the target reference Page</param> /// <param name="session">The session that must be used to perform tasks on additional objects</param> /// <param name="targetLocale">The region code of the target Region Root's language</param> /// <remarks>When this action is invoked, none of the object involved were saved to Content Store yet.</remarks> public void OnAfterRegionRootCopy(IPage sourcePage, IPage newPage, IPage targetPage, EnumCopyActions relation, string targetLocale, IUserWriteSession session) { }
/// <summary> /// This method is invoked after a Page gets copied via special command. On CMS UI, the Paste Special command is executed via drag and drop with "Alt" key instead "Ctrl" key pressed. /// The "Paster Special" command at the core is just a copy command, which this hook method invoked. /// </summary> /// <param name="sourcePage">The Page that was copied</param> /// <param name="newPage">The new Page created, that was the clone of the source Page</param> /// <param name="targetPage">The target reference location Page</param> /// <param name="relation">The position relative to the target reference Page</param> /// <param name="session">The session that must be used to perform tasks on additional objects</param> /// <remarks>When this action is invoked, none of the object involved were saved to Content Store yet.</remarks> public void OnAfterPasteSpecial(IPage sourcePage, IPage newPage, IPage targetPage, EnumCopyActions relation, IUserWriteSession session) { }
/// <summary> /// This method is invoked before a non-Region-Root Page gets copied to under another Region Root. /// </summary> /// <param name="sourcePage">The Page that was copied</param> /// <param name="newPage">The new Page created, that was the clone of the source Page</param> /// <param name="targetPage">The target reference location Page</param> /// <param name="relation">The position relative to the target reference Page</param> /// <param name="session">The session that must be used to perform tasks on additional objects</param> /// <remarks>When this action is invoked, none of the object involved were saved to Content Store yet.</remarks> public void OnAfterCrossLocaleCopy(IPage sourcePage, IPage newPage, IPage targetPage, EnumCopyActions relation, IUserWriteSession session) { }
/// <summary> /// This method is invoked before a Page gets copied /// </summary> /// <param name="sourcePage">The Page to be copied</param> /// <param name="targetPage">The target reference location Page</param> /// <param name="relation">The position relative to the target reference Page</param> /// <param name="session">The session that must be used to perform tasks on additional objects</param> /// <remarks>When this action is invoked, none of the object involved were saved to Content Store yet.</remarks> public void OnBeforeCopy(IPage sourcePage, IPage targetPage, EnumCopyActions relation, IUserWriteSession session) { }
/// <summary> /// This method is invoked after a Page moved to another location /// </summary> /// <param name="sourcePage">The Page that was moved</param> /// <param name="targetPage">The target reference location Page</param> /// <param name="relation">The position relative to the target reference Page</param> /// <param name="session">The session that must be used to perform tasks on additional objects</param> /// <remarks>When this action is invoked, none of the object involved were saved to Content Store yet.</remarks> public void OnAfterMove(IPage sourcePage, IPage targetPage, EnumCopyActions relation, IUserWriteSession session) { }
/// <summary> /// This method is invoked after a Region Root Page was cloned into another Region Root Page, with lingual maps established between the two Regions. /// </summary> /// <param name="sourcePage">The Page that was copied</param> /// <param name="newPage">The new Region Root Page created, that was the clone of the source Page</param> /// <param name="targetPage">The target reference location Page</param> /// <param name="relation">The position relative to the target reference Page</param> /// <param name="session">The session that must be used to perform tasks on additional objects</param> /// <param name="targetLocale">The region code of the target Region Root's language</param> /// <remarks>When this action is invoked, none of the object involved were saved to Content Store yet.</remarks> public void OnAfterRegionRootCopy(IPage sourcePage, IPage newPage, IPage targetPage, EnumCopyActions relation, string targetLocale, IUserWriteSession session) { }
/// <summary> /// This method is invoked before a non-Region-Root Page gets copied to under another Region Root. /// </summary> /// <param name="sourcePage">The Page that was copied</param> /// <param name="newPage">The new Page created, that was the clone of the source Page</param> /// <param name="targetPage">The target reference location Page</param> /// <param name="relation">The position relative to the target reference Page</param> /// <param name="session">The session that must be used to perform tasks on additional objects</param> /// <remarks>When this action is invoked, none of the object involved were saved to Content Store yet.</remarks> public void OnAfterCrossLocaleCopy(IPage sourcePage, IPage newPage, IPage targetPage, EnumCopyActions relation, IUserWriteSession session) { }
/// <summary> /// This method is invoked after a Page gets copied via special command. On CMS UI, the Paste Special command is executed via drag and drop with "Alt" key instead "Ctrl" key pressed. /// The "Paster Special" command at the core is just a copy command, which this hook method invoked. /// </summary> /// <param name="sourcePage">The Page that was copied</param> /// <param name="newPage">The new Page created, that was the clone of the source Page</param> /// <param name="targetPage">The target reference location Page</param> /// <param name="relation">The position relative to the target reference Page</param> /// <param name="session">The session that must be used to perform tasks on additional objects</param> /// <remarks>When this action is invoked, none of the object involved were saved to Content Store yet.</remarks> public void OnAfterPasteSpecial(IPage sourcePage, IPage newPage, IPage targetPage, EnumCopyActions relation, IUserWriteSession session) { }
/// <summary> /// This method is invoked after a Page moved to another location /// </summary> /// <param name="sourcePage">The Page that was moved</param> /// <param name="targetPage">The target reference location Page</param> /// <param name="relation">The position relative to the target reference Page</param> /// <param name="session">The session that must be used to perform tasks on additional objects</param> /// <remarks>When this action is invoked, none of the object involved were saved to Content Store yet.</remarks> public void OnAfterMove(IPage sourcePage, IPage targetPage, EnumCopyActions relation, IUserWriteSession session) { }
/// <summary> /// This method is invoked before a Page gets copied /// </summary> /// <param name="sourcePage">The Page to be copied</param> /// <param name="targetPage">The target reference location Page</param> /// <param name="relation">The position relative to the target reference Page</param> /// <param name="session">The session that must be used to perform tasks on additional objects</param> /// <remarks>When this action is invoked, none of the object involved were saved to Content Store yet.</remarks> public void OnBeforeCopy(IPage sourcePage, IPage targetPage, EnumCopyActions relation, IUserWriteSession session) { }