Class PITMember

All Implemented Interfaces:
HibGrouperLifecycle, Hib3GrouperVersioned, GrouperCloneable, GrouperUtil.FieldValuable, Serializable, org.hibernate.classic.Lifecycle

public class PITMember extends GrouperPIT implements Hib3GrouperVersioned
See Also:
  • Field Details

  • Constructor Details

    • PITMember

      public PITMember()
  • Method Details

    • getSourceInternalId

      public Long getSourceInternalId()
      Returns:
      sourceInternalId
    • setSourceInternalId

      public void setSourceInternalId(Long sourceInternalId)
      Parameters:
      sourceInternalId -
    • getSourceId

      public String getSourceId()
      Returns:
      source id
    • setSourceId

      public void setSourceId(String sourceId)
      set source id
      Parameters:
      sourceId -
    • clone

      public GrouperAPI clone()
      Description copied from class: GrouperAPI
      deep clone the fields in this object
      Specified by:
      clone in interface GrouperCloneable
      Specified by:
      clone in class GrouperAPI
      Returns:
      the clone of the object
      See Also:
    • getContextId

      public String getContextId()
      Returns:
      context id
    • setContextId

      public void setContextId(String contextId)
      set context id
      Parameters:
      contextId -
    • getId

      public String getId()
      Returns:
      id
    • setId

      public void setId(String id)
      set id
      Parameters:
      id -
    • getSubjectId

      public String getSubjectId()
      Returns:
      subjectId
    • setSubjectId

      public void setSubjectId(String subjectId)
      Set subjectId
      Parameters:
      subjectId -
    • getSubjectSourceId

      public String getSubjectSourceId()
      Returns:
      subjectSourceId
    • setSubjectSourceId

      public void setSubjectSourceId(String subjectSourceId)
      Set subjectSourceId
      Parameters:
      subjectSourceId -
    • getSubjectIdentifier0

      public String getSubjectIdentifier0()
      Returns:
      subjectIdentifier0
    • setSubjectIdentifier0

      public void setSubjectIdentifier0(String subjectIdentifier0)
      Set subjectIdentifier0
      Parameters:
      subjectIdentifier0 -
    • getSubjectTypeId

      public String getSubjectTypeId()
      Returns:
      subjectType
    • setSubjectTypeId

      public void setSubjectTypeId(String subjectTypeId)
      Set subjectTypeId
      Parameters:
      subjectTypeId -
    • saveOrUpdate

      public void saveOrUpdate()
      save or update this object
    • delete

      public void delete()
      delete this object
    • getGroups

      public Set<PITGroup> getGroups(String fieldSourceId, String scope, PITStem pitStem, Stem.Scope stemScope, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, QueryOptions queryOptions)
      Parameters:
      fieldSourceId - specifies the field id. This is required.
      scope - is a DB pattern that will have % appended to it, or null for all. e.g. school:whatever:parent:
      pitStem - is the stem to check in, or null if all
      stemScope - is if in this stem, or in any stem underneath. You must pass stemScope if you pass a stem
      pointInTimeFrom - the start of the range of the point in time query. This is optional.
      pointInTimeTo - the end of the range of the point in time query. This is optional. If this is the same as pointInTimeFrom, then the query will be done at a single point in time rather than a range.
      queryOptions - optional query options.
      Returns:
      Set of PITGroup
    • getGroups

      public static Set<PITGroup> getGroups(String memberSourceId, String fieldSourceId, String scope, PITStem pitStem, Stem.Scope stemScope, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, QueryOptions queryOptions)
      Parameters:
      memberSourceId - specifies the member id. This is required.
      fieldSourceId - specifies the field id. This is required.
      scope - is a DB pattern that will have % appended to it, or null for all. e.g. school:whatever:parent:
      pitStem - is the stem to check in, or null if all
      stemScope - is if in this stem, or in any stem underneath. You must pass stemScope if you pass a stem
      pointInTimeFrom - the start of the range of the point in time query. This is optional.
      pointInTimeTo - the end of the range of the point in time query. This is optional. If this is the same as pointInTimeFrom, then the query will be done at a single point in time rather than a range.
      queryOptions - optional query options.
      Returns:
      Set of PITGroup
    • getGroups

      public static Set<PITGroup> getGroups(String memberSourceId, String fieldSourceId, String scope, Stem stem, Stem.Scope stemScope, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, QueryOptions queryOptions)
      Parameters:
      memberSourceId - specifies the member id. This is required.
      fieldSourceId - specifies the field id. This is required.
      scope - is a DB pattern that will have % appended to it, or null for all. e.g. school:whatever:parent:
      stem - is the stem to check in, or null if all
      stemScope - is if in this stem, or in any stem underneath. You must pass stemScope if you pass a stem
      pointInTimeFrom - the start of the range of the point in time query. This is optional.
      pointInTimeTo - the end of the range of the point in time query. This is optional. If this is the same as pointInTimeFrom, then the query will be done at a single point in time rather than a range.
      queryOptions - optional query options.
      Returns:
      Set of PITGroup