public class PITAttributeDefNameSet extends GrouperPIT implements Hib3GrouperVersioned
Modifier and Type | Field and Description |
---|---|
static String |
COLUMN_CONTEXT_ID
Context id links together multiple operations into one high level action
|
static String |
COLUMN_DEPTH
depth
|
static String |
COLUMN_ID
db id for this row
|
static String |
COLUMN_IF_HAS_ATTRIBUTE_DEF_NAME_ID
ifHasAttributeDefNameId
|
static String |
COLUMN_PARENT_ATTR_DEF_NAME_SET_ID
parentAttrDefNameSetId
|
static String |
COLUMN_SOURCE_ID
column
|
static String |
COLUMN_THEN_HAS_ATTRIBUTE_DEF_NAME_ID
thenHasAttributeDefNameId
|
static String |
FIELD_CONTEXT_ID
constant for field name for: contextId
|
static String |
FIELD_DEPTH
constant for field name for: depth
|
static String |
FIELD_ID
constant for field name for: id
|
static String |
FIELD_IF_HAS_ATTRIBUTE_DEF_NAME_ID
constant for field name for: ifHasAttributeDefNameId
|
static String |
FIELD_PARENT_ATTR_DEF_NAME_SET_ID
constant for field name for: parentAttrDefNameSetId
|
static String |
FIELD_SOURCE_ID
constant for field name for: sourceId
|
static String |
FIELD_THEN_HAS_ATTRIBUTE_DEF_NAME_ID
constant for field name for: thenHasAttributeDefNameId
|
static String |
TABLE_GROUPER_PIT_ATTRIBUTE_DEF_NAME_SET
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 |
---|
PITAttributeDefNameSet() |
Modifier and Type | Method and Description |
---|---|
void |
clearChangeLogUpdates() |
GrouperAPI |
clone()
deep clone the fields in this object
|
PITAttributeDefNameSet |
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
|
List<ChangeLogEntry> |
getChangeLogUpdates() |
String |
getContextId() |
int |
getDepth() |
String |
getId() |
String |
getIfHasAttributeDefNameId() |
PITAttributeDefName |
getIfHasPITAttributeDefName() |
boolean |
getNotificationsForRolesWithPermissionChangesOnSaveOrUpdate() |
boolean |
getNotificationsForSubjectsWithPermissionChangesOnSaveOrUpdate() |
String |
getParentAttrDefNameSetId() |
PITAttributeDefNameSet |
getParentPITAttributeDefNameSet() |
String |
getSourceId() |
String |
getThenHasAttributeDefNameId() |
PITAttributeDefName |
getThenHasPITAttributeDefName() |
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 |
saveOrUpdate()
save or update this object
|
void |
setContextId(String contextId)
set context id
|
void |
setDepth(int depth) |
void |
setId(String id)
set id
|
void |
setIfHasAttributeDefNameId(String ifHasAttributeDefNameId) |
void |
setNotificationsForRolesWithPermissionChangesOnSaveOrUpdate(boolean notificationsForRolesWithPermissionChangesOnSaveOrUpdate) |
void |
setNotificationsForSubjectsWithPermissionChangesOnSaveOrUpdate(boolean notificationsForSubjectsWithPermissionChangesOnSaveOrUpdate) |
void |
setParentAttrDefNameSetId(String parentAttrDefNameSetId) |
void |
setSaveChangeLogUpdates(boolean saveChangeLogUpdates) |
void |
setSourceId(String sourceId)
set source id
|
void |
setThenHasAttributeDefNameId(String thenHasAttributeDefNameId) |
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_DEPTH
public static final String COLUMN_IF_HAS_ATTRIBUTE_DEF_NAME_ID
public static final String COLUMN_THEN_HAS_ATTRIBUTE_DEF_NAME_ID
public static final String COLUMN_PARENT_ATTR_DEF_NAME_SET_ID
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_DEPTH
public static final String FIELD_ID
public static final String FIELD_IF_HAS_ATTRIBUTE_DEF_NAME_ID
public static final String FIELD_THEN_HAS_ATTRIBUTE_DEF_NAME_ID
public static final String FIELD_PARENT_ATTR_DEF_NAME_SET_ID
public static final String TABLE_GROUPER_PIT_ATTRIBUTE_DEF_NAME_SET
public void setSaveChangeLogUpdates(boolean saveChangeLogUpdates)
saveChangeLogUpdates
- the saveChangeLogUpdates to setpublic List<ChangeLogEntry> getChangeLogUpdates()
public void clearChangeLogUpdates()
public String getSourceId()
public void setSourceId(String sourceId)
sourceId
- public boolean getNotificationsForRolesWithPermissionChangesOnSaveOrUpdate()
public void setNotificationsForRolesWithPermissionChangesOnSaveOrUpdate(boolean notificationsForRolesWithPermissionChangesOnSaveOrUpdate)
notificationsForRolesWithPermissionChangesOnSaveOrUpdate
- public boolean getNotificationsForSubjectsWithPermissionChangesOnSaveOrUpdate()
public void setNotificationsForSubjectsWithPermissionChangesOnSaveOrUpdate(boolean notificationsForSubjectsWithPermissionChangesOnSaveOrUpdate)
notificationsForSubjectsWithPermissionChangesOnSaveOrUpdate
- public GrouperAPI clone()
GrouperAPI
clone
in interface GrouperCloneable
clone
in class GrouperAPI
GrouperAPI.clone()
public String getContextId()
public void setContextId(String contextId)
contextId
- public String getId()
public void setId(String id)
id
- public String getParentAttrDefNameSetId()
public void setParentAttrDefNameSetId(String parentAttrDefNameSetId)
parentAttrDefNameSetId
- public String getThenHasAttributeDefNameId()
public void setThenHasAttributeDefNameId(String thenHasAttributeDefNameId)
thenHasAttributeDefNameId
- public String getIfHasAttributeDefNameId()
public void setIfHasAttributeDefNameId(String ifHasAttributeDefNameId)
ifHasAttributeDefNameId
- public int getDepth()
public void setDepth(int depth)
depth
- public void saveOrUpdate()
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 PITAttributeDefNameSet dbVersion()
dbVersion
in class GrouperAPI
public void dbVersionReset()
dbVersionReset
in class GrouperAPI
public Set<String> dbVersionDifferentFields()
GrouperAPI
dbVersionDifferentFields
in class GrouperAPI
GrouperAPI.dbVersionDifferentFields()
public void onPreDelete(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreDelete
in interface HibGrouperLifecycle
onPreDelete
in class GrouperAPI
GrouperAPI.onPreDelete(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public PITAttributeDefName getIfHasPITAttributeDefName()
public PITAttributeDefName getThenHasPITAttributeDefName()
public PITAttributeDefNameSet getParentPITAttributeDefNameSet()
Copyright © 2016 Internet2. All rights reserved.