public class PrintCockpitUndoTools extends Object
| Constructor and Description |
|---|
PrintCockpitUndoTools() |
| Modifier and Type | Method and Description |
|---|---|
static ItemChangeUndoableOperation |
createUndoForPageToChapterDrop(TypedObject page,
ChapterModel oldChapter,
ChapterModel newChapter)
Created new undoable operation for page drop to another chapter
|
static void |
createUndoForPublicationChapterDrop(Map<PK,Collection<ChapterModel>> origValues,
List<UndoableOperation> operations)
Creates undoable operation implementations for given original values of chapters
|
static Map<PK,Collection<ChapterModel>> |
getChapterDropOriginalValues(Set<TypedObject> drop)
Returns original values for chapter drop.
|
static Map<PK,List<PageModel>> |
getPageDropOriginalValues(Set<TypedObject> drop)
Returns original values for pages drop.
|
public static Map<PK,Collection<ChapterModel>> getChapterDropOriginalValues(Set<TypedObject> drop)
drop - public static Map<PK,List<PageModel>> getPageDropOriginalValues(Set<TypedObject> drop)
drop - public static void createUndoForPublicationChapterDrop(Map<PK,Collection<ChapterModel>> origValues, List<UndoableOperation> operations)
origValues - operations - public static ItemChangeUndoableOperation createUndoForPageToChapterDrop(TypedObject page, ChapterModel oldChapter, ChapterModel newChapter)
page - oldChapter - newChapter - Copyright © 2017 SAP SE. All Rights Reserved.