|
|||||||||
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.PITGroup
public class PITGroup
Field Summary | |
---|---|
static String |
COLUMN_CONTEXT_ID
Context id links together multiple operations into one high level action |
static String |
COLUMN_HIBERNATE_VERSION_NUMBER
hibernate version |
static String |
COLUMN_ID
db id for this row |
static String |
COLUMN_NAME
name |
static String |
COLUMN_SOURCE_ID
column |
static String |
COLUMN_STEM_ID
stem |
static String |
FIELD_CONTEXT_ID
constant for field name for: contextId |
static String |
FIELD_ID
constant for field name for: id |
static String |
FIELD_NAME
constant for field name for: name |
static String |
FIELD_SOURCE_ID
constant for field name for: sourceId |
static String |
FIELD_STEM_ID
constant for field name for: stemId |
static String |
TABLE_GROUPER_PIT_GROUPS
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 |
---|
FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER |
Fields inherited from interface org.hibernate.classic.Lifecycle |
---|
NO_VETO, VETO |
Constructor Summary | |
---|---|
PITGroup()
|
Method Summary | |
---|---|
GrouperAPI |
clone()
deep clone the fields in this object |
void |
delete()
delete this object |
boolean |
equals(Object other)
|
String |
getContextId()
|
String |
getId()
|
Set<Member> |
getMembers(String fieldSourceId,
Timestamp pointInTimeFrom,
Timestamp pointInTimeTo,
Set<edu.internet2.middleware.subject.Source> sources,
QueryOptions queryOptions)
Get members of the group using point in time and the specified field. |
String |
getName()
|
String |
getNameDb()
|
PITStem |
getPITStem()
|
String |
getSourceId()
|
String |
getStemId()
|
int |
hashCode()
|
boolean |
hasMember(edu.internet2.middleware.subject.Subject subject,
String fieldSourceId,
Timestamp pointInTimeFrom,
Timestamp pointInTimeTo,
QueryOptions queryOptions)
Check if the group has a member using point in time and the specified field. |
void |
onPreDelete(HibernateSession hibernateSession)
before a delete (insert) occurs |
void |
saveOrUpdate()
save or update this object |
void |
setContextId(String contextId)
set context id |
void |
setId(String id)
set id |
void |
setNameDb(String name)
Set name |
void |
setSourceId(String sourceId)
set source id |
void |
setStemId(String stemId)
|
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 |
---|
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreSave, onPreUpdate, onSave, onUpdate, setHibernateVersionNumber |
Methods inherited from class java.lang.Object |
---|
getClass, 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_NAME
public static final String COLUMN_STEM_ID
public static final String COLUMN_HIBERNATE_VERSION_NUMBER
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_NAME
public static final String FIELD_STEM_ID
public static final String TABLE_GROUPER_PIT_GROUPS
Constructor Detail |
---|
public PITGroup()
Method Detail |
---|
public String getSourceId()
public void setSourceId(String sourceId)
sourceId
- 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 getName()
public String getNameDb()
public void setNameDb(String name)
name
- public String getStemId()
public void setStemId(String stemId)
stemId
- public void saveOrUpdate()
public void delete()
public Set<Member> getMembers(String fieldSourceId, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, Set<edu.internet2.middleware.subject.Source> sources, QueryOptions queryOptions)
fieldSourceId
- specifies the field id. This is required.pointInTimeFrom
- the start of the range of the point in time query. This is optional.pointInTimeTo
- the end of the range of the point in time query. This is optional. If this is the same as pointInTimeFrom, then the query will be done at a single point in time rather than a range.sources
- optionally filter on subject source ids.queryOptions
- optional query options.
public boolean hasMember(edu.internet2.middleware.subject.Subject subject, String fieldSourceId, Timestamp pointInTimeFrom, Timestamp pointInTimeTo, QueryOptions queryOptions)
subject
- specifies the subject. This is required.fieldSourceId
- specifies the field id. This is required.pointInTimeFrom
- the start of the range of the point in time query. This is optional.pointInTimeTo
- the end of the range of the point in time query. This is optional. If this is the same as pointInTimeFrom, then the query will be done at a single point in time rather than a range.queryOptions
- optional query options.
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 PITStem getPITStem()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |