public class PITAttributeAssign extends GrouperPIT implements Hib3GrouperVersioned
Modifier and Type | Field and Description |
---|---|
static String |
COLUMN_ATTRIBUTE_ASSIGN_ACTION_ID
column
|
static String |
COLUMN_ATTRIBUTE_ASSIGN_TYPE
column
|
static String |
COLUMN_ATTRIBUTE_DEF_NAME_ID
column
|
static String |
COLUMN_CONTEXT_ID
Context id links together multiple operations into one high level action
|
static String |
COLUMN_DISALLOWED
column
|
static String |
COLUMN_ID
db id for this row
|
static String |
COLUMN_OWNER_ATTRIBUTE_ASSIGN_ID
column
|
static String |
COLUMN_OWNER_ATTRIBUTE_DEF_ID
column
|
static String |
COLUMN_OWNER_GROUP_ID
column
|
static String |
COLUMN_OWNER_MEMBER_ID
column
|
static String |
COLUMN_OWNER_MEMBERSHIP_ID
column
|
static String |
COLUMN_OWNER_STEM_ID
column
|
static String |
COLUMN_SOURCE_ID
column
|
static String |
FIELD_ATTRIBUTE_ASSIGN_ACTION_ID
constant for field name for: attributeAssignActionId
|
static String |
FIELD_ATTRIBUTE_ASSIGN_TYPE
constant for field name for: attributeAssignType
|
static String |
FIELD_ATTRIBUTE_DEF_NAME_ID
constant for field name for: attributeDefNameId
|
static String |
FIELD_CONTEXT_ID
constant for field name for: contextId
|
static String |
FIELD_DISALLOWED
constant for field name for: disallowed
|
static String |
FIELD_ID
constant for field name for: id
|
static String |
FIELD_OWNER_ATTRIBUTE_ASSIGN_ID
constant for field name for: ownerAttributeAssignId
|
static String |
FIELD_OWNER_ATTRIBUTE_DEF_ID
constant for field name for: ownerAttributeDefId
|
static String |
FIELD_OWNER_GROUP_ID
constant for field name for: ownerGroupId
|
static String |
FIELD_OWNER_MEMBER_ID
constant for field name for: ownerMemberId
|
static String |
FIELD_OWNER_MEMBERSHIP_ID
constant for field name for: ownerMembershipId
|
static String |
FIELD_OWNER_STEM_ID
constant for field name for: ownerStemId
|
static String |
FIELD_SOURCE_ID
constant for field name for: sourceId
|
static String |
TABLE_GROUPER_PIT_ATTRIBUTE_ASSIGN
name of the table in the database.
|
COLUMN_ACTIVE, COLUMN_END_TIME, COLUMN_START_TIME, FIELD_ACTIVE_DB, FIELD_END_TIME_DB, FIELD_START_TIME_DB
COLUMN_HIBERNATE_VERSION_NUMBER, dbVersion, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER
Constructor and Description |
---|
PITAttributeAssign() |
Modifier and Type | Method and Description |
---|---|
PITAttributeAssign |
clone()
deep clone the fields in this object
|
PITAttributeAssign |
dbVersion()
save the state when retrieving from DB
|
Set<String> |
dbVersionDifferentFields()
see which fields have changed compared to the DB state (last known)
note that attributes will print out: attribute__attributeName
|
void |
dbVersionReset()
take a snapshot of the data since this is what is in the db
|
void |
delete()
delete this object
|
boolean |
equals(Object other) |
String |
getAttributeAssignActionId() |
String |
getAttributeAssignTypeDb() |
String |
getAttributeDefNameId() |
String |
getContextId() |
String |
getDisallowedDb()
disallowed for the db string
|
String |
getId() |
boolean |
getNotificationsForRolesWithPermissionChangesOnSaveOrUpdate() |
String |
getOwnerAttributeAssignId() |
String |
getOwnerAttributeDefId() |
String |
getOwnerGroupId() |
String |
getOwnerMemberId() |
String |
getOwnerMembershipId() |
PITAttributeAssign |
getOwnerPITAttributeAssign() |
PITAttributeDef |
getOwnerPITAttributeDef() |
PITGroup |
getOwnerPITGroup() |
PITMember |
getOwnerPITMember() |
PITMembership |
getOwnerPITMembership() |
PITStem |
getOwnerPITStem() |
String |
getOwnerStemId() |
PITAttributeAssignAction |
getPITAttributeAssignAction() |
PITAttributeDefName |
getPITAttributeDefName() |
String |
getSourceId() |
int |
hashCode() |
boolean |
isDisallowed()
if permission is disallowed from a wider allow, null means false
|
void |
onPostSave(HibernateSession hibernateSession)
after a save (insert) occurs
|
void |
onPreDelete(HibernateSession hibernateSession)
before a delete (insert) occurs
|
void |
onPreUpdate(HibernateSession hibernateSession)
before an update occurs
|
void |
save()
save this object
|
void |
setAttributeAssignActionId(String attributeAssignActionId) |
void |
setAttributeAssignTypeDb(String attributeAssignType) |
void |
setAttributeDefNameId(String attributeDefNameId) |
void |
setContextId(String contextId)
set context id
|
void |
setDisallowed(boolean disallowed1)
if permission is disallowed from a wider allow, null means false
|
void |
setDisallowedDb(String theDisallowed)
disallowed for the db string
|
void |
setId(String id)
set id
|
void |
setNotificationsForRolesWithPermissionChangesOnSaveOrUpdate(boolean notificationsForRolesWithPermissionChangesOnSaveOrUpdate) |
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 |
setSourceId(String sourceId)
set source id
|
void |
update()
update this object
|
getActiveDb, getEndTime, getEndTimeDb, getStartTime, getStartTimeDb, isActive, setActiveDb, setEndTimeDb, setStartTimeDb
dbVersionClear, dbVersionIsDifferent, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostUpdate, onPreSave, onSave, onUpdate, setHibernateVersionNumber
public static final String COLUMN_ID
public static final String COLUMN_CONTEXT_ID
public static final String COLUMN_OWNER_GROUP_ID
public static final String COLUMN_DISALLOWED
public static final String COLUMN_OWNER_STEM_ID
public static final String COLUMN_OWNER_MEMBER_ID
public static final String COLUMN_OWNER_MEMBERSHIP_ID
public static final String COLUMN_OWNER_ATTRIBUTE_ASSIGN_ID
public static final String COLUMN_OWNER_ATTRIBUTE_DEF_ID
public static final String COLUMN_ATTRIBUTE_ASSIGN_ACTION_ID
public static final String COLUMN_ATTRIBUTE_DEF_NAME_ID
public static final String COLUMN_ATTRIBUTE_ASSIGN_TYPE
public static final String COLUMN_SOURCE_ID
public static final String FIELD_SOURCE_ID
public static final String FIELD_CONTEXT_ID
public static final String FIELD_DISALLOWED
public static final String FIELD_ID
public static final String FIELD_OWNER_ATTRIBUTE_ASSIGN_ID
public static final String FIELD_OWNER_ATTRIBUTE_DEF_ID
public static final String FIELD_OWNER_GROUP_ID
public static final String FIELD_OWNER_MEMBER_ID
public static final String FIELD_OWNER_MEMBERSHIP_ID
public static final String FIELD_OWNER_STEM_ID
public static final String FIELD_ATTRIBUTE_ASSIGN_ACTION_ID
public static final String FIELD_ATTRIBUTE_ASSIGN_TYPE
public static final String FIELD_ATTRIBUTE_DEF_NAME_ID
public static final String TABLE_GROUPER_PIT_ATTRIBUTE_ASSIGN
public String getSourceId()
public void setSourceId(String sourceId)
sourceId
- public boolean getNotificationsForRolesWithPermissionChangesOnSaveOrUpdate()
public void setNotificationsForRolesWithPermissionChangesOnSaveOrUpdate(boolean notificationsForRolesWithPermissionChangesOnSaveOrUpdate)
notificationsForRolesWithPermissionChangesOnSaveOrUpdate
- public PITAttributeAssign clone()
GrouperAPI
clone
in interface GrouperCloneable
clone
in class GrouperAPI
GrouperAPI.clone()
public boolean isDisallowed()
public void setDisallowed(boolean disallowed1)
disallowed1
- the disallowed to setpublic String getDisallowedDb()
public void setDisallowedDb(String theDisallowed)
theDisallowed
- the string T or F or nullpublic String getContextId()
public void setContextId(String contextId)
contextId
- public String getId()
public void setId(String id)
id
- public String getOwnerAttributeAssignId()
public void setOwnerAttributeAssignId(String ownerAttributeAssignId)
ownerAttributeAssignId
- public String getOwnerAttributeDefId()
public void setOwnerAttributeDefId(String ownerAttributeDefId)
ownerAttributeDefId
- public String getOwnerGroupId()
public void setOwnerGroupId(String ownerGroupId)
ownerGroupId
- public String getOwnerMemberId()
public void setOwnerMemberId(String ownerMemberId)
ownerMemberId
- public String getOwnerMembershipId()
public void setOwnerMembershipId(String ownerMembershipId)
ownerMembershipId
- public String getOwnerStemId()
public void setOwnerStemId(String ownerStemId)
ownerStemId
- public String getAttributeAssignActionId()
public void setAttributeAssignActionId(String attributeAssignActionId)
attributeAssignActionId
- public String getAttributeAssignTypeDb()
public void setAttributeAssignTypeDb(String attributeAssignType)
attributeAssignType
- public String getAttributeDefNameId()
public void setAttributeDefNameId(String attributeDefNameId)
attributeDefNameId
- public void save()
public void update()
public void delete()
public void onPreUpdate(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreUpdate
in interface HibGrouperLifecycle
onPreUpdate
in class GrouperAPI
GrouperAPI.onPreUpdate(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public void onPostSave(HibernateSession hibernateSession)
HibGrouperLifecycle
onPostSave
in interface HibGrouperLifecycle
onPostSave
in class GrouperAPI
GrouperAPI.onPostSave(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public PITAttributeAssign dbVersion()
dbVersion
in class GrouperAPI
public void dbVersionReset()
dbVersionReset
in class GrouperAPI
public Set<String> dbVersionDifferentFields()
GrouperAPI
dbVersionDifferentFields
in class GrouperAPI
GrouperAPI.dbVersionDifferentFields()
public boolean equals(Object other)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public void onPreDelete(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreDelete
in interface HibGrouperLifecycle
onPreDelete
in class GrouperAPI
GrouperAPI.onPreDelete(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public PITAttributeAssignAction getPITAttributeAssignAction()
public PITAttributeDefName getPITAttributeDefName()
public PITGroup getOwnerPITGroup()
public PITAttributeAssign getOwnerPITAttributeAssign()
public PITAttributeDef getOwnerPITAttributeDef()
public PITMember getOwnerPITMember()
public PITMembership getOwnerPITMembership()
public PITStem getOwnerPITStem()
Copyright © 2016 Internet2. All rights reserved.