public class InvalidateCacheEvent
extends java.util.EventObject
A shell event may consist of selection change or other such event.
| Modifier and Type | Field and Description |
|---|---|
static int |
DEPTH_ALL_SUBCONTAINERS
A possible value for this events depth indicating that the ObjectEntry associated with
this event and all of its children and their children's children, etc., should have their cache
invalidated.
|
static int |
DEPTH_ENTIRE_TREE
A possible value for this events depth indicating that the entire tree should have its
cache invalidated.
|
static int |
DEPTH_IMMEDIATE_CHILDREN
A possible value for this events depth indicating that the ObjectEntry associated with
this event and its immediate children only should have their cache invalidated.
|
static int |
DEPTH_SINGLE_ENTRY
A possible value for this events depth indicating that only the ObjectEntry associated with
this event should have its cache invalidated.
|
static int |
REFRESH_ENTRY |
| Constructor and Description |
|---|
InvalidateCacheEvent(ObjectEntry entry,
int depth)
Creates an invalidate cache event object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDepth()
How deep the refresh should go.
|
int |
getID() |
ObjectEntry |
getObjectEntry()
Object to refresh.
|
public static final int REFRESH_ENTRY
public static final int DEPTH_ENTIRE_TREE
(DEPTH_ENTIRE_TREE = 0)
public static final int DEPTH_SINGLE_ENTRY
(DEPTH_SINGLE_ENTRY = 0)
public static final int DEPTH_IMMEDIATE_CHILDREN
(DEPTH_IMMEDIATE_CHILDREN = 0)
public static final int DEPTH_ALL_SUBCONTAINERS
(DEPTH_ALL_SUBCONTAINERS = 0)
public InvalidateCacheEvent(ObjectEntry entry, int depth)
entry - The ObjectEntry array associated with the event. If depth is DEPTH_ENTIRE_TREE, this parameter will be null.depth - How far to refresh. This may be DEPTH_ENTIRE_TREE, DEPTH_SINGLE_ENTRY, DEPTH_IMMEDIATE_CHILDREN or DEPTH_ALL_SUBCONTAINERS.id - An integer specifying the action that occurred on the event. Currently should only be REFRESH_ENTRY.public int getID()
REFRESH_ENTRYpublic int getDepth()
public ObjectEntry getObjectEntry()
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.