Class PITAttributeAssign
java.lang.Object
edu.internet2.middleware.grouper.GrouperAPI
edu.internet2.middleware.grouper.pit.GrouperPIT
edu.internet2.middleware.grouper.pit.PITAttributeAssign
- All Implemented Interfaces:
HibGrouperLifecycle,Hib3GrouperVersioned,GrouperCloneable,GrouperUtil.FieldValuable,Serializable,org.hibernate.classic.Lifecycle
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final StringContext id links together multiple operations into one high level actionstatic final Stringcolumnstatic final Stringdb id for this rowstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringcolumnstatic final Stringconstant for field name for: attributeAssignActionIdstatic final Stringconstant for field name for: attributeAssignTypestatic final Stringconstant for field name for: attributeDefNameIdstatic final Stringconstant for field name for: contextIdstatic final Stringconstant for field name for: disallowedstatic final Stringconstant for field name for: idstatic final Stringconstant for field name for: ownerAttributeAssignIdstatic final Stringconstant for field name for: ownerAttributeDefIdstatic final Stringconstant for field name for: ownerGroupIdstatic final Stringconstant for field name for: ownerMemberIdstatic final Stringconstant for field name for: ownerMembershipIdstatic final Stringconstant for field name for: ownerStemIdstatic final Stringconstant for field name for: sourceIdstatic final Stringname 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_DBFields inherited from class edu.internet2.middleware.grouper.GrouperAPI
COLUMN_HIBERNATE_VERSION_NUMBER, dbVersion, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBERFields inherited from interface org.hibernate.classic.Lifecycle
NO_VETO, VETO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclone()deep clone the fields in this objectsave the state when retrieving from DBsee which fields have changed compared to the DB state (last known) note that attributes will print out: attribute__attributeNamevoidtake a snapshot of the data since this is what is in the dbvoiddelete()delete this objectbooleandisallowed for the db stringgetId()booleanbooleaninthashCode()booleanif permission is disallowed from a wider allow, null means falsevoidonPostSave(HibernateSession hibernateSession) after a save (insert) occursvoidonPreDelete(HibernateSession hibernateSession) before a delete (insert) occursvoidonPreUpdate(HibernateSession hibernateSession) before an update occursvoidsave()save this objectvoidsetAttributeAssignActionId(String attributeAssignActionId) voidsetAttributeAssignTypeDb(String attributeAssignType) voidsetAttributeDefNameId(String attributeDefNameId) voidsetContextId(String contextId) set context idvoidsetDisallowed(boolean disallowed1) if permission is disallowed from a wider allow, null means falsevoidsetDisallowedDb(String theDisallowed) disallowed for the db stringvoidset idvoidsetNotificationsForRolesWithPermissionChangesOnSaveOrUpdate(boolean notificationsForRolesWithPermissionChangesOnSaveOrUpdate) voidsetNotificationsForSubjectsWithPermissionChangesOnSaveOrUpdate(boolean notificationsForSubjectsWithPermissionChangesOnSaveOrUpdate) voidsetOwnerAttributeAssignId(String ownerAttributeAssignId) voidsetOwnerAttributeDefId(String ownerAttributeDefId) voidsetOwnerGroupId(String ownerGroupId) voidsetOwnerMemberId(String ownerMemberId) voidsetOwnerMembershipId(String ownerMembershipId) voidsetOwnerStemId(String ownerStemId) voidsetSaveChangeLogUpdates(boolean saveChangeLogUpdates) voidsetSourceId(String sourceId) set source idvoidupdate()update this objectMethods inherited from class edu.internet2.middleware.grouper.pit.GrouperPIT
getActiveDb, getEndTime, getEndTimeDb, getStartTime, getStartTimeDb, isActive, setActiveDb, setEndTimeDb, setStartTimeDbMethods inherited from class edu.internet2.middleware.grouper.GrouperAPI
dbVersionClear, dbVersionIsDifferent, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostUpdate, onPreSave, 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_OWNER_GROUP_ID
column- See Also:
-
COLUMN_DISALLOWED
column- See Also:
-
COLUMN_OWNER_STEM_ID
column- See Also:
-
COLUMN_OWNER_MEMBER_ID
column- See Also:
-
COLUMN_OWNER_MEMBERSHIP_ID
column- See Also:
-
COLUMN_OWNER_ATTRIBUTE_ASSIGN_ID
column- See Also:
-
COLUMN_OWNER_ATTRIBUTE_DEF_ID
column- See Also:
-
COLUMN_ATTRIBUTE_ASSIGN_ACTION_ID
column- See Also:
-
COLUMN_ATTRIBUTE_DEF_NAME_ID
column- See Also:
-
COLUMN_ATTRIBUTE_ASSIGN_TYPE
column- See Also:
-
COLUMN_SOURCE_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_DISALLOWED
constant for field name for: disallowed- See Also:
-
FIELD_ID
constant for field name for: id- See Also:
-
FIELD_OWNER_ATTRIBUTE_ASSIGN_ID
constant for field name for: ownerAttributeAssignId- See Also:
-
FIELD_OWNER_ATTRIBUTE_DEF_ID
constant for field name for: ownerAttributeDefId- See Also:
-
FIELD_OWNER_GROUP_ID
constant for field name for: ownerGroupId- See Also:
-
FIELD_OWNER_MEMBER_ID
constant for field name for: ownerMemberId- See Also:
-
FIELD_OWNER_MEMBERSHIP_ID
constant for field name for: ownerMembershipId- See Also:
-
FIELD_OWNER_STEM_ID
constant for field name for: ownerStemId- See Also:
-
FIELD_ATTRIBUTE_ASSIGN_ACTION_ID
constant for field name for: attributeAssignActionId- See Also:
-
FIELD_ATTRIBUTE_ASSIGN_TYPE
constant for field name for: attributeAssignType- See Also:
-
FIELD_ATTRIBUTE_DEF_NAME_ID
constant for field name for: attributeDefNameId- See Also:
-
TABLE_GROUPER_PIT_ATTRIBUTE_ASSIGN
name of the table in the database.- See Also:
-
-
Constructor Details
-
PITAttributeAssign
public PITAttributeAssign()
-
-
Method Details
-
setSaveChangeLogUpdates
public void setSaveChangeLogUpdates(boolean saveChangeLogUpdates) - Parameters:
saveChangeLogUpdates- the saveChangeLogUpdates to set
-
getChangeLogUpdates
- Returns:
- changelog entries
-
clearChangeLogUpdates
public void clearChangeLogUpdates() -
getSourceId
- Returns:
- source id
-
setSourceId
set source id- Parameters:
sourceId-
-
getNotificationsForRolesWithPermissionChangesOnSaveOrUpdate
public boolean getNotificationsForRolesWithPermissionChangesOnSaveOrUpdate()- Returns:
- boolean
-
setNotificationsForRolesWithPermissionChangesOnSaveOrUpdate
public void setNotificationsForRolesWithPermissionChangesOnSaveOrUpdate(boolean notificationsForRolesWithPermissionChangesOnSaveOrUpdate) - Parameters:
notificationsForRolesWithPermissionChangesOnSaveOrUpdate-
-
getNotificationsForSubjectsWithPermissionChangesOnSaveOrUpdate
public boolean getNotificationsForSubjectsWithPermissionChangesOnSaveOrUpdate()- Returns:
- boolean
-
setNotificationsForSubjectsWithPermissionChangesOnSaveOrUpdate
public void setNotificationsForSubjectsWithPermissionChangesOnSaveOrUpdate(boolean notificationsForSubjectsWithPermissionChangesOnSaveOrUpdate) - Parameters:
notificationsForSubjectsWithPermissionChangesOnSaveOrUpdate-
-
clone
Description copied from class:GrouperAPIdeep clone the fields in this object- Specified by:
clonein interfaceGrouperCloneable- Specified by:
clonein classGrouperAPI- Returns:
- the clone of the object
- See Also:
-
isDisallowed
public boolean isDisallowed()if permission is disallowed from a wider allow, null means false- Returns:
- the disallowed
-
setDisallowed
public void setDisallowed(boolean disallowed1) if permission is disallowed from a wider allow, null means false- Parameters:
disallowed1- the disallowed to set
-
getDisallowedDb
disallowed for the db string- Returns:
- the string
-
setDisallowedDb
disallowed for the db string- Parameters:
theDisallowed- the string T or F or null
-
getContextId
- Returns:
- context id
-
setContextId
set context id- Parameters:
contextId-
-
getId
- Returns:
- id
-
setId
set id- Parameters:
id-
-
getOwnerAttributeAssignId
- Returns:
- ownerAttributeAssignId
-
setOwnerAttributeAssignId
- Parameters:
ownerAttributeAssignId-
-
getOwnerAttributeDefId
- Returns:
- ownerAttributeDefId
-
setOwnerAttributeDefId
- Parameters:
ownerAttributeDefId-
-
getOwnerGroupId
- Returns:
- ownerGroupId
-
setOwnerGroupId
- Parameters:
ownerGroupId-
-
getOwnerMemberId
- Returns:
- ownerMemberId
-
setOwnerMemberId
- Parameters:
ownerMemberId-
-
getOwnerMembershipId
- Returns:
- ownerMembershipId
-
setOwnerMembershipId
- Parameters:
ownerMembershipId-
-
getOwnerStemId
- Returns:
- ownerStemId
-
setOwnerStemId
- Parameters:
ownerStemId-
-
getAttributeAssignActionId
- Returns:
- attributeAssignActionId
-
setAttributeAssignActionId
- Parameters:
attributeAssignActionId-
-
getAttributeAssignTypeDb
- Returns:
- attributeAssignType
-
setAttributeAssignTypeDb
- Parameters:
attributeAssignType-
-
getAttributeDefNameId
- Returns:
- attributeDefNameId
-
setAttributeDefNameId
- Parameters:
attributeDefNameId-
-
save
public void save()save this object -
update
public void update()update this object -
delete
public void delete()delete this object -
onPreUpdate
Description copied from interface:HibGrouperLifecyclebefore an update occurs- Specified by:
onPreUpdatein interfaceHibGrouperLifecycle- Overrides:
onPreUpdatein classGrouperAPI- See Also:
-
onPostSave
Description copied from interface:HibGrouperLifecycleafter a save (insert) occurs- Specified by:
onPostSavein interfaceHibGrouperLifecycle- Overrides:
onPostSavein classGrouperAPI- See Also:
-
dbVersion
save the state when retrieving from DB- Overrides:
dbVersionin classGrouperAPI- Returns:
- the dbVersion
-
dbVersionReset
public void dbVersionReset()take a snapshot of the data since this is what is in the db- Overrides:
dbVersionResetin classGrouperAPI
-
dbVersionDifferentFields
Description copied from class:GrouperAPIsee which fields have changed compared to the DB state (last known) note that attributes will print out: attribute__attributeName- Overrides:
dbVersionDifferentFieldsin classGrouperAPI- Returns:
- a set of attributes changed, or empty set if none
- See Also:
-
equals
-
hashCode
public int hashCode() -
onPreDelete
Description copied from interface:HibGrouperLifecyclebefore a delete (insert) occurs- Specified by:
onPreDeletein interfaceHibGrouperLifecycle- Overrides:
onPreDeletein classGrouperAPI- See Also:
-
getPITAttributeAssignAction
- Returns:
- pitAttributeAssignAction
-
getPITAttributeDefName
- Returns:
- pitAttributeDefName
-
getOwnerPITGroup
- Returns:
- pitOwnerGroup
-
getOwnerPITAttributeAssign
- Returns:
- pitOwnerAttributeAssign
-
getOwnerPITAttributeDef
- Returns:
- pitOwnerAttributeDef
-
getOwnerPITMember
- Returns:
- pitOwnerMember
-
getOwnerPITMembership
- Returns:
- pitOwnerMembership
-
getOwnerPITStem
- Returns:
- pitOwnerStem
-