|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.GrouperAPI
edu.internet2.middleware.grouper.pit.GrouperPIT
edu.internet2.middleware.grouper.pit.PITGroup
public class PITGroup
Field Summary | |
---|---|
static java.lang.String |
COLUMN_CONTEXT_ID
Context id links together multiple operations into one high level action |
static java.lang.String |
COLUMN_HIBERNATE_VERSION_NUMBER
hibernate version |
static java.lang.String |
COLUMN_ID
db id for this row |
static java.lang.String |
COLUMN_NAME
name |
static java.lang.String |
COLUMN_SOURCE_ID
column |
static java.lang.String |
COLUMN_STEM_ID
stem |
static java.lang.String |
FIELD_CONTEXT_ID
constant for field name for: contextId |
static java.lang.String |
FIELD_ID
constant for field name for: id |
static java.lang.String |
FIELD_NAME
constant for field name for: name |
static java.lang.String |
FIELD_SOURCE_ID
constant for field name for: sourceId |
static java.lang.String |
FIELD_STEM_ID
constant for field name for: stemId |
static java.lang.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(java.lang.Object other)
|
java.lang.String |
getContextId()
|
java.lang.String |
getId()
|
java.util.Set<Member> |
getMembers(java.lang.String fieldSourceId,
java.sql.Timestamp pointInTimeFrom,
java.sql.Timestamp pointInTimeTo,
java.util.Set<edu.internet2.middleware.subject.Source> sources,
QueryOptions queryOptions)
Get members of the group using point in time and the specified field. |
java.lang.String |
getName()
|
java.lang.String |
getNameDb()
|
PITStem |
getPITStem()
|
java.lang.String |
getSourceId()
|
java.lang.String |
getStemId()
|
int |
hashCode()
|
boolean |
hasMember(edu.internet2.middleware.subject.Subject subject,
java.lang.String fieldSourceId,
java.sql.Timestamp pointInTimeFrom,
java.sql.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(java.lang.String contextId)
set context id |
void |
setId(java.lang.String id)
set id |
void |
setNameDb(java.lang.String name)
Set name |
void |
setSourceId(java.lang.String sourceId)
set source id |
void |
setStemId(java.lang.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 java.lang.String COLUMN_ID
public static final java.lang.String COLUMN_CONTEXT_ID
public static final java.lang.String COLUMN_NAME
public static final java.lang.String COLUMN_STEM_ID
public static final java.lang.String COLUMN_HIBERNATE_VERSION_NUMBER
public static final java.lang.String COLUMN_SOURCE_ID
public static final java.lang.String FIELD_SOURCE_ID
public static final java.lang.String FIELD_CONTEXT_ID
public static final java.lang.String FIELD_ID
public static final java.lang.String FIELD_NAME
public static final java.lang.String FIELD_STEM_ID
public static final java.lang.String TABLE_GROUPER_PIT_GROUPS
Constructor Detail |
---|
public PITGroup()
Method Detail |
---|
public java.lang.String getSourceId()
public void setSourceId(java.lang.String sourceId)
sourceId
- public GrouperAPI clone()
GrouperAPI
clone
in interface GrouperCloneable
clone
in class GrouperAPI
GrouperAPI.clone()
public java.lang.String getContextId()
public void setContextId(java.lang.String contextId)
contextId
- public java.lang.String getId()
public void setId(java.lang.String id)
id
- public java.lang.String getName()
public java.lang.String getNameDb()
public void setNameDb(java.lang.String name)
name
- public java.lang.String getStemId()
public void setStemId(java.lang.String stemId)
stemId
- public void saveOrUpdate()
public void delete()
public java.util.Set<Member> getMembers(java.lang.String fieldSourceId, java.sql.Timestamp pointInTimeFrom, java.sql.Timestamp pointInTimeTo, java.util.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, java.lang.String fieldSourceId, java.sql.Timestamp pointInTimeFrom, java.sql.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(java.lang.Object other)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.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 |