java.lang.Object
edu.internet2.middleware.grouperClientExt.xmpp.EsbEvent

public class EsbEvent extends Object
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
  • Constructor Details

    • EsbEvent

      public EsbEvent()
  • Method Details

    • getCreatedOnMicros

      public Long getCreatedOnMicros()
      microseconds since 1970 that this event was created. divide by 1000 for millis
      Returns:
      the createdOnMicros
    • setCreatedOnMicros

      public void setCreatedOnMicros(Long createdOnMicros1)
      microseconds since 1970 that this event was created. divide by 1000 for millis
      Parameters:
      createdOnMicros1 - the createdOnMicros to set
    • subjectAttribute

      public String subjectAttribute(String attributeName)
      get a subject attribute by name
      Parameters:
      attributeName -
      Returns:
      the name
    • subjectHasAttribute

      public boolean subjectHasAttribute(String attributeName)
      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

      public String getSequenceNumber()
      sequence number of event for logging or whatnot
      Returns:
      sequence number
    • setSequenceNumber

      public void setSequenceNumber(String sequenceNumber1)
      sequence number of event for logging or whatnot
      Parameters:
      sequenceNumber1 -
    • getEventType

      public String getEventType()
      Returns:
      eventType
    • setEventType

      public void setEventType(String eventType)
      Parameters:
      eventType -
    • getId

      public String getId()
      Returns:
      id
    • setId

      public void setId(String id)
      Parameters:
      id -
    • getName

      public String getName()
      Returns:
      name
    • setName

      public void setName(String name)
      Parameters:
      name -
    • getDescription

      public String getDescription()
      Returns:
      description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description -
    • getDisplayExtension

      public String getDisplayExtension()
      Returns:
      displayExtension
    • setDisplayExtension

      public void setDisplayExtension(String displayExtension)
      Parameters:
      displayExtension -
    • getDisplayName

      public String getDisplayName()
      Returns:
      displayName
    • setDisplayName

      public void setDisplayName(String displayName)
      Parameters:
      displayName -
    • getFieldName

      public String getFieldName()
      Returns:
      fieldName
    • setFieldName

      public void setFieldName(String fieldName)
      Parameters:
      fieldName -
    • getGroupId

      public String getGroupId()
      Returns:
      groupId
    • setGroupId

      public void setGroupId(String groupId)
      Parameters:
      groupId -
    • getGroupName

      public String getGroupName()
      Returns:
      groupName
    • setGroupName

      public void setGroupName(String groupName)
      Parameters:
      groupName -
    • getGroupTypeId

      public String getGroupTypeId()
      Returns:
      groupTypeId
    • setGroupTypeId

      public void setGroupTypeId(String groupTypeId)
      Parameters:
      groupTypeId -
    • getGroupTypeName

      public String getGroupTypeName()
      Returns:
      groupTypeName
    • setGroupTypeName

      public void setGroupTypeName(String groupTypeName)
      Parameters:
      groupTypeName -
    • getMembershipType

      public String getMembershipType()
      Returns:
      membershipType
    • setMembershipType

      public void setMembershipType(String membershipType)
      Parameters:
      membershipType -
    • getOwnerId

      public String getOwnerId()
      Returns:
      ownerId
    • setOwnerId

      public void setOwnerId(String ownerId)
      Parameters:
      ownerId -
    • getOwnerName

      public String getOwnerName()
      Returns:
      ownerName
    • setOwnerName

      public void setOwnerName(String ownerName)
      Parameters:
      ownerName -
    • getOwnerType

      public String getOwnerType()
      Returns:
      ownerType
    • setOwnerType

      public void setOwnerType(String ownerType)
      Parameters:
      ownerType -
    • getParentStemId

      public String getParentStemId()
      Returns:
      parentStemId
    • setParentStemId

      public void setParentStemId(String parentStemId)
      Parameters:
      parentStemId -
    • getPrivilegeName

      public String getPrivilegeName()
      Returns:
      privilegeName
    • setPrivilegeName

      public void setPrivilegeName(String privilegeName)
      Parameters:
      privilegeName -
    • getPrivilegeType

      public String getPrivilegeType()
      Returns:
      privilegeType
    • setPrivilegeType

      public void setPrivilegeType(String privilegeType)
      Parameters:
      privilegeType -
    • getPropertyChanged

      public String getPropertyChanged()
      Returns:
      propertyChanged
    • setPropertyChanged

      public void setPropertyChanged(String propertyChanged)
      Parameters:
      propertyChanged -
    • getPropertyNewValue

      public String getPropertyNewValue()
      Returns:
      propertyNewValue
    • setPropertyNewValue

      public void setPropertyNewValue(String propertyNewValue)
      Parameters:
      propertyNewValue -
    • getPropertyOldValue

      public String getPropertyOldValue()
      Returns:
      propertyOldValue
    • setPropertyOldValue

      public void setPropertyOldValue(String propertyOldValue)
      Parameters:
      propertyOldValue -
    • getReadPrivilege

      public String getReadPrivilege()
      Returns:
      readPrivilege
    • setReadPrivilege

      public void setReadPrivilege(String readPrivilege)
      Parameters:
      readPrivilege -
    • getSourceId

      public String getSourceId()
      Returns:
      sourceId
    • setSourceId

      public void setSourceId(String sourceId)
      Parameters:
      sourceId -
    • getSubjectId

      public String getSubjectId()
      Returns:
      subjectId
    • setSubjectId

      public void setSubjectId(String subjectId)
      Parameters:
      subjectId -
    • getType

      public String getType()
      Returns:
      type
    • setType

      public void setType(String type)
      Parameters:
      type -
    • getWritePrivilege

      public String getWritePrivilege()
      Returns:
      writePrivilege
    • setWritePrivilege

      public void setWritePrivilege(String writePrivilege)
      Parameters:
      writePrivilege -
    • getSubjectAttributes

      public String[][] getSubjectAttributes()
      Returns:
      subjectAttributes
    • setSubjectAttributes

      public void setSubjectAttributes(String[][] subjectAttributes)
      Parameters:
      subjectAttributes -
    • addSubjectAttribute

      public void addSubjectAttribute(String attributeName, String attributeValue)
      Method to add attribute name/value pair to subjectAttribute array
      Parameters:
      attributeName -
      attributeValue -