public class PITRoleSet 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_ROLE_ID
ifHasRoleId
|
static String |
COLUMN_PARENT_ROLE_SET_ID
parentRoleSetId
|
static String |
COLUMN_SOURCE_ID
column
|
static String |
COLUMN_THEN_HAS_ROLE_ID
thenHasRoleId
|
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_ROLE_ID
constant for field name for: ifHasRoleId
|
static String |
FIELD_PARENT_ROLE_SET_ID
constant for field name for: parentRoleSetId
|
static String |
FIELD_SOURCE_ID
constant for field name for: sourceId
|
static String |
FIELD_THEN_HAS_ROLE_ID
constant for field name for: thenHasRoleId
|
static String |
TABLE_GROUPER_PIT_ROLE_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_DBCOLUMN_HIBERNATE_VERSION_NUMBER, dbVersion, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER| Constructor and Description |
|---|
PITRoleSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearChangeLogUpdates() |
GrouperAPI |
clone()
deep clone the fields in this object
|
PITRoleSet |
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() |
PITGroup |
getIfHasPITRole() |
String |
getIfHasRoleId() |
boolean |
getNotificationsForRolesWithPermissionChangesOnSaveOrUpdate() |
boolean |
getNotificationsForSubjectsWithPermissionChangesOnSaveOrUpdate() |
PITRoleSet |
getParentPITRoleSet() |
String |
getParentRoleSetId() |
String |
getSourceId() |
PITGroup |
getThenHasPITRole() |
String |
getThenHasRoleId() |
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 |
setIfHasRoleId(String ifHasRoleId) |
void |
setNotificationsForRolesWithPermissionChangesOnSaveOrUpdate(boolean notificationsForRolesWithPermissionChangesOnSaveOrUpdate) |
void |
setNotificationsForSubjectsWithPermissionChangesOnSaveOrUpdate(boolean notificationsForSubjectsWithPermissionChangesOnSaveOrUpdate) |
void |
setParentRoleSetId(String parentRoleSetId) |
void |
setSaveChangeLogUpdates(boolean saveChangeLogUpdates) |
void |
setSourceId(String sourceId)
set source id
|
void |
setThenHasRoleId(String thenHasRoleId) |
getActiveDb, getEndTime, getEndTimeDb, getStartTime, getStartTimeDb, isActive, setActiveDb, setEndTimeDb, setStartTimeDbdbVersionClear, dbVersionIsDifferent, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostUpdate, onPreSave, onSave, onUpdate, setHibernateVersionNumberpublic 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_ROLE_ID
public static final String COLUMN_THEN_HAS_ROLE_ID
public static final String COLUMN_PARENT_ROLE_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_ROLE_ID
public static final String FIELD_THEN_HAS_ROLE_ID
public static final String FIELD_PARENT_ROLE_SET_ID
public static final String TABLE_GROUPER_PIT_ROLE_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()
GrouperAPIclone in interface GrouperCloneableclone in class GrouperAPIGrouperAPI.clone()public String getContextId()
public void setContextId(String contextId)
contextId - public String getId()
public void setId(String id)
id - public String getParentRoleSetId()
public void setParentRoleSetId(String parentRoleSetId)
parentRoleSetId - public String getThenHasRoleId()
public void setThenHasRoleId(String thenHasRoleId)
thenHasRoleId - public String getIfHasRoleId()
public void setIfHasRoleId(String ifHasRoleId)
ifHasRoleId - public int getDepth()
public void setDepth(int depth)
depth - public void saveOrUpdate()
public void delete()
public void onPreUpdate(HibernateSession hibernateSession)
HibGrouperLifecycleonPreUpdate in interface HibGrouperLifecycleonPreUpdate in class GrouperAPIGrouperAPI.onPreUpdate(edu.internet2.middleware.grouper.hibernate.HibernateSession)public void onPostSave(HibernateSession hibernateSession)
HibGrouperLifecycleonPostSave in interface HibGrouperLifecycleonPostSave in class GrouperAPIGrouperAPI.onPostSave(edu.internet2.middleware.grouper.hibernate.HibernateSession)public PITRoleSet dbVersion()
dbVersion in class GrouperAPIpublic void dbVersionReset()
dbVersionReset in class GrouperAPIpublic Set<String> dbVersionDifferentFields()
GrouperAPIdbVersionDifferentFields in class GrouperAPIGrouperAPI.dbVersionDifferentFields()public void onPreDelete(HibernateSession hibernateSession)
HibGrouperLifecycleonPreDelete in interface HibGrouperLifecycleonPreDelete in class GrouperAPIGrouperAPI.onPreDelete(edu.internet2.middleware.grouper.hibernate.HibernateSession)public PITGroup getIfHasPITRole()
public PITGroup getThenHasPITRole()
public PITRoleSet getParentPITRoleSet()
Copyright © 2016 Internet2. All rights reserved.