Style Intelligence v12.0

inetsoft.uql.asset
Class AssetChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by inetsoft.uql.asset.AssetChangeEvent
All Implemented Interfaces:
Serializable

public class AssetChangeEvent
extends EventObject

Describe class AssetChangeEvent here.

Since:
8.5
See Also:
Serialized Form

Field Summary
static int ASSET_DELETED
          Change type that indicates that an entry was deleted.
static int ASSET_MODIFIED
          Change type that indicates that an entry was changed.
static int ASSET_RENAMED
          Change type that indicates that an entry was renamed.
static int ASSET_TO_BE_DELETED
          Change type that indicates that an entry was to be deleted.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AssetChangeEvent(Object source, int entryType, int changeType, AssetEntry assetEntry, String oldName)
          Creates a new AssetChangeEvent instance.
 
Method Summary
 AssetEntry getAssetEntry()
          Gets the asset entry that was changed.
 int getChangeType()
          Gets the type of change that was made.
 int getEntryType()
          Gets the type of entry to which the change was made.
 String getOldName()
          Gets the old name of the entry.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ASSET_MODIFIED

public static final int ASSET_MODIFIED
Change type that indicates that an entry was changed.

See Also:
Constant Field Values

ASSET_RENAMED

public static final int ASSET_RENAMED
Change type that indicates that an entry was renamed.

See Also:
Constant Field Values

ASSET_DELETED

public static final int ASSET_DELETED
Change type that indicates that an entry was deleted.

See Also:
Constant Field Values

ASSET_TO_BE_DELETED

public static final int ASSET_TO_BE_DELETED
Change type that indicates that an entry was to be deleted.

See Also:
Constant Field Values
Constructor Detail

AssetChangeEvent

public AssetChangeEvent(Object source,
                        int entryType,
                        int changeType,
                        AssetEntry assetEntry,
                        String oldName)
Creates a new AssetChangeEvent instance.

Parameters:
source - the object on which the event originally occurred.
entryType - the type of entry to which the change was made.
changeType - the type of change that was made to the entry.
assetEntry - the modified asset entry.
oldName - the old name of the entry, or null if the entry was not renamed.
Method Detail

getEntryType

public int getEntryType()
Gets the type of entry to which the change was made.

Returns:
one of the asset type constants defined in AbstractSheet.

getChangeType

public int getChangeType()
Gets the type of change that was made.

Returns:
one of the change type constants defined in this class.

getAssetEntry

public AssetEntry getAssetEntry()
Gets the asset entry that was changed.

Returns:
the modified asset entry.

getOldName

public String getOldName()
Gets the old name of the entry.

Returns:
the original name, or null if the entry was not renamed.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.