Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1)

E12063-03


oracle.adf.view.faces.bi.component.gantt
Class UndoableEdit

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.gantt.UndoableEdit

All Implemented Interfaces:
java.io.Serializable

public class UndoableEdit
extends java.lang.Object
implements java.io.Serializable

An UndoableEdit contains information on how to undo and redo an action. When an undoable action is performed on the Gantt, an UndoableEdit is created and registered with the UndoManager. When a user press the undo or redo button in the toolbar or menu bar, the UndoManager is responsible for handling the undo/redo action based on the information contained in the UndoableEdit. Only application that register their own implementation of UndoManager would need to know about this class.

See Also:
Serialized Form

Field Summary
static int ALL_COLUMNS
           
static int COLUMNS
           
static int DURATION_CHANGED
           
static int INDENT
           
static int LEGEND
           
static int LINK
           
static int OUTDENT
           
static int PROGRESS_CHANGED
           
static int TASK_MERGED
           
static int TASK_SPLITTED
           
static int TIME_CHANGED
           
static int UNLINK
           
static int ZOOM
           
static int ZOOM_TO_FIT
           
static int ZOOMIN
           
static int ZOOMOUT
           

 

Constructor Summary
UndoableEdit(int action)
          Constructor for an instance of UndoableEdit.
UndoableEdit(int action, java.util.List<java.lang.String> taskIds, java.util.Date splitTime, java.util.Date splitStartTime, java.util.Date splitEndTime, org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
          Constructor for an instance of UndoableEdit.
UndoableEdit(int action, java.util.List<java.lang.String> taskIds, java.util.Date oldTime, java.util.Date newTime, int oldPercent, int newPercent, org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
          Constructor for an instance of UndoableEdit.
UndoableEdit(int action, java.util.List<java.lang.String> taskIds, java.util.Date oldTime, java.util.Date newTime, org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
          Constructor for an instance of UndoableEdit.
UndoableEdit(int action, java.util.List<java.lang.String> taskIds, java.util.Date oldTime, java.util.Date newTime, java.lang.String fromResourceId, java.lang.String toResourceId, org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
          Constructor for an instance of UndoableEdit.
UndoableEdit(int action, java.util.List<java.lang.String> taskIds, org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
          Constructor for an instance of UndoableEdit.
UndoableEdit(int action, java.util.List<java.lang.String> taskIds, java.lang.String mergeFromId, java.lang.String mergeToId, java.util.Date splitTime, java.util.Date oldStartTime, java.util.Date newStartTime, org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
          Constructor for an instance of UndoableEdit.
UndoableEdit(int action, java.util.List<java.lang.String> taskIds, java.lang.String splitId, java.lang.String recurringId, java.util.Date oldTime, java.util.Date newTime, org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
          Constructor for an instance of UndoableEdit.
UndoableEdit(int action, java.lang.String columnId)
          Constructor for an instance of UndoableEdit.
UndoableEdit(int action, java.lang.String oldMajorScale, java.lang.String oldMinorScale, java.lang.String newMajorScale, java.lang.String newMinorScale)
          Constructor for an instance of UndoableEdit.

 

Method Summary
 void die()
          Release any resources held by this UndoableEdit.
 int getAction()
          Retrieves the type of action for the undoable action.
 java.lang.String getColumnId()
           
 java.util.List<java.lang.String> getColumnIds()
           
 java.lang.String getFromResourceId()
           
 java.lang.String getMergeFromId()
           
 java.lang.String getMergeToId()
           
 java.lang.String getNewMajorScale()
           
 java.lang.String getNewMinorScale()
           
 int getNewPercentComplete()
           
 java.util.Date getNewStartTime()
           
 java.util.Date getNewTime()
           
 java.lang.String getNewZoomToFit()
           
 java.lang.String getOldMajorScale()
           
 java.lang.String getOldMinorScale()
           
 int getOldPercentComplete()
           
 java.util.Date getOldTime()
           
 java.lang.String getOldZoomToFit()
           
 java.lang.String getRecurringId()
           
 org.apache.myfaces.trinidad.model.RowKeySet getRowKeys()
           
 java.util.Date getSplitEndTime()
           
 java.lang.String getSplitId()
           
 java.util.Date getSplitStartTime()
           
 java.util.Date getSplitTime()
           
 java.util.List<java.lang.String> getTaskIds()
           
 java.lang.String getToResourceId()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

TIME_CHANGED

public static final int TIME_CHANGED
See Also:
Constant Field Values

DURATION_CHANGED

public static final int DURATION_CHANGED
See Also:
Constant Field Values

TASK_SPLITTED

public static final int TASK_SPLITTED
See Also:
Constant Field Values

TASK_MERGED

public static final int TASK_MERGED
See Also:
Constant Field Values

LEGEND

public static final int LEGEND
See Also:
Constant Field Values

INDENT

public static final int INDENT
See Also:
Constant Field Values

OUTDENT

public static final int OUTDENT
See Also:
Constant Field Values

COLUMNS

public static final int COLUMNS
See Also:
Constant Field Values

ALL_COLUMNS

public static final int ALL_COLUMNS
See Also:
Constant Field Values

LINK

public static final int LINK
See Also:
Constant Field Values

UNLINK

public static final int UNLINK
See Also:
Constant Field Values

ZOOMIN

public static final int ZOOMIN
See Also:
Constant Field Values

ZOOMOUT

public static final int ZOOMOUT
See Also:
Constant Field Values

ZOOM

public static final int ZOOM
See Also:
Constant Field Values

ZOOM_TO_FIT

public static final int ZOOM_TO_FIT
See Also:
Constant Field Values

PROGRESS_CHANGED

public static final int PROGRESS_CHANGED
See Also:
Constant Field Values

Constructor Detail

UndoableEdit

public UndoableEdit(int action)
Constructor for an instance of UndoableEdit. Application should never need to create an UndoableEdit.

UndoableEdit

public UndoableEdit(int action,
                    java.lang.String columnId)
Constructor for an instance of UndoableEdit. Application should never need to create an UndoableEdit.

UndoableEdit

public UndoableEdit(int action,
                    java.util.List<java.lang.String> taskIds,
                    org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
Constructor for an instance of UndoableEdit. Application should never need to create an UndoableEdit.

UndoableEdit

public UndoableEdit(int action,
                    java.util.List<java.lang.String> taskIds,
                    java.util.Date oldTime,
                    java.util.Date newTime,
                    org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
Constructor for an instance of UndoableEdit. Application should never need to create an UndoableEdit.

UndoableEdit

public UndoableEdit(int action,
                    java.util.List<java.lang.String> taskIds,
                    java.lang.String splitId,
                    java.lang.String recurringId,
                    java.util.Date oldTime,
                    java.util.Date newTime,
                    org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
Constructor for an instance of UndoableEdit. Application should never need to create an UndoableEdit.

UndoableEdit

public UndoableEdit(int action,
                    java.util.List<java.lang.String> taskIds,
                    java.util.Date oldTime,
                    java.util.Date newTime,
                    java.lang.String fromResourceId,
                    java.lang.String toResourceId,
                    org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
Constructor for an instance of UndoableEdit. Application should never need to create an UndoableEdit.

UndoableEdit

public UndoableEdit(int action,
                    java.util.List<java.lang.String> taskIds,
                    java.util.Date splitTime,
                    java.util.Date splitStartTime,
                    java.util.Date splitEndTime,
                    org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
Constructor for an instance of UndoableEdit. Application should never need to create an UndoableEdit.

UndoableEdit

public UndoableEdit(int action,
                    java.util.List<java.lang.String> taskIds,
                    java.lang.String mergeFromId,
                    java.lang.String mergeToId,
                    java.util.Date splitTime,
                    java.util.Date oldStartTime,
                    java.util.Date newStartTime,
                    org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
Constructor for an instance of UndoableEdit. Application should never need to create an UndoableEdit.

UndoableEdit

public UndoableEdit(int action,
                    java.lang.String oldMajorScale,
                    java.lang.String oldMinorScale,
                    java.lang.String newMajorScale,
                    java.lang.String newMinorScale)
Constructor for an instance of UndoableEdit. Application should never need to create an UndoableEdit.

UndoableEdit

public UndoableEdit(int action,
                    java.util.List<java.lang.String> taskIds,
                    java.util.Date oldTime,
                    java.util.Date newTime,
                    int oldPercent,
                    int newPercent,
                    org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
Constructor for an instance of UndoableEdit. Application should never need to create an UndoableEdit.

Method Detail

getAction

public int getAction()
Retrieves the type of action for the undoable action.
Returns:
the type of action for this UndoableEdit.

getTaskIds

public java.util.List<java.lang.String> getTaskIds()
For internal use only. Application developers should not use this

getSplitId

public java.lang.String getSplitId()
For internal use only. Application developers should not use this

getRecurringId

public java.lang.String getRecurringId()
For internal use only. Application developers should not use this

getColumnId

public java.lang.String getColumnId()
For internal use only. Application developers should not use this

getColumnIds

public java.util.List<java.lang.String> getColumnIds()
For internal use only. Application developers should not use this

getOldTime

public java.util.Date getOldTime()
For internal use only. Application developers should not use this

getNewTime

public java.util.Date getNewTime()
For internal use only. Application developers should not use this

getNewMajorScale

public java.lang.String getNewMajorScale()
For internal use only. Application developers should not use this

getNewMinorScale

public java.lang.String getNewMinorScale()
For internal use only. Application developers should not use this

getOldMajorScale

public java.lang.String getOldMajorScale()
For internal use only. Application developers should not use this

getOldMinorScale

public java.lang.String getOldMinorScale()
For internal use only. Application developers should not use this

getSplitTime

public java.util.Date getSplitTime()
For internal use only. Application developers should not use this

getSplitStartTime

public java.util.Date getSplitStartTime()
For internal use only. Application developers should not use this

getSplitEndTime

public java.util.Date getSplitEndTime()
For internal use only. Application developers should not use this

getNewStartTime

public java.util.Date getNewStartTime()
For internal use only. Application developers should not use this

getMergeFromId

public java.lang.String getMergeFromId()
For internal use only. Application developers should not use this

getMergeToId

public java.lang.String getMergeToId()
For internal use only. Application developers should not use this

getFromResourceId

public java.lang.String getFromResourceId()
For internal use only. Application developers should not use this

getToResourceId

public java.lang.String getToResourceId()
For internal use only. Application developers should not use this

getOldZoomToFit

public java.lang.String getOldZoomToFit()
For internal use only. Application developers should not use this

getNewZoomToFit

public java.lang.String getNewZoomToFit()
For internal use only. Application developers should not use this

getRowKeys

public org.apache.myfaces.trinidad.model.RowKeySet getRowKeys()

getOldPercentComplete

public int getOldPercentComplete()
For internal use only. Application developers should not use this

getNewPercentComplete

public int getNewPercentComplete()
For internal use only. Application developers should not use this

die

public void die()
Release any resources held by this UndoableEdit.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1)

E12063-03


Copyright © 1997, 2009, Oracle. All rights reserved.