Class EsbEvent
java.lang.Object
edu.internet2.middleware.grouperClientExt.xmpp.EsbEvent
Simple class to hold changelog event details for dispatch to external system. If an event
does not contain a value for a property it will be null
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSubjectAttribute
(String attributeName, String attributeValue) Method to add attribute name/value pair to subjectAttribute arraymicroseconds since 1970 that this event was created.getId()
getName()
sequence number of event for logging or whatnotString[][]
getType()
boolean
if a change occurred but no sensitive data is being sentvoid
setChangeOccurred
(boolean changeOccurred) if a change occurred but no sensitive data is being sentvoid
setCreatedOnMicros
(Long createdOnMicros1) microseconds since 1970 that this event was created.void
setDescription
(String description) void
setDisplayExtension
(String displayExtension) void
setDisplayName
(String displayName) void
setEventType
(String eventType) void
setFieldName
(String fieldName) void
setGroupId
(String groupId) void
setGroupName
(String groupName) void
setGroupTypeId
(String groupTypeId) void
setGroupTypeName
(String groupTypeName) void
void
setMembershipType
(String membershipType) void
void
setOwnerId
(String ownerId) void
setOwnerName
(String ownerName) void
setOwnerType
(String ownerType) void
setParentStemId
(String parentStemId) void
setPrivilegeName
(String privilegeName) void
setPrivilegeType
(String privilegeType) void
setPropertyChanged
(String propertyChanged) void
setPropertyNewValue
(String propertyNewValue) void
setPropertyOldValue
(String propertyOldValue) void
setReadPrivilege
(String readPrivilege) void
setSequenceNumber
(String sequenceNumber1) sequence number of event for logging or whatnotvoid
setSourceId
(String sourceId) void
setSubjectAttributes
(String[][] subjectAttributes) void
setSubjectId
(String subjectId) void
void
setWritePrivilege
(String writePrivilege) subjectAttribute
(String attributeName) get a subject attribute by nameboolean
subjectHasAttribute
(String attributeName) see if has non blank attribute
-
Constructor Details
-
EsbEvent
public EsbEvent()
-
-
Method Details
-
getCreatedOnMicros
microseconds since 1970 that this event was created. divide by 1000 for millis- Returns:
- the createdOnMicros
-
setCreatedOnMicros
microseconds since 1970 that this event was created. divide by 1000 for millis- Parameters:
createdOnMicros1
- the createdOnMicros to set
-
subjectAttribute
get a subject attribute by name- Parameters:
attributeName
-- Returns:
- the name
-
subjectHasAttribute
see if has non blank attribute- Parameters:
attributeName
-- Returns:
- true if the subject has attribute
-
isChangeOccurred
public boolean isChangeOccurred()if a change occurred but no sensitive data is being sent- Returns:
- the changeOccurred
-
setChangeOccurred
public void setChangeOccurred(boolean changeOccurred) if a change occurred but no sensitive data is being sent- Parameters:
changeOccurred
- the changeOccurred to set
-
getSequenceNumber
sequence number of event for logging or whatnot- Returns:
- sequence number
-
setSequenceNumber
sequence number of event for logging or whatnot- Parameters:
sequenceNumber1
-
-
getEventType
- Returns:
- eventType
-
setEventType
- Parameters:
eventType
-
-
getId
- Returns:
- id
-
setId
- Parameters:
id
-
-
getName
- Returns:
- name
-
setName
- Parameters:
name
-
-
getDescription
- Returns:
- description
-
setDescription
- Parameters:
description
-
-
getDisplayExtension
- Returns:
- displayExtension
-
setDisplayExtension
- Parameters:
displayExtension
-
-
getDisplayName
- Returns:
- displayName
-
setDisplayName
- Parameters:
displayName
-
-
getFieldName
- Returns:
- fieldName
-
setFieldName
- Parameters:
fieldName
-
-
getGroupId
- Returns:
- groupId
-
setGroupId
- Parameters:
groupId
-
-
getGroupName
- Returns:
- groupName
-
setGroupName
- Parameters:
groupName
-
-
getGroupTypeId
- Returns:
- groupTypeId
-
setGroupTypeId
- Parameters:
groupTypeId
-
-
getGroupTypeName
- Returns:
- groupTypeName
-
setGroupTypeName
- Parameters:
groupTypeName
-
-
getMembershipType
- Returns:
- membershipType
-
setMembershipType
- Parameters:
membershipType
-
-
getOwnerId
- Returns:
- ownerId
-
setOwnerId
- Parameters:
ownerId
-
-
getOwnerName
- Returns:
- ownerName
-
setOwnerName
- Parameters:
ownerName
-
-
getOwnerType
- Returns:
- ownerType
-
setOwnerType
- Parameters:
ownerType
-
-
getParentStemId
- Returns:
- parentStemId
-
setParentStemId
- Parameters:
parentStemId
-
-
getPrivilegeName
- Returns:
- privilegeName
-
setPrivilegeName
- Parameters:
privilegeName
-
-
getPrivilegeType
- Returns:
- privilegeType
-
setPrivilegeType
- Parameters:
privilegeType
-
-
getPropertyChanged
- Returns:
- propertyChanged
-
setPropertyChanged
- Parameters:
propertyChanged
-
-
getPropertyNewValue
- Returns:
- propertyNewValue
-
setPropertyNewValue
- Parameters:
propertyNewValue
-
-
getPropertyOldValue
- Returns:
- propertyOldValue
-
setPropertyOldValue
- Parameters:
propertyOldValue
-
-
getReadPrivilege
- Returns:
- readPrivilege
-
setReadPrivilege
- Parameters:
readPrivilege
-
-
getSourceId
- Returns:
- sourceId
-
setSourceId
- Parameters:
sourceId
-
-
getSubjectId
- Returns:
- subjectId
-
setSubjectId
- Parameters:
subjectId
-
-
getType
- Returns:
- type
-
setType
- Parameters:
type
-
-
getWritePrivilege
- Returns:
- writePrivilege
-
setWritePrivilege
- Parameters:
writePrivilege
-
-
getSubjectAttributes
- Returns:
- subjectAttributes
-
setSubjectAttributes
- Parameters:
subjectAttributes
-
-
addSubjectAttribute
Method to add attribute name/value pair to subjectAttribute array- Parameters:
attributeName
-attributeValue
-
-