Class DefaultB2BGroupCycleValidator

java.lang.Object
de.hybris.platform.b2bacceleratorservices.company.impl.DefaultB2BGroupCycleValidator
All Implemented Interfaces:
B2BGroupCycleValidator, B2BGroupCycleValidator

@Deprecated(since="6.0", forRemoval=true) public class DefaultB2BGroupCycleValidator extends Object implements B2BGroupCycleValidator
Deprecated, for removal: This API element is subject to removal in a future version.
Since 6.0. Use DefaultB2BGroupCycleValidator instead.
  • Constructor Details

    • DefaultB2BGroupCycleValidator

      public DefaultB2BGroupCycleValidator()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • validateGroups

      public boolean validateGroups(PrincipalGroupModel principalGroupModel, PrincipalGroupModel groupMember)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: B2BGroupCycleValidator
      Validate the groups given a group and group member
      Specified by:
      validateGroups in interface B2BGroupCycleValidator
      Returns:
      Boolean result based on whether cyclic groups were detected or not
    • validateMembers

      public boolean validateMembers(PrincipalGroupModel principalGroupModel, PrincipalModel member)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: B2BGroupCycleValidator
      Validate the members given a group and group member
      Specified by:
      validateMembers in interface B2BGroupCycleValidator
      Returns:
      Boolean result based on whether cyclic groups were detected or not
    • checkGroups

      protected boolean checkGroups(PrincipalGroupModel principalGroup)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • checkMembers

      protected boolean checkMembers(PrincipalGroupModel principalGroup)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getAllGroups

      protected Set<PrincipalGroupModel> getAllGroups(PrincipalModel principal)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addGroups

      protected void addGroups(Set<PrincipalGroupModel> allGroups, Set<PrincipalGroupModel> groups)
      Deprecated, for removal: This API element is subject to removal in a future version.