|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.internet2.middleware.grouper.GrouperAPI edu.internet2.middleware.grouper.pit.GrouperPIT edu.internet2.middleware.grouper.pit.PITAttributeDefNameSet
public class PITAttributeDefNameSet
Field Summary | |
---|---|
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. |
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, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER |
Fields inherited from interface org.hibernate.classic.Lifecycle |
---|
NO_VETO, VETO |
Constructor Summary | |
---|---|
PITAttributeDefNameSet()
|
Method Summary | |
---|---|
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 |
String |
getContextId()
|
int |
getDepth()
|
String |
getId()
|
String |
getIfHasAttributeDefNameId()
|
PITAttributeDefName |
getIfHasPITAttributeDefName()
|
boolean |
getNotificationsForRolesWithPermissionChangesOnSaveOrUpdate()
|
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 |
setParentAttrDefNameSetId(String parentAttrDefNameSetId)
|
void |
setSourceId(String sourceId)
set source id |
void |
setThenHasAttributeDefNameId(String thenHasAttributeDefNameId)
|
Methods 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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public PITAttributeDefNameSet()
Method Detail |
---|
public String getSourceId()
public void setSourceId(String sourceId)
sourceId
- public boolean getNotificationsForRolesWithPermissionChangesOnSaveOrUpdate()
public void setNotificationsForRolesWithPermissionChangesOnSaveOrUpdate(boolean notificationsForRolesWithPermissionChangesOnSaveOrUpdate)
notificationsForRolesWithPermissionChangesOnSaveOrUpdate
- 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |