java.lang.Object
edu.internet2.middleware.grouper.changeLog.esb.consumer.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

    • getMessageId

      public String getMessageId()
      messageid of message
      Returns:
      message id
    • setMessageId

      public void setMessageId(String messageId1)
      messageid of message
      Parameters:
      messageId1 -
    • 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
    • getProvisionerName

      public String getProvisionerName()
      if doing a sync, this is the provisioner
      Returns:
      provisioner name
    • setProvisionerName

      public void setProvisionerName(String provisionerName1)
      if doing a sync, this is the provisioner
      Parameters:
      provisionerName1 -
    • isProvisionerBlocking

      public Boolean isProvisionerBlocking()
      for full sync, or even for group sync potentially, true if the sync should block other sync, false if should not block and should just add more lowel level sync events
      Returns:
    • setProvisionerBlocking

      public void setProvisionerBlocking(Boolean provisionerBlocking1)
    • getProvisionerFullSync

      public Boolean getProvisionerFullSync()
      if this is a full sync
      Returns:
      if full sync
    • setProvisionerFullSync

      public void setProvisionerFullSync(Boolean provisionerFullSync1)
      if this is a full sync
      Parameters:
      provisionerFullSync1 -
    • getProvisionerSyncType

      public String getProvisionerSyncType()
      sync type of the sync. e.g. fullSyncFull or fullSyncGroup, groupSync, userSync, membershipSync
      Returns:
      sync type
    • setProvisionerSyncType

      public void setProvisionerSyncType(String provisionerSyncType1)
      sync type of the sync. e.g. fullSyncFull or fullSyncGroup, groupSync, userSync, membershipSync
      Parameters:
      provisionerSyncType1 -
    • 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 -
    • retrieveSubject

      public Subject retrieveSubject()
      retrieve the subject for this record
      Returns:
      the subject or null if not found
    • 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 -
    • getSubjectIdentifier0

      public String getSubjectIdentifier0()
      Returns:
      the subjectIdentifier
    • setSubjectIdentifier0

      public void setSubjectIdentifier0(String subjectIdentifier)
      Parameters:
      subjectIdentifier - the subjectIdentifier to set
    • getSubjectIdentifier1

      public String getSubjectIdentifier1()
      Returns:
      the subjectIdentifier
    • setSubjectIdentifier1

      public void setSubjectIdentifier1(String subjectIdentifier)
      Parameters:
      subjectIdentifier - the subjectIdentifier to set
    • getSubjectIdentifier2

      public String getSubjectIdentifier2()
      Returns:
      the subjectIdentifier
    • setSubjectIdentifier2

      public void setSubjectIdentifier2(String subjectIdentifier)
      Parameters:
      subjectIdentifier - the subjectIdentifier to set
    • getEmail0

      public String getEmail0()
      Returns:
      the email0
    • setEmail0

      public void setEmail0(String email0)
      Parameters:
      email0 -
    • 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 -
    • getFieldId

      public String getFieldId()
      field id
      Returns:
      field id
    • setFieldId

      public void setFieldId(String fieldId1)
      field id
      Parameters:
      fieldId1 -
    • getProvisionerBlocking

      public Boolean getProvisionerBlocking()
    • 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 -
    • main

      public static void main(String[] args)
      Parameters:
      args -
    • addSubjectAttribute

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

      public String getRoleId()
      Returns:
      the roleId
    • setRoleId

      public void setRoleId(String roleId)
      Parameters:
      roleId - the roleId to set
    • getRoleName

      public String getRoleName()
      Returns:
      the roleName
    • setRoleName

      public void setRoleName(String roleName)
      Parameters:
      roleName - the roleName to set
    • getMemberId

      public String getMemberId()
      Returns:
      the memberId
    • setMemberId

      public void setMemberId(String memberId)
      Parameters:
      memberId - the memberId to set
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getOwnerId2

      public String getOwnerId2()
      for attribute assignments, if the attributeAssignType is any_mem, then ownerId1 is the groupId and ownerId2 is the memberId
      Returns:
      ownerId2
    • setOwnerId2

      public void setOwnerId2(String ownerId2)
      for attribute assignments, if the attributeAssignType is any_mem, then ownerId1 is the groupId and ownerId2 is the memberId
      Parameters:
      ownerId2 -
    • getAttributeDefNameId

      public String getAttributeDefNameId()
      attribute def name id for attribute assignments
      Returns:
      attribute def name id
    • setAttributeDefNameId

      public void setAttributeDefNameId(String attributeDefNameId1)
      attribute def name id for attribute assignments
      Parameters:
      attributeDefNameId1 -
    • getAttributeDefNameName

      public String getAttributeDefNameName()
      name of attributeDefName
      Returns:
      name
    • setAttributeDefNameName

      public void setAttributeDefNameName(String attributeDefNameName1)
      name of attributeDefName
      Parameters:
      attributeDefNameName1 -  
    • getAttributeAssignId

      public String getAttributeAssignId()
      attributeAssignId
      Returns:
      id
    • setAttributeAssignId

      public void setAttributeAssignId(String attributeAssignId1)
      attributeAssignId
      Parameters:
      attributeAssignId1 -
    • getValueType

      public String getValueType()
      type of value: nullValue, memberId, string, floating, integerValue
      Returns:
      vlaue type
    • setValueType

      public void setValueType(String valueType1)
      type of value: nullValue, memberId, string, floating, integerValue
      Parameters:
      valueType1 -
    • getAttributeAssignType

      public String getAttributeAssignType()
      attribute assign type: group, group_asgn, member, member_asgn, stem, stem_asgn, any_mem, any_mem_asgn, attr_def, attr_def_asgn, imm_mem, imm_mem_asgn
      Returns:
      type
    • setAttributeAssignType

      public void setAttributeAssignType(String attributeAssignType1)
      attribute assign type: group, group_asgn, member, member_asgn, stem, stem_asgn, any_mem, any_mem_asgn, attr_def, attr_def_asgn, imm_mem, imm_mem_asgn
      Parameters:
      attributeAssignType1 -
    • getAttributeAssignAction

      public String getAttributeAssignAction()
      generally: assign
      Returns:
      action
    • setAttributeAssignAction

      public void setAttributeAssignAction(String attributeAssignAction1)
      generally: assign
      Parameters:
      attributeAssignAction1 -
    • getAttributeAssignActionId

      public String getAttributeAssignActionId()
      id of attribute assign action
      Returns:
      id
    • setAttributeAssignActionId

      public void setAttributeAssignActionId(String attributeAssignActionId1)
      id of attribute assign action
      Parameters:
      attributeAssignActionId1 -
    • getDisallowed

      public String getDisallowed()
      T or F for permissions
      Returns:
      T or F
    • setDisallowed

      public void setDisallowed(String disallowed1)
      T or F for permissions
      Parameters:
      disallowed1 -
    • getGroupIdIndex

      public String getGroupIdIndex()
    • setGroupIdIndex

      public void setGroupIdIndex(String groupIdIndex)
    • getCompositeOwnerId

      public String getCompositeOwnerId()
    • setCompositeOwnerId

      public void setCompositeOwnerId(String compositeOwnerId)
    • getCompositeLeftFactorId

      public String getCompositeLeftFactorId()
    • setCompositeLeftFactorId

      public void setCompositeLeftFactorId(String compositeLeftFactorId)
    • getCompositeRightFactorId

      public String getCompositeRightFactorId()
    • setCompositeRightFactorId

      public void setCompositeRightFactorId(String compositeRightFactorId)
    • getCompositeType

      public String getCompositeType()
    • setCompositeType

      public void setCompositeType(String compositeType)
    • getCompositeOwnerName

      public String getCompositeOwnerName()
    • setCompositeOwnerName

      public void setCompositeOwnerName(String compositeOwnerName)
    • getCompositeLeftFactorName

      public String getCompositeLeftFactorName()
    • setCompositeLeftFactorName

      public void setCompositeLeftFactorName(String compositeLeftFactorName)
    • getCompositeRightFactorName

      public String getCompositeRightFactorName()
    • setCompositeRightFactorName

      public void setCompositeRightFactorName(String compositeRightFactorName)