public final class UndoHelper
extends java.lang.Object
| Constructor and Description |
|---|
UndoHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createUndoSession(ConfigServiceImpl configService, java.lang.String id, java.lang.String session)
Creates a session with the given task applied to it
|
static java.lang.String |
getTempUndoSessionPrefix() |
static void |
undo(ConfigServiceImpl configService, java.lang.String id, java.lang.String session)
Undoes the given task
|
public static void undo(ConfigServiceImpl configService, java.lang.String id, java.lang.String session) throws java.lang.Exception
configService - the config service instanceid - the id of the task to undosession - the session that contains the given task. null if task is deployed sessionjava.lang.Exception - if error occurs preventing undo completing successfullypublic static void createUndoSession(ConfigServiceImpl configService, java.lang.String id, java.lang.String session) throws java.lang.Exception
configService - the config service instanceid - the id of the task to create the session withsession - the session to createjava.lang.Exception - if error occurs creating the sessionpublic static java.lang.String getTempUndoSessionPrefix()