org.olat.repository.controllers
Class EntryChangedEvent

java.lang.Object
  extended by org.olat.core.gui.control.Event
      extended by org.olat.core.util.event.MultiUserEvent
          extended by org.olat.repository.controllers.EntryChangedEvent
All Implemented Interfaces:
java.io.Serializable

public class EntryChangedEvent
extends MultiUserEvent

Initial Date: May 27, 2004

Author:
Mike Stock
See Also:
Serialized Form

Field Summary
static int ADDED
          Entry added status.
static int DELETED
          Entry deleted status.
static int MODIFIED
          Entry modified status.
static int MODIFIED_AT_PUBLISH
           
static int MODIFIED_DESCRIPTION
          Entry description modified status.
 
Fields inherited from class org.olat.core.gui.control.Event
BACK_EVENT, CANCELLED_EVENT, CHANGED_EVENT, DONE_EVENT, FAILED_EVENT
 
Constructor Summary
EntryChangedEvent(RepositoryEntry changedEntry, int change)
          Event signaling the change of a repository entry.
 
Method Summary
 int getChange()
          Get the type of change.
 java.lang.Long getChangedEntryKey()
           
 
Methods inherited from class org.olat.core.util.event.MultiUserEvent
hashCode, isEventOnThisNode, toString
 
Methods inherited from class org.olat.core.gui.control.Event
getCommand
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MODIFIED

public static final int MODIFIED
Entry modified status.

See Also:
Constant Field Values

ADDED

public static final int ADDED
Entry added status.

See Also:
Constant Field Values

DELETED

public static final int DELETED
Entry deleted status.

See Also:
Constant Field Values

MODIFIED_DESCRIPTION

public static final int MODIFIED_DESCRIPTION
Entry description modified status.

See Also:
Constant Field Values

MODIFIED_AT_PUBLISH

public static final int MODIFIED_AT_PUBLISH
See Also:
Constant Field Values
Constructor Detail

EntryChangedEvent

public EntryChangedEvent(RepositoryEntry changedEntry,
                         int change)
Event signaling the change of a repository entry. Use getChange to see the status of the change.

Parameters:
changedEntry -
change -
Method Detail

getChangedEntryKey

public java.lang.Long getChangedEntryKey()
Returns:
the key of the repository entry that has been changed.

getChange

public int getChange()
Get the type of change.

Returns:
type of change.