public class PublicationTreeNavigatorUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MIXED_TYPE |
| Constructor and Description |
|---|
PublicationTreeNavigatorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cloneChaptersSet(Set<TypedObject> drop,
PublicationModel targetModel)
Replaces chapters in the given set with copies
|
static void |
clonePagesSet(Set<TypedObject> drop,
ChapterModel targetmodel)
Replaces pages in the given set with copies
|
static void |
dropChapters(DropEvent dropEvent,
PublicationTreeNavigatorRenderer renderer)
Performs chapter(s) drop.
|
static void |
dropChapters(Set<TypedObject> drop,
TypedObject targetData,
PublicationTreeNavigatorRenderer renderer,
int dropEventKeys)
Performs chapter(s) drop.
|
static void |
dropPages(DropEvent dropEvent,
PublicationTreeNavigatorRenderer renderer)
Performs page(s) drop.
|
static void |
dropPages(Set<TypedObject> drop,
TypedObject targetData,
PublicationTreeNavigatorRenderer renderer,
int dropEventKeys)
Performs page(s) drop.
|
static String |
getClipboardCollectionType(ObjectCollection clipboard)
Returns type of the given collection items, or MIXED if there are objects of different types
|
static TypedObject |
getPublicationCopy(TypedObject publication)
Deprecated.
|
static void |
placeNewChapter(TypedObject targetData,
PublicationTreeNavigatorRenderer renderer,
int dropEventKeys)
Performs chapter(s) creation
|
public static final String MIXED_TYPE
public static void dropChapters(DropEvent dropEvent,
PublicationTreeNavigatorRenderer renderer)
throws JaloInvalidParameterException,
JaloSecurityException,
JaloBusinessException,
SuspendNotAllowedException,
InterruptedException
dropEvent - renderer - JaloInvalidParameterExceptionJaloSecurityExceptionJaloBusinessExceptionSuspendNotAllowedExceptionInterruptedExceptionpublic static void dropChapters(Set<TypedObject> drop, TypedObject targetData, PublicationTreeNavigatorRenderer renderer, int dropEventKeys) throws JaloInvalidParameterException, JaloSecurityException, JaloBusinessException, SuspendNotAllowedException, InterruptedException
drop - targetData - renderer - dropEventKeys - JaloInvalidParameterExceptionJaloSecurityExceptionJaloBusinessExceptionSuspendNotAllowedExceptionInterruptedExceptionpublic static void placeNewChapter(TypedObject targetData, PublicationTreeNavigatorRenderer renderer, int dropEventKeys) throws JaloInvalidParameterException, JaloSecurityException, JaloBusinessException, SuspendNotAllowedException, InterruptedException
targetData - renderer - dropEventKeys - JaloInvalidParameterExceptionJaloSecurityExceptionJaloBusinessExceptionSuspendNotAllowedExceptionInterruptedExceptionpublic static void dropPages(DropEvent dropEvent,
PublicationTreeNavigatorRenderer renderer)
throws InterruptedException
dropEvent - renderer - InterruptedExceptionpublic static void dropPages(Set<TypedObject> drop, TypedObject targetData, PublicationTreeNavigatorRenderer renderer, int dropEventKeys) throws InterruptedException
drop - targetData - renderer - dropEventKeys - InterruptedExceptionpublic static void clonePagesSet(Set<TypedObject> drop, ChapterModel targetmodel)
drop - targetmodel - public static void cloneChaptersSet(Set<TypedObject> drop, PublicationModel targetModel)
drop - targetModel - @Deprecated public static TypedObject getPublicationCopy(TypedObject publication)
publication - public static String getClipboardCollectionType(ObjectCollection clipboard)
clipboard - examined collectionCopyright © 2017 SAP SE. All Rights Reserved.