org.eclipse.higgins.idas.spi
Class SubjectNotification
java.lang.Object
org.eclipse.higgins.idas.spi.SubjectNotification
- public class SubjectNotification
- extends Object
UPDATE_ADD
public static final String UPDATE_ADD
- This action is set when the
IDigitalSubject returned by getSubject() was added
- See Also:
- Constant Field Values
UPDATE_REMOVE
public static final String UPDATE_REMOVE
- This action is set when the
IDigitalSubject returned by getSubject() was removed
- See Also:
- Constant Field Values
UPDATE_ATTR_NOTIFY
public static final String UPDATE_ATTR_NOTIFY
- This action is set when there is a
AttributeNotification to be returned by getAttributeNotification()
This signifies that an attribute on the subject was updated.
- See Also:
- Constant Field Values
UPDATE_METADATA_NOTIFY
public static final String UPDATE_METADATA_NOTIFY
- This action is set when there is a
MetadataNotification to be returned by getMetadataNotification()
This signifies that a metadata element on the subject was updated.
- See Also:
- Constant Field Values
SubjectNotification
public SubjectNotification(org.eclipse.higgins.idas.api.IDigitalSubject subject,
String action,
AttributeNotification attrNotif,
MetadataNotification metadataNotif)
- Parameters:
subject - action - attrNotif -
getSubject
public org.eclipse.higgins.idas.api.IDigitalSubject getSubject()
- Returns:
- the IDigitalSubject being added or removed when the action is set to
UPDATE_ADD or UPDATE_REMOVE
getAction
public String getAction()
- Returns:
- one of:
UPDATE_ADD, UPDATE_REMOVE, UPDATE_METADATA_NOTIFY, UPDATE_ATTR_NOTIFY
getAttributeNotification
public AttributeNotification getAttributeNotification()
- Returns:
- an AttributeNotification when the action is set to
UPDATE_ATTR_NOTIFY.
getMetadataNotification
public MetadataNotification getMetadataNotification()
- Returns:
- an MetadataNotification when the action is set to
UPDATE_METADATA_NOTIFY.