Interface MemberGroupAttributesModuleImplApi

All Superinterfaces:
AttributesModuleImplApi
All Known Subinterfaces:
MemberGroupVirtualAttributesModuleImplApi
All Known Implementing Classes:
MemberGroupAttributesModuleAbstract, MemberGroupVirtualAttributesModuleAbstract, urn_perun_member_group_attribute_def_def_groupMembershipExpiration, urn_perun_member_group_attribute_def_virt_groupStatus, urn_perun_member_group_attribute_def_virt_groupStatusIndirect, urn_perun_member_group_attribute_def_virt_isGroupAdmin, urn_perun_member_group_attribute_def_virt_o365SendAs, urn_perun_member_group_attribute_def_virt_o365SendOnBehalf

public interface MemberGroupAttributesModuleImplApi extends AttributesModuleImplApi
This interface serves as a template for checking and filling in attribute for a member in a specified group.

author: Oliver Mrázik version: 2015-03-22

  • Method Details

    • changedAttributeHook

      void changedAttributeHook(PerunSessionImpl session, Member member, Group group, Attribute attribute)
      If you need to do some further work with other modules, this method do that
      Parameters:
      session - session
      member - Member
      group - Group
      attribute - the attribute
    • checkAttributeSemantics

      void checkAttributeSemantics(PerunSessionImpl perunSession, Member member, Group group, Attribute attribute)
      This method checks semantics of Member's attribute value in a specified group.
      Parameters:
      perunSession - Perun session
      member - Member
      group - Group
      attribute - Attribute to be checked.
    • checkAttributeSyntax

      void checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Group group, Attribute attribute) throws WrongAttributeValueException
      This method checks syntax of Member's attribute value in a specified group.
      Parameters:
      perunSession - Perun session
      member - Member
      group - Group
      attribute - Attribute to be checked.
      Throws:
      InternalErrorException - if an exception is raised in particular implementation, the exception is wrapped in InternalErrorException
      WrongAttributeValueException - if the attribute value has wrong/illegal syntax
    • fillAttribute

      Attribute fillAttribute(PerunSessionImpl perunSession, Member member, Group group, AttributeDefinition attribute)
      This method MAY fill Member's attributes in a specified group.
      Parameters:
      perunSession - Perun session
      member - Member
      group - Group
      attribute - Attribute to be filled in
      Returns:
      Attribute which MAY be filled in.