Interface UserExtSourceAttributesModuleImplApi

All Superinterfaces:
AttributesModuleImplApi
All Known Subinterfaces:
UserExtSourceVirtualAttributesModuleImplApi
All Known Implementing Classes:
urn_perun_ues_attribute_def_def_isCesnetEligibleLastSeen, UserExtSourceAttributesModuleAbstract, UserExtSourceVirtualAttributesModuleAbstract

public interface UserExtSourceAttributesModuleImplApi extends AttributesModuleImplApi
This interface serves as a template for checking and fillind in attribute for a member at a specified UserExtSource.
Author:
Jan Zvěřina invalid input: '<'zverina.jan@email.cz>
  • Method Details

    • changedAttributeHook

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

      void checkAttributeSemantics(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute)
      This method checks UserExtSource attribute value semantics.
      Parameters:
      perunSession - Perun session
      ues -
      attribute - Attribute to be checked.
    • checkAttributeSyntax

      void checkAttributeSyntax(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) throws WrongAttributeValueException
      This method checks UserExtSource attribute value syntax.
      Parameters:
      perunSession - Perun session
      ues -
      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, UserExtSource ues, AttributeDefinition attribute)
      This method fill UserExtSource attributes.
      Parameters:
      perunSession - Perun session
      ues -
      attribute - Attribute to be filled in
      Returns:
      Attribute which MAY be filled in.