Class HooksExternalSubjectBean
java.lang.Object
edu.internet2.middleware.grouper.hooks.beans.HooksBean
edu.internet2.middleware.grouper.hooks.beans.HooksExternalSubjectBean
- All Implemented Interfaces:
GrouperCloneable
bean to hold objects for attribute def name low level hooks
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
constant for field name for: autoaddGroupsstatic final String
constant for field name for: externalSubjectstatic final String
constant for field name for: externalSubjectAttributesstatic final String
constant for field name for: externalSubjectInviteNamestatic final String
constant for field name for: fromRecalcDaemonstatic final String
constant for field name for: insertstatic final String
constant for field name for: update -
Constructor Summary
ConstructorsConstructorDescriptionHooksExternalSubjectBean
(ExternalSubject theExternalSubject, boolean isInsert, boolean isUpdate, Set<ExternalSubjectAttribute> theExternalSubjectAttributes, String theExternalSubjectInviteName, boolean theAutoAddGroups, boolean theFromDaemon) call this when editing the external subject, insert or udpate -
Method Summary
Modifier and TypeMethodDescriptionclone()
deep clone the fields in this objectobject being affectedthe attributes that will be saved with the subjectexternal subject invite name, in url to have different hooksboolean
if should autoadd groupsboolean
if from daemonboolean
isInsert()
if this is an insertboolean
isUpdate()
if this is an updatevoid
setAutoaddGroups
(boolean autoaddGroups1) if should autoadd groupsvoid
setExternalSubject
(ExternalSubject theExternalSubject) object being affectedvoid
setExternalSubjectAttributes
(Set<ExternalSubjectAttribute> theExternalSubjectAttributes) the attributes that will be saved with the subjectvoid
setExternalSubjectInviteName
(String externalSubjectInviteName1) external subject invite name, in url to have different hooksvoid
setFromRecalcDaemon
(boolean fromDaemon1) if from daemonvoid
setInsert
(boolean insert1) if this is an insertvoid
setUpdate
(boolean update1) if this is an update
-
Field Details
-
FIELD_AUTOADD_GROUPS
constant for field name for: autoaddGroups- See Also:
-
FIELD_EXTERNAL_SUBJECT
constant for field name for: externalSubject- See Also:
-
FIELD_EXTERNAL_SUBJECT_ATTRIBUTES
constant for field name for: externalSubjectAttributes- See Also:
-
FIELD_EXTERNAL_SUBJECT_INVITE_NAME
constant for field name for: externalSubjectInviteName- See Also:
-
FIELD_FROM_RECALC_DAEMON
constant for field name for: fromRecalcDaemon- See Also:
-
FIELD_INSERT
constant for field name for: insert- See Also:
-
FIELD_UPDATE
constant for field name for: update- See Also:
-
-
Constructor Details
-
HooksExternalSubjectBean
public HooksExternalSubjectBean() -
HooksExternalSubjectBean
public HooksExternalSubjectBean(ExternalSubject theExternalSubject, boolean isInsert, boolean isUpdate, Set<ExternalSubjectAttribute> theExternalSubjectAttributes, String theExternalSubjectInviteName, boolean theAutoAddGroups, boolean theFromDaemon) call this when editing the external subject, insert or udpate- Parameters:
theExternalSubject
-isInsert
-isUpdate
-theExternalSubjectAttributes
-theExternalSubjectInviteName
-theAutoAddGroups
-theFromDaemon
-
-
-
Method Details
-
isAutoaddGroups
public boolean isAutoaddGroups()if should autoadd groups- Returns:
- the autoaddGroups
-
setAutoaddGroups
public void setAutoaddGroups(boolean autoaddGroups1) if should autoadd groups- Parameters:
autoaddGroups1
- the autoaddGroups to set
-
isFromRecalcDaemon
public boolean isFromRecalcDaemon()if from daemon- Returns:
- the fromDaemon
-
setFromRecalcDaemon
public void setFromRecalcDaemon(boolean fromDaemon1) if from daemon- Parameters:
fromDaemon1
- the fromDaemon to set
-
getExternalSubject
object being affected- Returns:
- external subject
-
setExternalSubject
object being affected- Parameters:
theExternalSubject
-
-
getExternalSubjectAttributes
the attributes that will be saved with the subject- Returns:
- the attributes
-
setExternalSubjectAttributes
public void setExternalSubjectAttributes(Set<ExternalSubjectAttribute> theExternalSubjectAttributes) the attributes that will be saved with the subject- Parameters:
theExternalSubjectAttributes
-
-
isInsert
public boolean isInsert()if this is an insert- Returns:
- if insert
-
setInsert
public void setInsert(boolean insert1) if this is an insert- Parameters:
insert1
-
-
isUpdate
public boolean isUpdate()if this is an update- Returns:
- if udpate
-
setUpdate
public void setUpdate(boolean update1) if this is an update- Parameters:
update1
-
-
getExternalSubjectInviteName
external subject invite name, in url to have different hooks- Returns:
- name
-
setExternalSubjectInviteName
external subject invite name, in url to have different hooks- Parameters:
externalSubjectInviteName1
-
-
clone
deep clone the fields in this object- Specified by:
clone
in interfaceGrouperCloneable
- Specified by:
clone
in classHooksBean
- Returns:
- the clone of the object
- See Also:
-