Class GrouperDeprovisioningAttributeValue

java.lang.Object
edu.internet2.middleware.grouper.app.deprovisioning.GrouperDeprovisioningAttributeValue

public class GrouperDeprovisioningAttributeValue extends Object
bean that represents s attributes
  • Constructor Details

    • GrouperDeprovisioningAttributeValue

      public GrouperDeprovisioningAttributeValue()
  • Method Details

    • getGrouperDeprovisioningConfiguration

      public GrouperDeprovisioningConfiguration getGrouperDeprovisioningConfiguration()
      Returns:
      the grouperDeprovisioningConfiguration
    • setGrouperDeprovisioningConfiguration

      public void setGrouperDeprovisioningConfiguration(GrouperDeprovisioningConfiguration grouperDeprovisioningConfiguration1)
      Parameters:
      grouperDeprovisioningConfiguration1 - the grouperDeprovisioningConfiguration to set
    • flattenValues

      public void flattenValues()
      set strings to defaults to reduce the number of assignment values we need
    • getAllowAddsWhileDeprovisionedString

      public String getAllowAddsWhileDeprovisionedString()
      If allows adds to group of people who are deprovisioned can be: blank, true, or false. If blank, then will not allow adds unless auto change loader is false
      Returns:
      the allowAddsWhileDeprovisionedString
    • isAllowAddsWhileDeprovisioned

      public boolean isAllowAddsWhileDeprovisioned()
      if allow adds while deprovisioned
      Returns:
      true / false
    • setAllowAddsWhileDeprovisioned

      public void setAllowAddsWhileDeprovisioned(Boolean allowAddsWhileDeprovisioned)
      Parameters:
      allowAddsWhileDeprovisioned - true if show for removal
    • setAllowAddsWhileDeprovisionedString

      public void setAllowAddsWhileDeprovisionedString(String allowAddsWhileDeprovisionedString1)
      If allows adds to group of people who are deprovisioned can be: blank, true, or false. If blank, then will not allow adds unless auto change loader is false
      Parameters:
      allowAddsWhileDeprovisionedString1 - the allowAddsWhileDeprovisionedString to set
    • isAutoChangeLoader

      public boolean isAutoChangeLoader()
      Returns:
      true if auto change loader based on config
    • setAutoChangeLoader

      public void setAutoChangeLoader(Boolean autochangeLoader)
      Parameters:
      autochangeLoader - true if autochange loader
    • getAutoChangeLoaderString

      public String getAutoChangeLoaderString()
      If this is a loader job, if being in a deprovisioned group means the user should not be in the loaded group. can be: blank (true), or false (false)
      Returns:
      the autoChangeLoaderString
    • setAutoChangeLoaderString

      public void setAutoChangeLoaderString(String autoChangeLoaderString1)
      If this is a loader job, if being in a deprovisioned group means the user should not be in the loaded group. can be: blank (true), or false (false)
      Parameters:
      autoChangeLoaderString1 - the autoChangeLoaderString to set
    • getAutoselectForRemovalString

      public String getAutoselectForRemovalString()
      If the deprovisioning screen should autoselect this object as an object to deprovision can be: blank, true, or false. If blank, then will autoselect unless deprovisioningAutoChangeLoader is false
      Returns:
      the autoselectForRemoval
    • isAutoselectForRemoval

      public boolean isAutoselectForRemoval()
      Returns:
      if autoselect for removal
    • setAutoselectForRemovalString

      public void setAutoselectForRemovalString(String autoselectForRemoval1)
      If the deprovisioning screen should autoselect this object as an object to deprovision can be: blank, true, or false. If blank, then will autoselect unless deprovisioningAutoChangeLoader is false
      Parameters:
      autoselectForRemoval1 - the autoselectForRemoval to set
    • getDeprovisionString

      public String getDeprovisionString()
      true|false, true to deprovision, false to not deprovision (default to true). Note, if this is set on a daemon job, then it will not deprovision any group in the loader job (they will be marked as such)
      Returns:
      the deprovisionString
    • setDeprovision

      public void setDeprovision(Boolean deprovision)
      Parameters:
      deprovision -
    • setEmailManagers

      public void setEmailManagers(Boolean theEmailManagers)
      Parameters:
      theEmailManagers -
    • isDeprovision

      public boolean isDeprovision()
      Returns:
      true if deprovision
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • setDeprovisionString

      public void setDeprovisionString(String deprovisionString1)
      true|false, true to deprovision, false to not deprovision (default to true). Note, if this is set on a daemon job, then it will not deprovision any group in the loader job (they will be marked as such)
      Parameters:
      deprovisionString1 - the deprovisionString to set
    • getDirectAssignmentString

      public String getDirectAssignmentString()
      If deprovisioning configuration is directly assigned to the group or folder or inherited from parent true for direct, false for inherited, blank for not assigned
      Returns:
      the directAssignmentString
    • isDirectAssignment

      public boolean isDirectAssignment()
      If deprovisioning configuration is directly assigned to the group or folder or inherited from parent
      Returns:
      the directAssignmentString
    • setDirectAssignmentString

      public void setDirectAssignmentString(String directAssignmentString1)
      If deprovisioning configuration is directly assigned to the group or folder or inherited from parent
      Parameters:
      directAssignmentString1 - the directAssignmentString to set
    • setDirectAssignment

      public void setDirectAssignment(boolean directAssignment)
      If deprovisioning configuration is directly assigned to the group or folder or inherited from parent
      Parameters:
      directAssignment - the directAssignmentString to set
    • getEmailAddressesString

      public String getEmailAddressesString()
      Email addresses to send deprovisioning messages. If blank, then send to group managers, or comma separated email addresses (mutually exclusive with deprovisioningMailToGroup)
      Returns:
      the emailAddressesString
    • setEmailAddressesString

      public void setEmailAddressesString(String emailAddressesString1)
      Email addresses to send deprovisioning messages. If blank, then send to group managers, or comma separated email addresses (mutually exclusive with deprovisioningMailToGroup)
      Parameters:
      emailAddressesString1 - the emailAddressesString to set
    • isHasEmailBody

      public boolean isHasEmailBody()
      if there is an email body
      Returns:
      true if there is an email body
    • getEmailBodyString

      public String getEmailBodyString()
      custom email body for emails, if blank use the default configured body. Note there are template variables $$name$$ $$netId$$ $$userSubjectId$$ $$userEmailAddress$$ $$userDescription$$
      Returns:
      the emailBodyString
    • setEmailBodyString

      public void setEmailBodyString(String emailBodyString1)
      custom email body for emails, if blank use the default configured body. Note there are template variables $$name$$ $$netId$$ $$userSubjectId$$ $$userEmailAddress$$ $$userDescription$$
      Parameters:
      emailBodyString1 - the emailBodyString to set
    • getInheritedFromFolderIdString

      public String getInheritedFromFolderIdString()
      Stem ID of the folder where the configuration is inherited from. This is blank if this is a direct assignment and not inherited
      Returns:
      inherited from folder id
    • getInheritedFromFolder

      public Stem getInheritedFromFolder()
      if this is a stem attribute, this is the stem
      Returns:
      the ownerStem
    • setInheritedFromFolderIdString

      public void setInheritedFromFolderIdString(String inheritedFromFolderIdString1)
      Stem ID of the folder where the configuration is inherited from. This is blank if this is a direct assignment and not inherited
      Parameters:
      inheritedFromFolderIdString1 -
    • getMailToGroupString

      public String getMailToGroupString()
      Returns:
      the mailToGroupString
    • setMailToGroupString

      public void setMailToGroupString(String mailToGroupString1)
      Parameters:
      mailToGroupString1 - the mailToGroupString to set
    • getAffiliationString

      public String getAffiliationString()
      Returns:
      the affiliationString
    • setAffiliationString

      public void setAffiliationString(String affiliationString1)
      Parameters:
      affiliationString1 - the affiliationString to set
    • isSendEmail

      public boolean isSendEmail()
      Returns:
      true if send email
    • isShowForRemoval

      public boolean isShowForRemoval()
      Returns:
      true if show for removal
    • setShowForRemoval

      public void setShowForRemoval(Boolean showForRemoval)
      Parameters:
      showForRemoval - true if show for removal
    • setAutoselectForRemoval

      public void setAutoselectForRemoval(Boolean autoselectForRemoval)
      Parameters:
      autoselectForRemoval - true if show for removal
    • getSendEmailString

      public String getSendEmailString()
      Returns:
      the sendEmailString
    • setSendEmailString

      public void setSendEmailString(String sendEmailString1)
      Parameters:
      sendEmailString1 - the sendEmailString to set
    • getShowForRemovalString

      public String getShowForRemovalString()
      Returns:
      the showForRemovalString
    • setShowForRemovalString

      public void setShowForRemovalString(String showForRemovalString1)
      Parameters:
      showForRemovalString1 - the showForRemovalString to set
    • getLastEmailedDateString

      public String getLastEmailedDateString()
      yyyy/mm/dd date that this was last emailed so multiple emails dont go out on same day
      Returns:
      the deprovisioningLastEmailedDateString
    • setLastEmailedDateString

      public void setLastEmailedDateString(String deprovisioningLastEmailedDateString1)
      yyyy/mm/dd date that this was last emailed so multiple emails dont go out on same day
      Parameters:
      deprovisioningLastEmailedDateString1 - the deprovisioningLastEmailedDateString to set
    • setLastEmailedDate

      public void setLastEmailedDate(Date date)
      Parameters:
      date -
    • getLastEmailedDate

      public Date getLastEmailedDate()
      yyyy/mm/dd date that this was last emailed so multiple emails dont go out on same day
      Returns:
      the deprovisioningLastEmailedDateString
    • getCertifiedMillisString

      public String getCertifiedMillisString()
      (String) number of millis since 1970 that this group was certified for deprovisioning. i.e. the group managers indicate that the deprovisioned users are ok being in the group and do not send email reminders about it anymore until there are newly deprovisioned entities
      Returns:
      the deprovisioningCertifiedMillisString
    • getCertifiedMillis

      public Long getCertifiedMillis()
      number of millis since 1970 that this group was certified for deprovisioning. i.e. the group managers indicate that the deprovisioned users are ok being in the group and do not send email reminders about it anymore until there are newly deprovisioned entities
      Returns:
      the deprovisioningCertifiedMillisString
    • getCertifiedDate

      public Date getCertifiedDate()
      date that this group was certified for deprovisioning. i.e. the group managers indicate that the deprovisioned users are ok being in the group and do not send email reminders about it anymore until there are newly deprovisioned entities
      Returns:
      the deprovisioningCertifiedMillisString
    • setCertifiedMillisString

      public void setCertifiedMillisString(String deprovisioningCertifiedMillisString1)
      (String) number of millis since 1970 that this group was certified for deprovisioning. i.e. the group managers indicate that the deprovisioned users are ok being in the group and do not send email reminders about it anymore until there are newly deprovisioned entities
      Parameters:
      deprovisioningCertifiedMillisString1 - the deprovisioningCertifiedMillisString to set
    • setCertifiedMillis

      public void setCertifiedMillis(Long deprovisioningCertifiedMillis)
      (String) number of millis since 1970 that this group was certified for deprovisioning. i.e. the group managers indicate that the deprovisioned users are ok being in the group and do not send email reminders about it anymore until there are newly deprovisioned entities
      Parameters:
      deprovisioningCertifiedMillis - the deprovisioningCertifiedMillisString to set
    • setCertifiedDate

      public void setCertifiedDate(Date deprovisioningCertifiedDate)
      (String) number of millis since 1970 that this group was certified for deprovisioning. i.e. the group managers indicate that the deprovisioned users are ok being in the group and do not send email reminders about it anymore until there are newly deprovisioned entities
      Parameters:
      deprovisioningCertifiedDate - the deprovisioningCertified date to set
    • getStemScopeString

      public String getStemScopeString()
      Returns:
      the stemScopeString
    • getStemScope

      public Stem.Scope getStemScope()
      get the stem scope if assigned to a stem
      Returns:
      the scope
    • isStemScopeSub

      public boolean isStemScopeSub()
      if stem scope sub
      Returns:
      if sub
    • setStemScopeString

      public void setStemScopeString(String stemScopeString1)
      Parameters:
      stemScopeString1 - the stemScopeString to set
    • isEmailManagers

      public boolean isEmailManagers()
      send email to managers of object. if not sending to email list or group, then must be managers
      Returns:
      true if send email to managers
    • setSendEmail

      public void setSendEmail(boolean theSendEmail)
      if should send email, default false
      Parameters:
      theSendEmail -
    • setStemScope

      public void setStemScope(Stem.Scope scope)
      set the scope and honor the defaults
      Parameters:
      scope -
    • isEmailGroupMembers

      public boolean isEmailGroupMembers()
      send email to managers of object. if not sending to email list or group, then must be managers
      Returns:
      true if send email to managers
    • setEmailGroupMembers

      public void setEmailGroupMembers(Boolean theEmailGroupMembers)
      Parameters:
      theEmailGroupMembers -