Class UserExtSourceAttributesModuleAbstract
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.UserExtSourceAttributesModuleAbstract
- All Implemented Interfaces:
AttributesModuleImplApi
,UserExtSourceAttributesModuleImplApi
- Direct Known Subclasses:
urn_perun_ues_attribute_def_def_isCesnetEligibleLastSeen
,UserExtSourceVirtualAttributesModuleAbstract
public abstract class UserExtSourceAttributesModuleAbstract
extends AttributesModuleAbstract
implements UserExtSourceAttributesModuleImplApi
Abstract class for UserExtSource Attributes modules.
----------------------------------------------------------------------------- Implements methods for modules to
perform default function. In the function that the method in the module does nothing, it is not necessary to
implement it, simply extend this abstract class.
- Author:
- Jan Zvěřina invalid input: '<'zverina.jan@email.cz>
-
Constructor Summary
Constructors -
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 session, UserExtSource ues, AttributeDefinition attribute) This method fill UserExtSource attributes.Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
getAttributeDefinition, getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleImplApi
getAttributeDefinition, getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
-
Constructor Details
-
UserExtSourceAttributesModuleAbstract
public UserExtSourceAttributesModuleAbstract()
-
-
Method Details
-
changedAttributeHook
Description copied from interface:UserExtSourceAttributesModuleImplApi
If you need to do some further work with other modules, this method do that- Specified by:
changedAttributeHook
in interfaceUserExtSourceAttributesModuleImplApi
- Parameters:
session
- sessionues
-attribute
- the attribute
-
checkAttributeSemantics
public void checkAttributeSemantics(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) Description copied from interface:UserExtSourceAttributesModuleImplApi
This method checks UserExtSource attribute value semantics.- Specified by:
checkAttributeSemantics
in interfaceUserExtSourceAttributesModuleImplApi
- Parameters:
perunSession
- Perun sessionues
-attribute
- Attribute to be checked.
-
checkAttributeSyntax
public void checkAttributeSyntax(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) throws WrongAttributeValueException Description copied from interface:UserExtSourceAttributesModuleImplApi
This method checks UserExtSource attribute value syntax.- Specified by:
checkAttributeSyntax
in interfaceUserExtSourceAttributesModuleImplApi
- Parameters:
perunSession
- Perun sessionues
-attribute
- Attribute to be checked.- Throws:
WrongAttributeValueException
- if the attribute value has wrong/illegal syntax
-
fillAttribute
public Attribute fillAttribute(PerunSessionImpl session, UserExtSource ues, AttributeDefinition attribute) Description copied from interface:UserExtSourceAttributesModuleImplApi
This method fill UserExtSource attributes.- Specified by:
fillAttribute
in interfaceUserExtSourceAttributesModuleImplApi
- Parameters:
session
- Perun sessionues
-attribute
- Attribute to be filled in- Returns:
- Attribute which MAY be filled in.
-