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 TypeMethodDescriptionvoidchangedAttributeHook(PerunSessionImpl session, UserExtSource ues, Attribute attribute) If you need to do some further work with other modules, this method do thatvoidcheckAttributeSemantics(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) This method checks UserExtSource attribute value semantics.voidcheckAttributeSyntax(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, resolveVirtualAttributeValueChangeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:UserExtSourceAttributesModuleImplApiIf you need to do some further work with other modules, this method do that- Specified by:
changedAttributeHookin interfaceUserExtSourceAttributesModuleImplApi- Parameters:
session- sessionues-attribute- the attribute
-
checkAttributeSemantics
public void checkAttributeSemantics(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) Description copied from interface:UserExtSourceAttributesModuleImplApiThis method checks UserExtSource attribute value semantics.- Specified by:
checkAttributeSemanticsin 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:UserExtSourceAttributesModuleImplApiThis method checks UserExtSource attribute value syntax.- Specified by:
checkAttributeSyntaxin 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:UserExtSourceAttributesModuleImplApiThis method fill UserExtSource attributes.- Specified by:
fillAttributein interfaceUserExtSourceAttributesModuleImplApi- Parameters:
session- Perun sessionues-attribute- Attribute to be filled in- Returns:
- Attribute which MAY be filled in.
-