|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResourceSubscriptionEvent
An interface for the resource subscription events.
IResourceSubscription.notifySubscriber(com.ibm.ftt.resources.core.events.IResourceSubscriptionEvent)| Field Summary | |
|---|---|
static int |
ADD_MEMBER
Value of the event type indicating a new member has been added to the resource. |
static String |
COPY_RIGHT
|
static int |
DELETE
Value of the event type indicating the resource has been deleted. |
static int |
MIGRATE
Value of the event type indicating the resource has been migrated. |
static int |
POST_CACHE_CHANGE
Value of the event type indicating the cache has been changed. |
static int |
POST_CONTENT_CHANGE
Value of the event type indicating the resource content has been changed. |
static int |
PRE_DELETE
Value of the event type indicating a before-the-fact report of the impending deletion of the resource. |
static int |
RECALL
Value of the event type indicating the resource has been recalled. |
static int |
REFRESH
Value of the event type indicating the resource has changed and UI object should be refreshed. |
static int |
REMOVE
Value of the event type indicating the resource has been removed. |
static int |
REMOVE_MEMBER
Value of the event type indicating a member has been removed from the resource. |
static int |
RENAME
Value of the event type indicating the resource has been renamed. |
| Method Summary | |
|---|---|
int |
getEventType()
Returns the type of resource subscription event. |
Object |
getNewValue()
Returns the new value associated with this event. |
Object |
getOldValue()
Returns the old value associated with this event. |
Object |
getPublisher()
Returns the object that is the source of this event. |
| Field Detail |
|---|
static final String COPY_RIGHT
static final int DELETE
static final int RENAME
IResourceSubscriptionEvent.getOldValue() and IResourceSubscriptionEvent.getNewValue().
static final int PRE_DELETE
static final int ADD_MEMBER
IResourceSubscriptionEvent.getNewValue().
static final int REMOVE_MEMBER
IResourceSubscriptionEvent.getOldValue().
This event is typically used for logical resources.
Note: this constant may be refactored to a different class in future.
static final int REMOVE
This event is typically used for logical resources.
NOTE: this constant may be refactored to a different class in future.
static final int MIGRATE
static final int RECALL
static final int REFRESH
static final int POST_CONTENT_CHANGE
static final int POST_CACHE_CHANGE
| Method Detail |
|---|
int getEventType()
Object getPublisher()
Object getOldValue()
null if it is not applicable to
this event. For example, old name for IResourceSubscriptionEvent.RENAME event.
null for ADD_MEMBER event.IResourceSubscriptionEvent.RENAME,
IResourceSubscriptionEvent.REMOVE_MEMBERObject getNewValue()
null if it is not applicable to
this event. For example, new name for IResourceSubscriptionEvent.RENAME event.
null for DELETE event.IResourceSubscriptionEvent.RENAME,
IResourceSubscriptionEvent.ADD_MEMBER
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||