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 String
columnstatic final String
columnstatic final String
columnstatic final String
Context id links together multiple operations into one high level actionstatic final String
columnstatic final String
db id for this rowstatic final String
columnstatic final String
columnstatic final String
columnstatic final String
columnstatic final String
columnstatic final String
columnstatic final String
columnstatic final String
constant for field name for: attributeAssignActionIdstatic final String
constant for field name for: attributeAssignTypestatic final String
constant for field name for: attributeDefNameIdstatic final String
constant for field name for: contextIdstatic final String
constant for field name for: disallowedstatic final String
constant for field name for: idstatic final String
constant for field name for: ownerAttributeAssignIdstatic final String
constant for field name for: ownerAttributeDefIdstatic final String
constant for field name for: ownerGroupIdstatic final String
constant for field name for: ownerMemberIdstatic final String
constant for field name for: ownerMembershipIdstatic final String
constant for field name for: ownerStemIdstatic final String
constant for field name for: sourceIdstatic 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
COLUMN_HIBERNATE_VERSION_NUMBER, 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 TypeMethodDescriptionvoid
clone()
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__attributeNamevoid
take a snapshot of the data since this is what is in the dbvoid
delete()
delete this objectboolean
disallowed for the db stringgetId()
boolean
boolean
int
hashCode()
boolean
if permission is disallowed from a wider allow, null means falsevoid
onPostSave
(HibernateSession hibernateSession) after a save (insert) occursvoid
onPreDelete
(HibernateSession hibernateSession) before a delete (insert) occursvoid
onPreUpdate
(HibernateSession hibernateSession) before an update occursvoid
save()
save this objectvoid
setAttributeAssignActionId
(String attributeAssignActionId) void
setAttributeAssignTypeDb
(String attributeAssignType) void
setAttributeDefNameId
(String attributeDefNameId) void
setContextId
(String contextId) set context idvoid
setDisallowed
(boolean disallowed1) if permission is disallowed from a wider allow, null means falsevoid
setDisallowedDb
(String theDisallowed) disallowed for the db stringvoid
set idvoid
setNotificationsForRolesWithPermissionChangesOnSaveOrUpdate
(boolean notificationsForRolesWithPermissionChangesOnSaveOrUpdate) void
setNotificationsForSubjectsWithPermissionChangesOnSaveOrUpdate
(boolean notificationsForSubjectsWithPermissionChangesOnSaveOrUpdate) void
setOwnerAttributeAssignId
(String ownerAttributeAssignId) void
setOwnerAttributeDefId
(String ownerAttributeDefId) void
setOwnerGroupId
(String ownerGroupId) void
setOwnerMemberId
(String ownerMemberId) void
setOwnerMembershipId
(String ownerMembershipId) void
setOwnerStemId
(String ownerStemId) void
setSaveChangeLogUpdates
(boolean saveChangeLogUpdates) void
setSourceId
(String sourceId) set source idvoid
update()
update this objectMethods 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
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: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:
-
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:HibGrouperLifecycle
before an update occurs- Specified by:
onPreUpdate
in interfaceHibGrouperLifecycle
- Overrides:
onPreUpdate
in classGrouperAPI
- See Also:
-
onPostSave
Description copied from interface:HibGrouperLifecycle
after a save (insert) occurs- Specified by:
onPostSave
in interfaceHibGrouperLifecycle
- Overrides:
onPostSave
in classGrouperAPI
- See Also:
-
dbVersion
save the state when retrieving from DB- Overrides:
dbVersion
in classGrouperAPI
- Returns:
- the dbVersion
-
dbVersionReset
public void dbVersionReset()take a snapshot of the data since this is what is in the db- Overrides:
dbVersionReset
in classGrouperAPI
-
dbVersionDifferentFields
Description copied from class:GrouperAPI
see which fields have changed compared to the DB state (last known) note that attributes will print out: attribute__attributeName- Overrides:
dbVersionDifferentFields
in classGrouperAPI
- Returns:
- a set of attributes changed, or empty set if none
- See Also:
-
equals
-
hashCode
public int hashCode() -
onPreDelete
Description copied from interface:HibGrouperLifecycle
before a delete (insert) occurs- Specified by:
onPreDelete
in interfaceHibGrouperLifecycle
- Overrides:
onPreDelete
in 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
-