Class urn_perun_ues_attribute_def_def_isCesnetEligibleLastSeen
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.UserExtSourceAttributesModuleAbstract
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_ues_attribute_def_def_isCesnetEligibleLastSeen
- All Implemented Interfaces:
AttributesModuleImplApi,UserExtSourceAttributesModuleImplApi
public class urn_perun_ues_attribute_def_def_isCesnetEligibleLastSeen
extends UserExtSourceAttributesModuleAbstract
Attribute module for isCesnetEligibleLastSeen, value is String representing timestamp.
- Author:
- Radoslav Čerhák invalid input: '<'r.cerhak@gmail.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangedAttributeHook(PerunSessionImpl session, UserExtSource ues, Attribute attribute) When isCesnetEligibleLastSeen of a user's ext source is set, check if it is more recent than the user's current isCesnetEligibleLastSeen.voidcheckAttributeSyntax(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) This method checks UserExtSource attribute value syntax.Return attributes definition which is represented by the moduleMethods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.UserExtSourceAttributesModuleAbstract
checkAttributeSemantics, fillAttributeMethods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
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
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
-
Constructor Details
-
urn_perun_ues_attribute_def_def_isCesnetEligibleLastSeen
public urn_perun_ues_attribute_def_def_isCesnetEligibleLastSeen()
-
-
Method Details
-
changedAttributeHook
When isCesnetEligibleLastSeen of a user's ext source is set, check if it is more recent than the user's current isCesnetEligibleLastSeen. If so, update it.- Specified by:
changedAttributeHookin interfaceUserExtSourceAttributesModuleImplApi- Overrides:
changedAttributeHookin classUserExtSourceAttributesModuleAbstract- Parameters:
session-ues-attribute-
-
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- Overrides:
checkAttributeSyntaxin classUserExtSourceAttributesModuleAbstract- Parameters:
perunSession- Perun sessionues-attribute- Attribute to be checked.- Throws:
WrongAttributeValueException- if the attribute value has wrong/illegal syntax
-
getAttributeDefinition
Description copied from interface:AttributesModuleImplApiReturn attributes definition which is represented by the module- Specified by:
getAttributeDefinitionin interfaceAttributesModuleImplApi- Overrides:
getAttributeDefinitionin classAttributesModuleAbstract- Returns:
- attribute definition
-