public class HooksMemberChangeSubjectBean extends HooksBean
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_DELETING_OLD_MEMBER
constant for field name for: deletingOldMember
|
static String |
FIELD_MEMBER
constant for field name for: member
|
static String |
FIELD_NEW_MEMBER_DIDNT_EXIST
constant for field name for: newMemberDidntExist
|
static String |
FIELD_NEW_SUBJECT
constant for field name for: newSubject
|
static String |
FIELD_OLD_SUBJECT_ID
constant for field name for: oldSubjectId
|
static String |
FIELD_OLD_SUBJECT_SOURCE_ID
constant for field name for: oldSubjectSourceId
|
Constructor and Description |
---|
HooksMemberChangeSubjectBean() |
HooksMemberChangeSubjectBean(Member theMember,
Subject theNewSubject,
String theOldSubjectId,
String theOldSubjectSourceId,
boolean theDeletingOldMember,
boolean theNewMemberDidntExist)
construct
|
Modifier and Type | Method and Description |
---|---|
HooksMemberChangeSubjectBean |
clone()
deep clone the fields in this object
|
Member |
getMember()
object being inserted
|
Subject |
getNewSubject()
subject that is being changed to
|
String |
getOldSubjectId()
old subject info
|
String |
getOldSubjectSourceId()
old subject info
|
boolean |
isDeletingOldMember()
if we are deleting the old member object (only applicable if new member exists)
|
boolean |
isNewMemberDidntExist()
if the new member didnt exist, then just put the new subject in the old member
|
public static final String FIELD_DELETING_OLD_MEMBER
public static final String FIELD_MEMBER
public static final String FIELD_NEW_MEMBER_DIDNT_EXIST
public static final String FIELD_NEW_SUBJECT
public static final String FIELD_OLD_SUBJECT_ID
public static final String FIELD_OLD_SUBJECT_SOURCE_ID
public HooksMemberChangeSubjectBean()
public HooksMemberChangeSubjectBean(Member theMember, Subject theNewSubject, String theOldSubjectId, String theOldSubjectSourceId, boolean theDeletingOldMember, boolean theNewMemberDidntExist)
theMember
- theNewSubject
- theOldSubjectId
- theOldSubjectSourceId
- theDeletingOldMember
- theNewMemberDidntExist
- public Member getMember()
public Subject getNewSubject()
public HooksMemberChangeSubjectBean clone()
clone
in interface GrouperCloneable
clone
in class HooksBean
Object.clone()
public String getOldSubjectId()
public String getOldSubjectSourceId()
public boolean isDeletingOldMember()
public boolean isNewMemberDidntExist()
Copyright © 2016 Internet2. All rights reserved.