Interface UserExtSourceAttributesModuleImplApi
- All Superinterfaces:
AttributesModuleImplApi
- All Known Subinterfaces:
UserExtSourceVirtualAttributesModuleImplApi
- All Known Implementing Classes:
urn_perun_ues_attribute_def_def_isCesnetEligibleLastSeen
,UserExtSourceAttributesModuleAbstract
,UserExtSourceVirtualAttributesModuleAbstract
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 Summary
Modifier and TypeMethodDescriptionvoid
changedAttributeHook
(PerunSessionImpl session, UserExtSource ues, Attribute attribute) If you need to do some further work with other modules, this method do thatvoid
checkAttributeSemantics
(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) This method checks UserExtSource attribute value semantics.void
checkAttributeSyntax
(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) This method checks UserExtSource attribute value syntax.fillAttribute
(PerunSessionImpl perunSession, UserExtSource ues, AttributeDefinition attribute) This method fill UserExtSource attributes.Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleImplApi
getAttributeDefinition, getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
-
Method Details
-
changedAttributeHook
If you need to do some further work with other modules, this method do that- Parameters:
session
- sessionues
-attribute
- the attribute
-
checkAttributeSemantics
This method checks UserExtSource attribute value semantics.- Parameters:
perunSession
- Perun sessionues
-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 sessionues
-attribute
- Attribute to be checked.- Throws:
InternalErrorException
- if an exception is raised in particular implementation, the exception is wrapped in InternalErrorExceptionWrongAttributeValueException
- 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 sessionues
-attribute
- Attribute to be filled in- Returns:
- Attribute which MAY be filled in.
-