public class Member extends GrouperAPI implements GrouperHasContext, Hib3GrouperVersioned, Comparable<Member>, XmlImportable<Member>, AttributeAssignable, GrouperId
Modifier and Type | Field and Description |
---|---|
static int |
changeSubjectDidntExist
change a subject to a subject which didnt exist
|
static int |
changeSubjectExist
change a subject to a subject which did exist
|
static int |
changeSubjectMembershipAddCount
number of memberships edited
|
static int |
changeSubjectMembershipDeleteCount
number of memberships deleted due to duplicates
|
static int |
changeSubjectSameSubject
change a subject to the same subject (for testing)
|
static String |
COLUMN_DESCRIPTION
description
|
static String |
COLUMN_ID
new uuid col in db
|
static String |
COLUMN_MEMBER_UUID
uuid col in db
|
static String |
COLUMN_NAME
name
|
static String |
COLUMN_OLD_ID
old id col for id conversion
|
static String |
COLUMN_OLD_MEMBER_UUID
old uuid id col for id conversion
|
static String |
COLUMN_SEARCH_STRING0
searchString0
|
static String |
COLUMN_SEARCH_STRING1
searchString1
|
static String |
COLUMN_SEARCH_STRING2
searchString2
|
static String |
COLUMN_SEARCH_STRING3
searchString3
|
static String |
COLUMN_SEARCH_STRING4
searchString4
|
static String |
COLUMN_SORT_STRING0
sortString0
|
static String |
COLUMN_SORT_STRING1
sortString1
|
static String |
COLUMN_SORT_STRING2
sortString2
|
static String |
COLUMN_SORT_STRING3
sortString3
|
static String |
COLUMN_SORT_STRING4
sortString4
|
static String |
COLUMN_SUBJECT_ID
column
|
static String |
COLUMN_SUBJECT_SOURCE
column
|
static String |
COLUMN_SUBJECT_TYPE
column
|
static boolean |
DELETE_OLD_MEMBER
boolean constant for gsh param
|
static String |
FIELD_DB_VERSION
constant for field name for: dbVersion
|
static String |
FIELD_DESCRIPTION
constant for field name for: description
|
static String |
FIELD_MEMBER_UUID
constant for field name for: memberUUID
|
static String |
FIELD_NAME
constant for field name for: name
|
static String |
FIELD_SEARCH_STRING0
constant for field name for: searchString0
|
static String |
FIELD_SEARCH_STRING1
constant for field name for: searchString1
|
static String |
FIELD_SEARCH_STRING2
constant for field name for: searchString2
|
static String |
FIELD_SEARCH_STRING3
constant for field name for: searchString3
|
static String |
FIELD_SEARCH_STRING4
constant for field name for: searchString4
|
static String |
FIELD_SORT_STRING0
constant for field name for: sortString0
|
static String |
FIELD_SORT_STRING1
constant for field name for: sortString1
|
static String |
FIELD_SORT_STRING2
constant for field name for: sortString2
|
static String |
FIELD_SORT_STRING3
constant for field name for: sortString3
|
static String |
FIELD_SORT_STRING4
constant for field name for: sortString4
|
static String |
FIELD_SUBJECT_ID
constant for field name for: subjectID
|
static String |
FIELD_SUBJECT_SOURCE_ID
constant for field name for: subjectSourceID
|
static String |
FIELD_SUBJECT_TYPE_ID
constant for field name for: subjectTypeID
|
static String |
PROPERTY_SUBJECT_ID
constant for property name for: subjectId
|
static String |
PROPERTY_UUID
javabeans property for uuid
|
static long |
serialVersionUID
serial version
|
static String |
TABLE_GROUPER_MEMBERS
grouper_members table in the DB
|
COLUMN_HIBERNATE_VERSION_NUMBER, dbVersion, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER
Constructor and Description |
---|
Member() |
Modifier and Type | Method and Description |
---|---|
Set<Group> |
_internal_getGroupsHelper(Field field,
MembershipType membershipType,
String scope,
Stem stem,
Stem.Scope stemScope,
QueryOptions queryOptions,
Boolean enabled)
Get groups where this member is a member.
|
boolean |
canAdmin(Group g)
|
boolean |
canAttrAdmin(AttributeDef attributeDef)
Can this
Member ATTR_ADMIN on this AttributeDef . |
boolean |
canAttrDefAttrRead(AttributeDef attributeDef)
Can this
Member ATTR_DEF_ATTR_READ on this AttributeDef . |
boolean |
canAttrDefAttrUpdate(AttributeDef attributeDef)
Can this
Member ATTR_DEF_ATTR_UPDATE on this AttributeDef . |
boolean |
canAttrOptin(AttributeDef attributeDef)
Can this
Member ATTR_OPTIN on this AttributeDef . |
boolean |
canAttrOptout(AttributeDef attributeDef)
Can this
Member ATTR_OPTOUT on this AttributeDef . |
boolean |
canAttrRead(AttributeDef attributeDef)
Can this
Member ATTR_READ on this AttributeDef . |
boolean |
canAttrUpdate(AttributeDef attributeDef)
Can this
Member ATTR_UPDATE on this AttributeDef . |
boolean |
canAttrView(AttributeDef attributeDef)
Can this
Member ATTR_VIEW on this AttributeDef . |
boolean |
canCreate(Stem ns)
|
boolean |
canGroupAttrRead(Group group)
|
boolean |
canGroupAttrUpdate(Group group)
|
boolean |
canOptin(Group g)
|
boolean |
canOptout(Group g)
|
boolean |
canRead(Group g)
|
boolean |
canStem(Stem ns)
|
boolean |
canStemAttrRead(Stem stem)
|
boolean |
canStemAttrUpdate(Stem stem)
|
boolean |
canUpdate(Group g)
|
boolean |
canView(Group g)
|
void |
changeSubject(Subject newSubject)
change the subject of a member to another subject.
|
void |
changeSubject(Subject newSubject,
boolean deleteOldMember)
change the subject of a member to another subject.
|
String |
changeSubjectReport(Subject newSubject,
boolean deleteOldMember)
This is the readonly dry run report version of this operation...
|
Member |
clone()
deep clone the fields in this object
|
int |
compareTo(Member o) |
Member |
dbVersion()
save the state when retrieving from DB
|
Set<String> |
dbVersionDifferentFields()
note, these are massaged so that name, extension, etc look like normal fields.
|
void |
dbVersionReset()
take a snapshot of the data since this is what is in the db
|
boolean |
equals(Object other) |
AttributeAssignMemberDelegate |
getAttributeDelegate()
get the logic delegate
|
AttributeValueDelegate |
getAttributeValueDelegate()
this delegate works on attributes and values at the same time
|
String |
getContextId()
context id of the transaction
|
String |
getDescription() |
Set<Group> |
getEffectiveGroups()
Get groups where this member has an effective membership.
|
Set<Group> |
getEffectiveGroups(Field field)
Get groups where this member has an effective membership.
|
Set<Group> |
getEffectiveGroups(Field field,
String scope,
Stem stem,
Stem.Scope stemScope,
QueryOptions queryOptions,
Boolean enabled)
Get groups where this member is an effective member.
|
Set<Membership> |
getEffectiveMemberships()
Get effective memberships.
|
Set<Membership> |
getEffectiveMemberships(Field f)
Get effective memberships.
|
Set<Group> |
getGroups()
Get groups where this member is a member.
|
Set<Group> |
getGroups(Field field)
Get groups where this member is a member.
|
Set<Group> |
getGroups(Field field,
String scope,
Stem stem,
Stem.Scope stemScope,
QueryOptions queryOptions,
Boolean enabled)
Get groups where this member is a member.
|
String |
getId()
get a members id
|
Set<Group> |
getImmediateGroups()
Get groups where this member has an immediate membership.
|
Set<Group> |
getImmediateGroups(Field field)
Get groups where this member has an immediate membership.
|
Set<Group> |
getImmediateGroups(Field field,
String scope,
Stem stem,
Stem.Scope stemScope,
QueryOptions queryOptions,
Boolean enabled)
Get groups where this member is an immediate member.
|
Set<Membership> |
getImmediateMemberships()
Get immediate memberships.
|
Set<Membership> |
getImmediateMemberships(Field f)
Get immediate memberships.
|
Set<Membership> |
getMemberships()
Get memberships.
|
Set<Membership> |
getMemberships(Field f)
Get memberships.
|
Set<Membership> |
getMemberships(Field f,
boolean requireListField)
Get memberships.
|
String |
getName() |
Set<Group> |
getNonImmediateGroups()
Get groups where this member has a non immediate membership.
|
Set<Group> |
getNonImmediateGroups(Field field)
Get groups where this member has an immediate membership.
|
Set<Group> |
getNonImmediateGroups(Field field,
String scope,
Stem stem,
Stem.Scope stemScope,
QueryOptions queryOptions,
Boolean enabled)
Get groups where this member is a nonimmediate member.
|
Set<Membership> |
getNonImmediateMemberships()
Get non-immediate memberships.
|
Set<Membership> |
getNonImmediateMemberships(Field f)
Get non-immediate memberships.
|
Set<AccessPrivilege> |
getPrivs(Group g)
Find access privileges held by this member on a
Group . |
Set<NamingPrivilege> |
getPrivs(Stem ns)
Find naming privileges held by this member on a
Stem . |
String |
getSearchString0() |
String |
getSearchString1() |
String |
getSearchString2() |
String |
getSearchString3() |
String |
getSearchString4() |
String |
getSortString0() |
String |
getSortString1() |
String |
getSortString2() |
String |
getSortString3() |
String |
getSortString4() |
Subject |
getSubject()
Get
Subject that maps to this member. |
String |
getSubjectId() |
String |
getSubjectIdDb() |
Source |
getSubjectSource()
Get the
Source of the subject that maps to this member. |
String |
getSubjectSourceId()
Get the
Source id of the subject that maps to this
member. |
String |
getSubjectSourceIdDb()
simple get subject source id
|
SubjectType |
getSubjectType()
Get the
SubjectType of the subject that maps to this member. |
String |
getSubjectTypeId()
Get the subject type id of the subject that maps to this member.
|
String |
getUuid()
Get member's UUID.
|
Set<Group> |
hasAdmin()
Get groups where this member has the ADMIN privilege.
|
boolean |
hasAdmin(Group g)
Report whether this member has ADMIN on the specified group.
|
Set<Stem> |
hasAdminInStem()
Get stems where this member has the ADMIN privilege of a group inside.
|
Set<AttributeDef> |
hasAttrAdmin()
Get attributeDefs where this member has the ATTR_ADMIN privilege.
|
boolean |
hasAttrAdmin(AttributeDef attributeDef)
Report whether this member has ATTR_ADMIN on the specified attributeDef.
|
Set<AttributeDef> |
hasAttrDefAttrRead()
Get attribute defs where this member has the ATTR_DEF_ATTR_READ privilege.
|
boolean |
hasAttrDefAttrRead(AttributeDef attributeDef)
Report whether this member has ATTR_DEF_ATTR_READ on the specified attributeDef.
|
Set<AttributeDef> |
hasAttrDefAttrUpdate()
Get attribute defs where this member has the ATTR_DEF_ATTR_UPDATE privilege.
|
boolean |
hasAttrDefAttrUpdate(AttributeDef attributeDef)
Report whether this member has ATTR_DEF_ATTR_UPDATE on the specified attributeDef.
|
Set<AttributeDef> |
hasAttrOptin()
Get attribute defs where this member has the ATTR_OPTIN privilege.
|
boolean |
hasAttrOptin(AttributeDef attributeDef)
Report whether this member has ATTR_OPTIN on the specified AttributeDef.
|
Set<AttributeDef> |
hasAttrOptout()
Get groups where this member has the ATTR_OPTOUT privilege.
|
boolean |
hasAttrOptout(AttributeDef attributeDef)
Report whether this member has ATTR_OPTOUT on the specified AttributeDef.
|
Set<AttributeDef> |
hasAttrRead()
Get groups where this member has the ATTR_READ privilege.
|
boolean |
hasAttrRead(AttributeDef attributeDef)
Report whether this member has ATTR_READ on the specified AttributeDef.
|
Set<AttributeDef> |
hasAttrUpdate()
Get groups where this member has the ATTR_UPDATE privilege.
|
boolean |
hasAttrUpdate(AttributeDef attributeDef)
Report whether this member has ATTR_UPDATE on the specified AttributeDef.
|
Set<AttributeDef> |
hasAttrView()
Get groups where this member has the ATTR_VIEW privilege.
|
boolean |
hasAttrView(AttributeDef attributeDef)
Report whether this member has ATTR_VIEW on the specified AttributeDef.
|
Set<Stem> |
hasCreate()
Get stems where this member has the CREATE privilege.
|
boolean |
hasCreate(Stem ns)
Report whether this member has CREATE on the specified stem.
|
Set<Group> |
hasGroupAttrRead()
Get groups where this member has the GROUP_ATTR_READ privilege.
|
boolean |
hasGroupAttrRead(Group group)
Report whether this member has GROUP_ATTR_READ on the specified group.
|
Set<Stem> |
hasGroupAttrReadInStem()
Get stems where this member has the GROUP_ATTR_READ privilege of a group inside.
|
Set<Group> |
hasGroupAttrUpdate()
Get groups where this member has the GROUP_ATTR_UPDATE privilege.
|
boolean |
hasGroupAttrUpdate(Group group)
Report whether this member has GROUP_ATTR_UPDATE on the specified group.
|
Set<Stem> |
hasGroupAttrUpdateInStem()
Get stems where this member has the GROUP_ATTR_UPDATE privilege of a group inside.
|
int |
hashCode() |
Set<Group> |
hasOptin()
Get groups where this member has the OPTIN privilege.
|
boolean |
hasOptin(Group g)
Report whether this member has OPTIN on the specified group.
|
Set<Stem> |
hasOptinInStem()
Get stems where this member has the OPTIN privilege of a group inside.
|
Set<Group> |
hasOptout()
Get groups where this member has the OPTOUT privilege.
|
boolean |
hasOptout(Group g)
Report whether this member has OPTOUT on the specified group.
|
Set<Stem> |
hasOptoutInStem()
Get stems where this member has the OPTOUT privilege of a group inside.
|
Set<Group> |
hasRead()
Get groups where this member has the READ privilege.
|
boolean |
hasRead(Group g)
Report whether this member has READ on the specified group.
|
Set<Stem> |
hasReadInStem()
Get stems where this member has the READ privilege of a group inside.
|
Set<Stem> |
hasStem()
Get stems where this member has the STEM privilege.
|
boolean |
hasStem(Stem ns)
Report whether this member has STEM on the specified stem.
|
Set<Stem> |
hasStemAttrRead()
Get stems where this member has the STEM_ATTR_READ privilege.
|
boolean |
hasStemAttrRead(Stem stem)
Report whether this member has STEM_ATTR_READ on the specified stem.
|
Set<Stem> |
hasStemAttrUpdate()
Get stems where this member has the STEM_ATTR_UPDATE privilege.
|
boolean |
hasStemAttrUpdate(Stem stem)
Report whether this member has STEM_ATTR_UPDATE on the specified stem.
|
Set<Group> |
hasUpdate()
Get groups where this member has the UPDATE privilege.
|
boolean |
hasUpdate(Group g)
Report whether this member has UPDATE on the specified group.
|
Set<Stem> |
hasUpdateInStem()
Get stems where this member has the UPDATE privilege of a group inside.
|
Set<Group> |
hasView()
Get groups where this member has the VIEW privilege.
|
boolean |
hasView(Group g)
Report whether this member has VIEW on the specified group.
|
Set<Stem> |
hasViewInStem()
Get stems where this member has the VIEW privilege of a group inside.
|
boolean |
isEffectiveMember(Group g)
Test whether a member effectively belongs to a group.
|
boolean |
isEffectiveMember(Group g,
Field f)
Test whether a member effectively belongs to a group.
|
boolean |
isImmediateMember(Group g)
Test whether a member immediately belongs to a group.
|
boolean |
isImmediateMember(Group g,
Field f)
Test whether a member immediately belongs to a group.
|
boolean |
isMember(Group g)
Test whether a member belongs to a group.
|
boolean |
isMember(Group g,
Field f)
Test whether a member belongs to the specified group list.
|
boolean |
isMember(String ownerUUID,
Field f) |
boolean |
isNonImmediateMember(Group g)
Test whether a member nonimmediately belongs to a group.
|
boolean |
isNonImmediateMember(Group g,
Field f)
Test whether a member nonimmediately belongs to a group.
|
boolean |
onDelete(org.hibernate.Session hs) |
void |
onPostDelete(HibernateSession hibernateSession)
after a delete occurs
|
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
|
boolean |
onSave(org.hibernate.Session hs) |
static void |
resolveSubjects(Collection<Member> members,
boolean resolveAllAlways)
resolve subjects in one batch
|
void |
setContextId(String contextId1)
context id of the transaction
|
void |
setDescription(String description) |
void |
setName(String name) |
void |
setSearchString0(String searchString0) |
void |
setSearchString1(String searchString1) |
void |
setSearchString2(String searchString2) |
void |
setSearchString3(String searchString3) |
void |
setSearchString4(String searchString4) |
void |
setSortString0(String sortString0) |
void |
setSortString1(String sortString1) |
void |
setSortString2(String sortString2) |
void |
setSortString3(String sortString3) |
void |
setSortString4(String sortString4) |
void |
setSubjectId(String id)
Change subject id associated with member.
|
void |
setSubjectIdDb(String id)
simple set subject id
|
void |
setSubjectSourceId(String id)
Change subject source id associated with member.
|
void |
setSubjectSourceIdDb(String id)
simple set subject source id
|
void |
setSubjectTypeId(String subjectTypeID) |
void |
setUuid(String memberUUID) |
void |
store()
will be implemented soon
|
static String |
subjectIds(Collection<Member> collection)
print out a collection of members
|
Group |
toGroup()
Convert this member back to a
Group object. |
String |
toString() |
String |
toStringDto() |
void |
updateMemberAttributes(Subject subject,
boolean storeChanges) |
void |
xmlCopyBusinessPropertiesToExisting(Member existingRecord)
copy business (non update) properties to an existing record
|
boolean |
xmlDifferentBusinessProperties(Member other)
see if the non update cols are different (e.g.
|
boolean |
xmlDifferentUpdateProperties(Member other)
see if the update cols are different (e.g.
|
String |
xmlGetId()
set id key in db
|
Member |
xmlRetrieveByIdOrKey()
retrieve from db by id or key.
|
Member |
xmlSaveBusinessProperties(Member existingRecord)
save the business properties (not update properties)
|
void |
xmlSaveUpdateProperties()
save the udpate properties (e.g.
|
void |
xmlSetId(String theId)
set id key in db
|
XmlExportMember |
xmlToExportMember(GrouperVersion grouperVersion)
convert to xml bean for export
|
String |
xmlToString()
convert to string for log
|
dbVersionClear, dbVersionIsDifferent, fieldValue, getHibernateVersionNumber, onLoad, onUpdate, setHibernateVersionNumber
public static final String PROPERTY_SUBJECT_ID
public static final String TABLE_GROUPER_MEMBERS
public static final String COLUMN_MEMBER_UUID
public static final String COLUMN_ID
public static final String COLUMN_OLD_ID
public static final String COLUMN_OLD_MEMBER_UUID
public static final String COLUMN_SORT_STRING0
public static final String COLUMN_SORT_STRING1
public static final String COLUMN_SORT_STRING2
public static final String COLUMN_SORT_STRING3
public static final String COLUMN_SORT_STRING4
public static final String COLUMN_SEARCH_STRING0
public static final String COLUMN_SEARCH_STRING1
public static final String COLUMN_SEARCH_STRING2
public static final String COLUMN_SEARCH_STRING3
public static final String COLUMN_SEARCH_STRING4
public static final String COLUMN_NAME
public static final String COLUMN_SUBJECT_ID
public static final String COLUMN_SUBJECT_SOURCE
public static final String COLUMN_SUBJECT_TYPE
public static final String COLUMN_DESCRIPTION
public static final long serialVersionUID
public static final String FIELD_DB_VERSION
public static final String FIELD_MEMBER_UUID
public static final String FIELD_SUBJECT_ID
public static final String FIELD_SUBJECT_SOURCE_ID
public static final String FIELD_SUBJECT_TYPE_ID
public static final String FIELD_SORT_STRING0
public static final String FIELD_SORT_STRING1
public static final String FIELD_SORT_STRING2
public static final String FIELD_SORT_STRING3
public static final String FIELD_SORT_STRING4
public static final String FIELD_SEARCH_STRING0
public static final String FIELD_SEARCH_STRING1
public static final String FIELD_SEARCH_STRING2
public static final String FIELD_SEARCH_STRING3
public static final String FIELD_SEARCH_STRING4
public static final String FIELD_NAME
public static final String FIELD_DESCRIPTION
public static final String PROPERTY_UUID
public static int changeSubjectSameSubject
public static int changeSubjectDidntExist
public static int changeSubjectExist
public static int changeSubjectMembershipAddCount
public static int changeSubjectMembershipDeleteCount
public static final boolean DELETE_OLD_MEMBER
public static void resolveSubjects(Collection<Member> members, boolean resolveAllAlways)
members
- resolveAllAlways
- true to always resolve all no matter how many, false
if there are more than 2000 or however many (e.g. for UI)public AttributeAssignMemberDelegate getAttributeDelegate()
AttributeAssignable
getAttributeDelegate
in interface AttributeAssignable
public AttributeValueDelegate getAttributeValueDelegate()
getAttributeValueDelegate
in interface AttributeAssignable
public static String subjectIds(Collection<Member> collection)
collection
- public void changeSubject(Subject newSubject) throws InsufficientPrivilegeException
newSubject
- InsufficientPrivilegeException
- if not a root userpublic void changeSubject(Subject newSubject, boolean deleteOldMember) throws InsufficientPrivilegeException
newSubject
- deleteOldMember
- is only applicable if the new member exists. If true, it will delete the old one.
Generally you want this as true, and only set to false if there is a foreign key violation, and you want to
get as far as you can.InsufficientPrivilegeException
- if not a root userpublic String changeSubjectReport(Subject newSubject, boolean deleteOldMember)
This is the readonly dry run report version of this operation... this will not call hooks change the subject of a member to another subject. This new subject might already exist, and it might not. If it doesnt exist, then this member object will have its subject and source information updated. If it does, then all objects in the system which use this member_id will be queried, and the member_id updated to the new member_id, and the old member_id will be removed.
newSubject
- deleteOldMember
- is only applicable if the new member exists. If true, it will delete the old one.
Generally you want this as true, and only set to false if there is a foreign key violation, and you want to
get as far as you can.public boolean canAdmin(Group g) throws IllegalArgumentException
g
- Check privileges on this Group
.IllegalArgumentException
- if null Group
public boolean canCreate(Stem ns) throws IllegalArgumentException
ns
- Check privileges on this Stem
.IllegalArgumentException
- if null Stem
public boolean canOptin(Group g) throws IllegalArgumentException
g
- Check privileges on this Group
.IllegalArgumentException
- if null Group
public boolean canOptout(Group g) throws IllegalArgumentException
g
- Check privileges on this Group
.IllegalArgumentException
- if null Group
public boolean canRead(Group g) throws IllegalArgumentException
g
- Check privileges on this Group
.IllegalArgumentException
- if null Group
public boolean canStem(Stem ns) throws IllegalArgumentException
ns
- Check privileges on this Stem
.IllegalArgumentException
- if null Stem
public boolean canUpdate(Group g) throws IllegalArgumentException
g
- Check privileges on this Group
.IllegalArgumentException
- if null Group
public boolean canView(Group g) throws IllegalArgumentException
g
- Check privileges on this Group
.IllegalArgumentException
- if null Group
public Set<Group> getEffectiveGroups()
// Get groups where this member is an effective member. Set effectives = m.getEffectiveGroups();
Group
objects.public Set<Group> getEffectiveGroups(Field field)
// Get groups where this member is an effective member. Set effectives = m.getEffectiveGroups();
field
- Group
objects.public Set<Membership> getEffectiveMemberships() throws GrouperException
Set effectives = m.getEffectiveMemberships();
Membership
objects.GrouperException
public Set<Membership> getEffectiveMemberships(Field f) throws SchemaException
Set effectives = m.getEffectiveMemberships(f);
f
- Get effective memberships in this list field.Membership
objects.SchemaException
public Set<Group> getGroups()
// Get groups where this member is a member. Set groups = m.getGroups();
Group
objects.public Set<Group> getGroups(Field field)
// Get groups where this member is a member. Set groups = m.getGroups();
field
- to check, doesnt have to be list fieldGroup
objects.public Set<Group> _internal_getGroupsHelper(Field field, MembershipType membershipType, String scope, Stem stem, Stem.Scope stemScope, QueryOptions queryOptions, Boolean enabled)
// Get groups where this member is a member. Set groups = m.getGroups();
field
- to check, doesnt have to be list fieldmembershipType
- immediate, effective, non immediate, etc, or null for allscope
- is a DB pattern that will have % appended to it, or null for all. e.g. school:whatever:parent:stem
- is the stem to check in, or null if all. If has stem, must have stemScopestemScope
- is if in this stem, or in any stem underneath. You must pass stemScope if you pass a stemqueryOptions
- is what to sort/page to or null for all. Can sort on name, displayName, extension, displayExtensionenabled
- is null for all, true for enabled only, false for enabled and disabledGroup
objects.public Set<Group> getGroups(Field field, String scope, Stem stem, Stem.Scope stemScope, QueryOptions queryOptions, Boolean enabled)
field
- to check, doesnt have to be list fieldscope
- is a DB pattern that will have % appended to it, or null for allstem
- is the stem to check in, or null if allstemScope
- is if in this stem, or in any stem underneath. You must pass stemScope if you pass a stemqueryOptions
- is what to sort/page to or null for all. can sort on name, displayName, extension, displayExtensionenabled
- is null for all, true for enabled only, false for enabled and disabledGroup
objects.public Set<Group> getEffectiveGroups(Field field, String scope, Stem stem, Stem.Scope stemScope, QueryOptions queryOptions, Boolean enabled)
field
- to check, doesnt have to be list fieldscope
- is a DB pattern that will have % appended to it, or null for allstem
- is the stem to check in, or null if allstemScope
- is if in this stem, or in any stem underneath. You must pass stemScope if you pass a stemqueryOptions
- is what to sort/page to or null for all, can sort on name, displayName, extension, displayExtensionenabled
- is null for all, true for enabled only, false for enabled and disabledGroup
objects.public Set<Group> getImmediateGroups(Field field, String scope, Stem stem, Stem.Scope stemScope, QueryOptions queryOptions, Boolean enabled)
field
- to check, doesnt have to be list fieldscope
- is a DB pattern that will have % appended to it, or null for allstem
- is the stem to check in, or null if allstemScope
- is if in this stem, or in any stem underneath. You must pass stemScope if you pass a stemqueryOptions
- is what to sort/page to or null for all. can sort on name, displayName, extension, displayExtensionenabled
- is null for all, true for enabled only, false for enabled and disabledGroup
objects.public Set<Group> getNonImmediateGroups(Field field, String scope, Stem stem, Stem.Scope stemScope, QueryOptions queryOptions, Boolean enabled)
field
- to check, doesnt have to be list fieldscope
- is a DB pattern that will have % appended to it, or null for allstem
- is the stem to check in, or null if allstemScope
- is if in this stem, or in any stem underneath. You must pass stemScope if you pass a stemqueryOptions
- is what to sort/page to or null for all. can sort on name, displayName, extension, displayExtensionenabled
- is null for all, true for enabled only, false for enabled and disabledGroup
objects.public Set<Group> getImmediateGroups()
// Get groups where this member is an immediate member. Set immediates = m.getImmediateGroups();
Group
objects.public Set<Group> getNonImmediateGroups()
// Get groups where this member is a non immediate member. Set nonImmediates = m.getNonImmediateGroups();
Group
objects.public Set<Group> getImmediateGroups(Field field)
// Get groups where this member is an immediate member. Set immediates = m.getImmediateGroups();
field
- Group
objects.public Set<Membership> getImmediateMemberships() throws GrouperException
Set immediates = m.getImmediateMemberships();
Membership
objects.GrouperException
public Set<Membership> getNonImmediateMemberships() throws GrouperException
Set immediates = m.getNonImmediateMemberships();
Membership
objects.GrouperException
public Set<Membership> getImmediateMemberships(Field f) throws SchemaException
Set immediates = m.getImmediateMemberships(f);
f
- Get immediate memberships in this list field.Membership
objects.SchemaException
public Set<Membership> getNonImmediateMemberships(Field f) throws SchemaException
Set immediates = m.getNonImmediateMemberships(f);
f
- Get non-immediate memberships in this list field.Membership
objects.SchemaException
public Set<Membership> getMemberships() throws GrouperException
Set groups = m.getMemberships();
Membership
objects.GrouperException
public Set<Membership> getMemberships(Field f) throws SchemaException
Set groups = m.getMemberships(f);
f
- Get memberships in this list field.Membership
objects.SchemaException
public Set<Membership> getMemberships(Field f, boolean requireListField) throws SchemaException
Set groups = m.getMemberships(f);
f
- Get memberships in this list field.requireListField
- if list field must be a list field, and not privilegeMembership
objects.SchemaException
public Set<AccessPrivilege> getPrivs(Group g)
Group
.
Set access = m.getPrivs(g);
g
- Find Access Privileges on this Group
AccessPrivilege
objects.public Set<NamingPrivilege> getPrivs(Stem ns)
Stem
.
Set naming = m.getPrivs(ns);
ns
- Find Naming Privileges on this Stem
NamingPrivilege
objects.public Subject getSubject() throws SubjectNotFoundException
Subject
that maps to this member.
// Convert a member back into a subject try { Subject subj = m.getSubject(); } catch (SubjectNotFoundException e) { // Subject not found }
Subject
object.SubjectNotFoundException
public Source getSubjectSource() throws GrouperException
Source
of the subject that maps to this member.
Source sa = m.getSubjectSource();
Source
GrouperException
public String getSubjectSourceId()
Source
id of the subject that maps to this
member.
String id = m.getSubjectSourceId();
Source
idpublic String getSubjectSourceIdDb()
public SubjectType getSubjectType()
SubjectType
of the subject that maps to this member.
// Get this member's subject type. SubjectType type = m.getSubjectType();
SubjectType
public String getSubjectTypeId()
// Get this member's subject type id. String type = m.getSubjectTypeId();
public String getUuid()
// Get UUID of member. String uuid = m.getUuid();
public String getId()
public Set<Group> hasAdmin() throws GrouperException
Set admin = m.hasAdmin();
Group
objects.GrouperException
public Set<Stem> hasAdminInStem() throws GrouperException
SetadminInStem = m.hasAdminInStem();
Stem
objects.GrouperException
public Set<Stem> hasGroupAttrReadInStem() throws GrouperException
Setresults = m.hasGroupAttrReadInStem();
Stem
objects.GrouperException
public Set<Stem> hasGroupAttrUpdateInStem() throws GrouperException
Setresults = m.hasGroupAttrUpdateInStem();
Stem
objects.GrouperException
public Set<Stem> hasOptoutInStem() throws GrouperException
SetoptoutInStem = m.hasOptoutInStem();
Stem
objects.GrouperException
public Set<Stem> hasOptinInStem() throws GrouperException
SetoptinInStem = m.hasOptinInStem();
Stem
objects.GrouperException
public Set<Stem> hasViewInStem() throws GrouperException
SetviewInStem = m.hasViewInStem();
Stem
objects.GrouperException
public Set<Stem> hasReadInStem() throws GrouperException
SetreadInStem = m.hasReadInStem();
Stem
objects.GrouperException
public Set<Stem> hasUpdateInStem() throws GrouperException
SetupdateInStem = m.hasUpdateInStem();
Stem
objects.GrouperException
public boolean hasAdmin(Group g)
// Check whether this member has ADMIN on the specified group. if (m.hasAdmin(g)) { // Member has privilege }
g
- Test for privilege on this Group
public Set<Stem> hasCreate() throws GrouperException
Set create = m.hasCreate();
Stem
objects.GrouperException
public boolean hasCreate(Stem ns)
// Check whether this member has CREATE on the specified stem. if (m.hasCreate(ns)) { // Member has privilege }
ns
- Test for privilege on this Stem
public Set<Group> hasOptin() throws GrouperException
Set optin = m.hasOptin();
Group
objects.GrouperException
public boolean hasOptin(Group g)
// Check whether this member has OPTIN on the specified group. if (m.hasOptin(g)) { // Member has privilege }
g
- Test for privilege on this Group
public Set<Group> hasOptout() throws GrouperException
Set optout = m.hasOptout();
Group
objects.GrouperException
public boolean hasOptout(Group g)
// Check whether this member has OPTOUT on the specified group. if (m.hasOptout(g)) { // Member has privilege }
g
- Test for privilege on this Group
public Set<Group> hasRead() throws GrouperException
Set read = m.hasRead();
Group
objects.GrouperException
public boolean hasRead(Group g)
// Check whether this member has READ on the specified group. if (m.hasRead(g)) { // Member has privilege }
g
- Test for privilege on this Group
public Set<Stem> hasStem() throws GrouperException
Set stem = m.hasStem();
Stem
objects.GrouperException
public boolean hasStem(Stem ns)
if (m.hasStem(ns)) { // Member has privilege }
ns
- Test for privilege on this Stem
public Set<Group> hasUpdate() throws GrouperException
Set update = m.hasUpdate();
Group
objects.GrouperException
public boolean hasUpdate(Group g)
// Check whether this member has UPDATE on the specified group. if (m.hasUpdate(g)) { // Member has privilege }
g
- Test for privilege on this Group
public Set<Group> hasView() throws GrouperException
Set view = m.hasView();
Group
objects.GrouperException
public boolean hasView(Group g)
// Check whether this member has VIEW on the specified group. if (m.hasView(g)) { // Member has privilege }
g
- Test for privilege on this Group
public boolean isEffectiveMember(Group g) throws GrouperException
if (m.isEffectiveMember(g)) { // Is an effective member }
g
- Test for membership in this group.GrouperException
public boolean isEffectiveMember(Group g, Field f) throws SchemaException
// Does this member effectively belong to the specified group? if (m.isEffectiveMember(g, f)) { // Is an effective member }
g
- Test for membership in this group.f
- Test for membership in this list field.SchemaException
public boolean isImmediateMember(Group g) throws GrouperException
if (m.isImmediateMember(g)) { // Is an immediate member }
g
- Test for membership in this group.GrouperException
public boolean isImmediateMember(Group g, Field f) throws SchemaException
// Does this member immediately belong to the specified group? if (m.isImmediateMember(g, f)) { // Is an immediate member }
g
- Test for membership in this group.f
- Test for memberhip in this list field.SchemaException
public boolean isMember(Group g)
if (m.isMember(g)) { // Is a member }
g
- Test for membership in this group.GrouperException
public boolean isMember(Group g, Field f) throws SchemaException
// Does this member belong to the specified group? if (m.isMember(g, f)) { // Is a member }
g
- Test for membership in this group.f
- Test for membership in this list Field
.SchemaException
public void setSubjectIdDb(String id)
id
- public void setSubjectId(String id) throws IllegalArgumentException, InsufficientPrivilegeException
You must be a root-like Subject
to use this method.
try { m.setSubjectId("new id"); } catch (InsufficientPrivilegeException eIP) { // not privileged to change subject id }
id
- Set subject id to this.IllegalArgumentException
InsufficientPrivilegeException
public void store()
public void setSubjectSourceIdDb(String id)
id
- public void setSubjectSourceId(String id) throws IllegalArgumentException, InsufficientPrivilegeException
You must be a root-like Subject
to use this method.
try { m.setSubjectSourceId("new source id"); } catch (InsufficientPrivilegeException eIP) { // not privileged to change subject source id }
id
- Set subject source id to this.IllegalArgumentException
InsufficientPrivilegeException
public Group toGroup() throws GroupNotFoundException
Group
object.
try { Group g = m.toGroup(); } catch (GroupNotFoundException e) { // unable to convert member back to group }
Member
as a Group
GroupNotFoundException
public String toString()
toString
in class Object
Object.toString()
public boolean isMember(String ownerUUID, Field f)
ownerUUID
- f
- public boolean equals(Object other)
equals
in class Object
Object.equals(java.lang.Object)
public String getSubjectId()
public String getSubjectIdDb()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean onDelete(org.hibernate.Session hs) throws org.hibernate.CallbackException
onDelete
in interface org.hibernate.classic.Lifecycle
onDelete
in class GrouperAPI
org.hibernate.CallbackException
GrouperAPI.onDelete(org.hibernate.Session)
public boolean onSave(org.hibernate.Session hs) throws org.hibernate.CallbackException
onSave
in interface org.hibernate.classic.Lifecycle
onSave
in class GrouperAPI
org.hibernate.CallbackException
GrouperAPI.onSave(org.hibernate.Session)
public void setSubjectTypeId(String subjectTypeID)
subjectTypeID
- public void setUuid(String memberUUID)
memberUUID
- public String toStringDto()
public void onPostDelete(HibernateSession hibernateSession)
HibGrouperLifecycle
onPostDelete
in interface HibGrouperLifecycle
onPostDelete
in class GrouperAPI
GrouperAPI.onPostDelete(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 void onPreDelete(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreDelete
in interface HibGrouperLifecycle
onPreDelete
in class GrouperAPI
GrouperAPI.onPreDelete(edu.internet2.middleware.grouper.hibernate.HibernateSession)
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 Member dbVersion()
dbVersion
in class GrouperAPI
public Set<String> dbVersionDifferentFields()
dbVersionDifferentFields
in class GrouperAPI
GrouperAPI.dbVersionDifferentFields()
public void dbVersionReset()
dbVersionReset
in class GrouperAPI
public Member clone()
clone
in interface GrouperCloneable
clone
in class GrouperAPI
Object.clone()
public String getContextId()
public void setContextId(String contextId1)
setContextId
in interface GrouperHasContext
contextId1
- public boolean canAttrAdmin(AttributeDef attributeDef) throws IllegalArgumentException
attributeDef
- Check privileges on this AttributeDef
.IllegalArgumentException
- if null AttributeDef
public boolean canAttrDefAttrRead(AttributeDef attributeDef) throws IllegalArgumentException
Member
ATTR_DEF_ATTR_READ on this AttributeDef
.
boolean rv = m.canAttrDefAttrRead(attributeDef);
attributeDef
- Check privileges on this AttributeDef
.IllegalArgumentException
- if null AttributeDef
public boolean canAttrDefAttrUpdate(AttributeDef attributeDef) throws IllegalArgumentException
Member
ATTR_DEF_ATTR_UPDATE on this AttributeDef
.
boolean rv = m.canAttrDefAttrUpdate(attributeDef);
attributeDef
- Check privileges on this AttributeDef
.IllegalArgumentException
- if null AttributeDef
public boolean canGroupAttrUpdate(Group group) throws IllegalArgumentException
group
- Check privileges on this Group
.IllegalArgumentException
- if null Group
public boolean canGroupAttrRead(Group group) throws IllegalArgumentException
group
- Check privileges on this Group
.IllegalArgumentException
- if null Group
public boolean canStemAttrRead(Stem stem) throws IllegalArgumentException
stem
- Check privileges on this Stem
.IllegalArgumentException
- if null Stem
public boolean canStemAttrUpdate(Stem stem) throws IllegalArgumentException
stem
- Check privileges on this Stem
.IllegalArgumentException
- if null Stem
public boolean canAttrOptin(AttributeDef attributeDef) throws IllegalArgumentException
attributeDef
- Check privileges on this AttributeDef
.IllegalArgumentException
- if null AttributeDef
public boolean canAttrOptout(AttributeDef attributeDef) throws IllegalArgumentException
attributeDef
- Check privileges on this AttributeDef
.IllegalArgumentException
- if null AttributeDef
public boolean canAttrRead(AttributeDef attributeDef) throws IllegalArgumentException
attributeDef
- Check privileges on this AttributeDef
.IllegalArgumentException
- if null AttributeDef
public boolean canAttrUpdate(AttributeDef attributeDef) throws IllegalArgumentException
attributeDef
- Check privileges on this AttributeDef
.IllegalArgumentException
- if null AttributeDef
public boolean canAttrView(AttributeDef attributeDef) throws IllegalArgumentException
attributeDef
- Check privileges on this AttributeDef
.IllegalArgumentException
- if null AttributeDef
public Set<AttributeDef> hasAttrAdmin() throws GrouperException
Setadmins = hasAttrAdmin();
AttributeDef
objects.GrouperException
public boolean hasAttrAdmin(AttributeDef attributeDef)
// Check whether this member has ATTR_ADMIN on the specified attributeDef. if (m.hasAttrAdmin(attributeDef)) { // Member has privilege }
attributeDef
- Test for privilege on this AttributeDef
public boolean hasGroupAttrRead(Group group)
// Check whether this member has GROUP_ATTR_READ on the specified group. if (m.hasGroupAttrRead(group)) { // Member has privilege }
group
- Test for privilege on this Group
public boolean hasGroupAttrUpdate(Group group)
// Check whether this member has GROUP_ATTR_UPDATE on the specified group. if (m.hasGroupAttrUpdate(group)) { // Member has privilege }
group
- Test for privilege on this Group
public boolean hasStemAttrUpdate(Stem stem)
// Check whether this member has STEM_ATTR_UPDATE on the specified stem. if (m.hasStemAttrUpdate(stem)) { // Member has privilege }
stem
- Test for privilege on this Stem
public boolean hasStemAttrRead(Stem stem)
// Check whether this member has STEM_ATTR_READ on the specified stem. if (m.hasStemAttrRead(stem)) { // Member has privilege }
stem
- Test for privilege on this Stem
public boolean hasAttrDefAttrRead(AttributeDef attributeDef)
// Check whether this member has ATTR_DEF_ATTR_READ on the specified attributeDef. if (m.hasAttrDefAttrRead(stem)) { // Member has privilege }
attributeDef
- Test for privilege on this AttributeDef
public boolean hasAttrDefAttrUpdate(AttributeDef attributeDef)
// Check whether this member has ATTR_DEF_ATTR_UPDATE on the specified attributeDef. if (m.hasAttrDefAttrUpdate(stem)) { // Member has privilege }
attributeDef
- Test for privilege on this AttributeDef
public Set<AttributeDef> hasAttrOptin() throws GrouperException
Setoptin = m.hasAttrOptin();
AttributeDef
objects.GrouperException
public Set<AttributeDef> hasAttrDefAttrRead() throws GrouperException
Setresults = m.hasAttrDefAttrRead();
AttributeDef
objects.GrouperException
public Set<AttributeDef> hasAttrDefAttrUpdate() throws GrouperException
Setresults = m.hasAttrDefAttrUpdate();
AttributeDef
objects.GrouperException
public Set<Group> hasGroupAttrUpdate() throws GrouperException
Setresults = m.hasGroupAttrUpdate();
Group
objects.GrouperException
public Set<Group> hasGroupAttrRead() throws GrouperException
Setresults = m.hasGroupAttrRead();
Group
objects.GrouperException
public Set<Stem> hasStemAttrRead() throws GrouperException
Setresults = m.hasStemAttrRead();
Stem
objects.GrouperException
public Set<Stem> hasStemAttrUpdate() throws GrouperException
Setresults = m.hasStemAttrUpdate();
Stem
objects.GrouperException
public boolean hasAttrOptin(AttributeDef attributeDef)
// Check whether this member has ATTR_OPTIN on the specified AttributeDef. if (m.hasOptin(attributeDef)) { // Member has privilege }
attributeDef
- Test for privilege on this AttributeDef
public Set<AttributeDef> hasAttrOptout() throws GrouperException
Setoptout = m.hasOptout();
AttributeDef
objects.GrouperException
public boolean hasAttrOptout(AttributeDef attributeDef)
// Check whether this member has ATTR_OPTOUT on the specified AttributeDef. if (m.hasOptout(attributeDef)) { // Member has privilege }
attributeDef
- Test for privilege on this AttributeDef
public Set<AttributeDef> hasAttrRead() throws GrouperException
Setread = m.hasRead();
AttributeDef
objects.GrouperException
public boolean hasAttrRead(AttributeDef attributeDef)
// Check whether this member has ATTR_READ on the specified AttributeDef. if (m.hasRead(attributeDef)) { // Member has privilege }
attributeDef
- Test for privilege on this Group
public Set<AttributeDef> hasAttrUpdate() throws GrouperException
Setupdate = m.hasUpdate();
AttributeDef
objects.GrouperException
public boolean hasAttrUpdate(AttributeDef attributeDef)
// Check whether this member has ATTR_UPDATE on the specified AttributeDef. if (m.hasUpdate(attributeDef)) { // Member has privilege }
attributeDef
- Test for privilege on this AttributeDef
public Set<AttributeDef> hasAttrView() throws GrouperException
Setview = m.hasView();
AttributeDef
objects.GrouperException
public boolean hasAttrView(AttributeDef attributeDef)
// Check whether this member has ATTR_VIEW on the specified AttributeDef. if (m.hasView(attributeDef)) { // Member has privilege }
attributeDef
- Test for privilege on this AttributeDef
public boolean isNonImmediateMember(Group g) throws GrouperException
if (m.isNonImmediateMember(g)) { // Is an immediate member }
g
- Test for membership in this group.GrouperException
public boolean isNonImmediateMember(Group g, Field f) throws SchemaException
// Does this member nonimmediately belong to the specified group? if (m.isNonImmediateMember(g, f)) { // Is an immediate member }
g
- Test for membership in this group.f
- Test for memberhip in this list field.SchemaException
public Set<Group> getNonImmediateGroups(Field field)
// Get groups where this member is an immediate member. Set immediates = m.getImmediateGroups();
field
- Group
objects.public int compareTo(Member o)
compareTo
in interface Comparable<Member>
Comparable.compareTo(java.lang.Object)
public boolean xmlDifferentBusinessProperties(Member other)
XmlImportableBase
xmlDifferentBusinessProperties
in interface XmlImportableBase<Member>
other
- the one to compare withXmlImportableBase.xmlDifferentBusinessProperties(java.lang.Object)
public boolean xmlDifferentUpdateProperties(Member other)
XmlImportableBase
xmlDifferentUpdateProperties
in interface XmlImportableBase<Member>
other
- the one to compare withXmlImportableBase.xmlDifferentUpdateProperties(java.lang.Object)
public void xmlCopyBusinessPropertiesToExisting(Member existingRecord)
XmlImportableBase
xmlCopyBusinessPropertiesToExisting
in interface XmlImportableBase<Member>
XmlImportableBase.xmlCopyBusinessPropertiesToExisting(java.lang.Object)
public Member xmlRetrieveByIdOrKey()
XmlImportable
xmlRetrieveByIdOrKey
in interface XmlImportable<Member>
XmlImportable.xmlRetrieveByIdOrKey()
public Member xmlSaveBusinessProperties(Member existingRecord)
XmlImportableBase
xmlSaveBusinessProperties
in interface XmlImportableBase<Member>
existingRecord
- null if insert, the object if exists in DB
generally just copy the hibernate version number, and last updated to the
object and store itXmlImportableBase.xmlSaveBusinessProperties(java.lang.Object)
public void xmlSaveUpdateProperties()
XmlImportableBase
xmlSaveUpdateProperties
in interface XmlImportableBase<Member>
XmlImportableBase.xmlSaveUpdateProperties()
public XmlExportMember xmlToExportMember(GrouperVersion grouperVersion)
grouperVersion
- public String xmlGetId()
XmlImportableBase
xmlGetId
in interface XmlImportableBase<Member>
XmlImportableBase.xmlGetId()
public void xmlSetId(String theId)
XmlImportableBase
xmlSetId
in interface XmlImportableBase<Member>
XmlImportableBase.xmlSetId(java.lang.String)
public String xmlToString()
XmlImportableBase
xmlToString
in interface XmlImportableBase<Member>
XmlImportableBase.xmlToString()
public String getSortString0()
public void setSortString0(String sortString0)
sortString0
- the sortString0 to setpublic String getSortString1()
public void setSortString1(String sortString1)
sortString1
- the sortString1 to setpublic String getSortString2()
public void setSortString2(String sortString2)
sortString2
- the sortString2 to setpublic String getSortString3()
public void setSortString3(String sortString3)
sortString3
- the sortString3 to setpublic String getSortString4()
public void setSortString4(String sortString4)
sortString4
- the sortString4 to setpublic String getSearchString0()
public void setSearchString0(String searchString0)
searchString0
- the searchString0 to setpublic String getSearchString1()
public void setSearchString1(String searchString1)
searchString1
- the searchString1 to setpublic String getSearchString2()
public void setSearchString2(String searchString2)
searchString2
- the searchString2 to setpublic String getSearchString3()
public void setSearchString3(String searchString3)
searchString3
- the searchString3 to setpublic String getSearchString4()
public void setSearchString4(String searchString4)
searchString4
- the searchString4 to setpublic String getName()
public void setName(String name)
name
- the name to setpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic void updateMemberAttributes(Subject subject, boolean storeChanges)
subject
- storeChanges
- if there are changes, should they be saved to the database?Copyright © 2016 Internet2. All rights reserved.