Class PITStem
java.lang.Object
edu.internet2.middleware.grouper.GrouperAPI
edu.internet2.middleware.grouper.pit.GrouperPIT
edu.internet2.middleware.grouper.pit.PITStem
- 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
namestatic final String
parent stemstatic final String
columnstatic final String
columnstatic final String
constant for field name for: contextIdstatic final String
constant for field name for: idstatic final String
constant for field name for: namestatic final String
constant for field name for: parentStemIdstatic final String
constant for field name for: sourceIdstatic final String
constant for field name for: sourceIdIndexstatic 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
(boolean printOutput) delete this objectgetId()
getName()
void
onPostDelete
(HibernateSession hibernateSession) after a delete occursvoid
onPreDelete
(HibernateSession hibernateSession) before a delete (insert) occursstatic boolean
void
save or update this objectvoid
setContextId
(String contextId) set context idvoid
set idvoid
Set namevoid
setParentStemId
(String parentStemId) void
setSourceId
(String sourceId) set source idvoid
setSourceIdIndex
(Long sourceIdIndex) Methods 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, onPostSave, onPostUpdate, 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_NAME
name- See Also:
-
COLUMN_PARENT_STEM_ID
parent stem- See Also:
-
COLUMN_HIBERNATE_VERSION_NUMBER
hibernate version- See Also:
-
COLUMN_SOURCE_ID
column- See Also:
-
COLUMN_SOURCE_ID_INDEX
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_NAME
constant for field name for: name- See Also:
-
FIELD_PARENT_STEM_ID
constant for field name for: parentStemId- See Also:
-
FIELD_SOURCE_ID_INDEX
constant for field name for: sourceIdIndex- See Also:
-
TABLE_GROUPER_PIT_STEMS
name of the table in the database.- See Also:
-
-
Constructor Details
-
PITStem
public PITStem()
-
-
Method Details
-
getSourceIdIndex
- Returns:
- sourceIdIndex
-
setSourceIdIndex
- Parameters:
sourceIdIndex
-
-
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
-
-
getName
- Returns:
- name
-
getNameDb
- Returns:
- name
-
setNameDb
Set name- Parameters:
name
-
-
getParentStemId
- Returns:
- parent stem id
-
setParentStemId
- Parameters:
parentStemId
-
-
saveOrUpdate
public void saveOrUpdate()save or update this object -
delete
public void delete(boolean printOutput) delete this object- Parameters:
printOutput
-
-
onPostDelete
Description copied from interface:HibGrouperLifecycle
after a delete occurs- Specified by:
onPostDelete
in interfaceHibGrouperLifecycle
- Overrides:
onPostDelete
in classGrouperAPI
- See Also:
-
onPreDelete
Description copied from interface:HibGrouperLifecycle
before a delete (insert) occurs- Specified by:
onPreDelete
in interfaceHibGrouperLifecycle
- Overrides:
onPreDelete
in classGrouperAPI
- See Also:
-
printOutputOnDelete
public static boolean printOutputOnDelete()- Returns:
- if print output on delete
-
getParentPITStem
- Returns:
- pitParentStem
-