public class PITGroupSet 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_FIELD_ID
field_id
|
static String |
COLUMN_ID
db id for this row
|
static String |
COLUMN_MEMBER_ATTR_DEF_ID
member_attr_def_id
|
static String |
COLUMN_MEMBER_FIELD_ID
member_field_id
|
static String |
COLUMN_MEMBER_GROUP_ID
member_group_id
|
static String |
COLUMN_MEMBER_ID
member_id
|
static String |
COLUMN_MEMBER_STEM_ID
member_stem_id
|
static String |
COLUMN_OWNER_ATTR_DEF_ID
owner_attr_def_id
|
static String |
COLUMN_OWNER_GROUP_ID
owner_group_id
|
static String |
COLUMN_OWNER_ID
owner_id
|
static String |
COLUMN_OWNER_STEM_ID
owner_stem_id
|
static String |
COLUMN_PARENT_ID
parent_id
|
static String |
COLUMN_SOURCE_ID
column
|
static String |
FIELD_CONTEXT_ID
constant for field name for: contextId
|
static String |
FIELD_DEPTH
constant for field name for: depth
|
static String |
FIELD_FIELD_ID
constant for field name for: fieldId
|
static String |
FIELD_ID
constant for field name for: id
|
static String |
FIELD_MEMBER_ATTR_DEF_ID
constant for field name for: memberAttrDefId
|
static String |
FIELD_MEMBER_FIELD_ID
constant for field name for: memberFieldId
|
static String |
FIELD_MEMBER_GROUP_ID
constant for field name for: memberGroupId
|
static String |
FIELD_MEMBER_ID
constant for field name for: memberId
|
static String |
FIELD_MEMBER_STEM_ID
constant for field name for: memberStemId
|
static String |
FIELD_OWNER_ATTR_DEF_ID
constant for field name for: ownerAttrDefId
|
static String |
FIELD_OWNER_GROUP_ID
constant for field name for: ownerGroupId
|
static String |
FIELD_OWNER_ID
constant for field name for: ownerId
|
static String |
FIELD_OWNER_STEM_ID
constant for field name for: ownerStemId
|
static String |
FIELD_PARENT_ID
constant for field name for: parentId
|
static String |
FIELD_SOURCE_ID
constant for field name for: sourceId
|
static String |
TABLE_GROUPER_PIT_GROUP_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 |
---|
PITGroupSet() |
Modifier and Type | Method and Description |
---|---|
GrouperAPI |
clone()
deep clone the fields in this object
|
PITGroupSet |
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
|
String |
getContextId() |
int |
getDepth() |
String |
getFieldId() |
boolean |
getFlatMembershipNotificationsOnSaveOrUpdate() |
boolean |
getFlatPrivilegeNotificationsOnSaveOrUpdate() |
String |
getId() |
String |
getMemberAttrDefId() |
String |
getMemberFieldId() |
String |
getMemberGroupId() |
String |
getMemberId() |
PITAttributeDef |
getMemberPITAttributeDef() |
PITField |
getMemberPITField() |
PITGroup |
getMemberPITGroup() |
PITStem |
getMemberPITStem() |
String |
getMemberStemId() |
String |
getOwnerAttrDefId() |
String |
getOwnerGroupId() |
String |
getOwnerId() |
PITAttributeDef |
getOwnerPITAttributeDef() |
PITGroup |
getOwnerPITGroup() |
PITStem |
getOwnerPITStem() |
String |
getOwnerStemId() |
String |
getParentId() |
PITGroupSet |
getParentPITGroupSet() |
PITField |
getPITField() |
String |
getSourceId() |
void |
internal_disable()
Disable this group set by adding an end date of the current time
|
void |
onPostSave(HibernateSession hibernateSession)
after a save (insert) occurs
|
void |
onPostUpdate(HibernateSession hibernateSession)
after an update occurs
|
void |
onPreDelete(HibernateSession hibernateSession)
before a delete (insert) occurs
|
void |
onPreSave(HibernateSession hibernateSession)
before a save (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 |
setFieldId(String fieldId) |
void |
setFlatMembershipNotificationsOnSaveOrUpdate(boolean flatMembershipNotificationsOnSaveOrUpdate) |
void |
setFlatPrivilegeNotificationsOnSaveOrUpdate(boolean flatPrivilegeNotificationsOnSaveOrUpdate) |
void |
setId(String id)
set id
|
void |
setMemberAttrDefId(String memberAttrDefId) |
void |
setMemberFieldId(String memberFieldId) |
void |
setMemberGroupId(String memberGroupId) |
void |
setMemberId(String memberId) |
void |
setMemberStemId(String memberStemId) |
void |
setOwnerAttrDefId(String ownerAttrDefId) |
void |
setOwnerGroupId(String ownerGroupId) |
void |
setOwnerId(String ownerId) |
void |
setOwnerStemId(String ownerStemId) |
void |
setParentId(String parentId) |
void |
setSourceId(String sourceId)
set source id
|
getActiveDb, getEndTime, getEndTimeDb, getStartTime, getStartTimeDb, isActive, setActiveDb, setEndTimeDb, setStartTimeDb
dbVersionClear, dbVersionIsDifferent, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onSave, onUpdate, setHibernateVersionNumber
public static final String COLUMN_ID
public static final String COLUMN_CONTEXT_ID
public static final String COLUMN_OWNER_ID
public static final String COLUMN_OWNER_ATTR_DEF_ID
public static final String COLUMN_OWNER_GROUP_ID
public static final String COLUMN_OWNER_STEM_ID
public static final String COLUMN_MEMBER_ID
public static final String COLUMN_MEMBER_ATTR_DEF_ID
public static final String COLUMN_MEMBER_GROUP_ID
public static final String COLUMN_MEMBER_STEM_ID
public static final String COLUMN_FIELD_ID
public static final String COLUMN_MEMBER_FIELD_ID
public static final String COLUMN_DEPTH
public static final String COLUMN_PARENT_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_ID
public static final String FIELD_OWNER_ID
public static final String FIELD_OWNER_ATTR_DEF_ID
public static final String FIELD_OWNER_GROUP_ID
public static final String FIELD_OWNER_STEM_ID
public static final String FIELD_MEMBER_ID
public static final String FIELD_MEMBER_ATTR_DEF_ID
public static final String FIELD_MEMBER_GROUP_ID
public static final String FIELD_MEMBER_STEM_ID
public static final String FIELD_FIELD_ID
public static final String FIELD_MEMBER_FIELD_ID
public static final String FIELD_DEPTH
public static final String FIELD_PARENT_ID
public static final String TABLE_GROUPER_PIT_GROUP_SET
public String getSourceId()
public void setSourceId(String sourceId)
sourceId
- public boolean getFlatMembershipNotificationsOnSaveOrUpdate()
public void setFlatMembershipNotificationsOnSaveOrUpdate(boolean flatMembershipNotificationsOnSaveOrUpdate)
flatMembershipNotificationsOnSaveOrUpdate
- public boolean getFlatPrivilegeNotificationsOnSaveOrUpdate()
public void setFlatPrivilegeNotificationsOnSaveOrUpdate(boolean flatPrivilegeNotificationsOnSaveOrUpdate)
flatPrivilegeNotificationsOnSaveOrUpdate
- 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 void saveOrUpdate()
public void delete()
public String getOwnerId()
public void setOwnerId(String ownerId)
ownerId
- public String getOwnerAttrDefId()
public void setOwnerAttrDefId(String ownerAttrDefId)
ownerAttrDefId
- public String getOwnerGroupId()
public void setOwnerGroupId(String ownerGroupId)
ownerGroupId
- public String getOwnerStemId()
public void setOwnerStemId(String ownerStemId)
ownerStemId
- public String getMemberId()
public void setMemberId(String memberId)
memberId
- public String getFieldId()
public void setFieldId(String fieldId)
fieldId
- public String getMemberAttrDefId()
public void setMemberAttrDefId(String memberAttrDefId)
memberAttrDefId
- public String getMemberGroupId()
public void setMemberGroupId(String memberGroupId)
memberGroupId
- public String getMemberStemId()
public void setMemberStemId(String memberStemId)
memberStemId
- public String getMemberFieldId()
public void setMemberFieldId(String memberFieldId)
memberFieldId
- public String getParentId()
public void setParentId(String parentId)
parentId
- public int getDepth()
public void setDepth(int depth)
depth
- public void onPreSave(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreSave
in interface HibGrouperLifecycle
onPreSave
in class GrouperAPI
GrouperAPI.onPreSave(edu.internet2.middleware.grouper.hibernate.HibernateSession)
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 void onPostUpdate(HibernateSession hibernateSession)
HibGrouperLifecycle
onPostUpdate
in interface HibGrouperLifecycle
onPostUpdate
in class GrouperAPI
GrouperAPI.onPostUpdate(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public PITGroupSet 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 PITGroupSet getParentPITGroupSet()
public PITField getPITField()
public PITField getMemberPITField()
public PITGroup getMemberPITGroup()
public PITAttributeDef getMemberPITAttributeDef()
public PITStem getMemberPITStem()
public PITGroup getOwnerPITGroup()
public PITAttributeDef getOwnerPITAttributeDef()
public PITStem getOwnerPITStem()
public void internal_disable()
Copyright © 2016 Internet2. All rights reserved.