Class PITMember
java.lang.Object
edu.internet2.middleware.grouper.GrouperAPI
edu.internet2.middleware.grouper.pit.GrouperPIT
edu.internet2.middleware.grouper.pit.PITMember
- All Implemented Interfaces:
HibGrouperLifecycle
,Hib3GrouperVersioned
,GrouperCloneable
,GrouperUtil.FieldValuable
,Serializable
,org.hibernate.classic.Lifecycle
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Context id links together multiple operations into one high level actionstatic final String
hibernate versionstatic final String
db id for this rowstatic final String
columnstatic final String
columnstatic final String
subject idstatic final String
subjectIdentifier0static final String
subject sourcestatic final String
subject typestatic final String
constant for field name for: contextIdstatic final String
constant for field name for: idstatic final String
constant for field name for: sourceIdstatic final String
constant for field name for: sourceInternalIdstatic final String
constant for field name for: subjectIdstatic final String
constant for field name for: subjectIdentifier0static final String
constant for field name for: subjectSourcestatic final String
constant for field name for: subjectTypestatic final String
name of the table in the database.Fields inherited from class edu.internet2.middleware.grouper.pit.GrouperPIT
COLUMN_ACTIVE, COLUMN_END_TIME, COLUMN_START_TIME, FIELD_ACTIVE_DB, FIELD_END_TIME_DB, FIELD_START_TIME_DB
Fields inherited from class edu.internet2.middleware.grouper.GrouperAPI
dbVersion, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER
Fields inherited from interface org.hibernate.classic.Lifecycle
NO_VETO, VETO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
deep clone the fields in this objectvoid
delete()
delete this objectgetGroups
(String fieldSourceId, String scope, PITStem pitStem, Stem.Scope stemScope, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, QueryOptions queryOptions) getGroups
(String memberSourceId, String fieldSourceId, String scope, PITStem pitStem, Stem.Scope stemScope, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, QueryOptions queryOptions) getGroups
(String memberSourceId, String fieldSourceId, String scope, Stem stem, Stem.Scope stemScope, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, QueryOptions queryOptions) getId()
void
save or update this objectvoid
setContextId
(String contextId) set context idvoid
set idvoid
setSourceId
(String sourceId) set source idvoid
setSourceInternalId
(Long sourceInternalId) void
setSubjectId
(String subjectId) Set subjectIdvoid
setSubjectIdentifier0
(String subjectIdentifier0) Set subjectIdentifier0void
setSubjectSourceId
(String subjectSourceId) Set subjectSourceIdvoid
setSubjectTypeId
(String subjectTypeId) Set subjectTypeIdMethods inherited from class edu.internet2.middleware.grouper.pit.GrouperPIT
getActiveDb, getEndTime, getEndTimeDb, getStartTime, getStartTimeDb, isActive, setActiveDb, setEndTimeDb, setStartTimeDb
Methods inherited from class edu.internet2.middleware.grouper.GrouperAPI
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreDelete, onPreSave, onPreUpdate, onSave, onUpdate, setHibernateVersionNumber
-
Field Details
-
COLUMN_ID
db id for this row- See Also:
-
COLUMN_CONTEXT_ID
Context id links together multiple operations into one high level action- See Also:
-
COLUMN_SUBJECT_ID
subject id- See Also:
-
COLUMN_SUBJECT_IDENTIFIER0
subjectIdentifier0- See Also:
-
COLUMN_SUBJECT_SOURCE
subject source- See Also:
-
COLUMN_SUBJECT_TYPE
subject type- See Also:
-
COLUMN_HIBERNATE_VERSION_NUMBER
hibernate version- See Also:
-
COLUMN_SOURCE_ID
column- See Also:
-
COLUMN_SOURCE_INTERNAL_ID
column- See Also:
-
FIELD_SOURCE_ID
constant for field name for: sourceId- See Also:
-
FIELD_CONTEXT_ID
constant for field name for: contextId- See Also:
-
FIELD_ID
constant for field name for: id- See Also:
-
FIELD_SUBJECT_ID
constant for field name for: subjectId- See Also:
-
FIELD_SUBJECT_SOURCE
constant for field name for: subjectSource- See Also:
-
FIELD_SUBJECT_IDENTIFIER0
constant for field name for: subjectIdentifier0- See Also:
-
FIELD_SUBJECT_TYPE
constant for field name for: subjectType- See Also:
-
FIELD_SOURCE_INTERNAL_ID
constant for field name for: sourceInternalId- See Also:
-
TABLE_GROUPER_PIT_MEMBERS
name of the table in the database.- See Also:
-
-
Constructor Details
-
PITMember
public PITMember()
-
-
Method Details
-
getSourceInternalId
- Returns:
- sourceInternalId
-
setSourceInternalId
- Parameters:
sourceInternalId
-
-
getSourceId
- Returns:
- source id
-
setSourceId
set source id- Parameters:
sourceId
-
-
clone
Description copied from class:GrouperAPI
deep clone the fields in this object- Specified by:
clone
in interfaceGrouperCloneable
- Specified by:
clone
in classGrouperAPI
- Returns:
- the clone of the object
- See Also:
-
getContextId
- Returns:
- context id
-
setContextId
set context id- Parameters:
contextId
-
-
getId
- Returns:
- id
-
setId
set id- Parameters:
id
-
-
getSubjectId
- Returns:
- subjectId
-
setSubjectId
Set subjectId- Parameters:
subjectId
-
-
getSubjectSourceId
- Returns:
- subjectSourceId
-
setSubjectSourceId
Set subjectSourceId- Parameters:
subjectSourceId
-
-
getSubjectIdentifier0
- Returns:
- subjectIdentifier0
-
setSubjectIdentifier0
Set subjectIdentifier0- Parameters:
subjectIdentifier0
-
-
getSubjectTypeId
- Returns:
- subjectType
-
setSubjectTypeId
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 allstemScope
- is if in this stem, or in any stem underneath. You must pass stemScope if you pass a stempointInTimeFrom
- 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 allstemScope
- is if in this stem, or in any stem underneath. You must pass stemScope if you pass a stempointInTimeFrom
- 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 allstemScope
- is if in this stem, or in any stem underneath. You must pass stemScope if you pass a stempointInTimeFrom
- 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
-