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 <r.cerhak@gmail.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changedAttributeHook
(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.void
checkAttributeSyntax
(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, fillAttribute
Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
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
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:
changedAttributeHook
in interfaceUserExtSourceAttributesModuleImplApi
- Overrides:
changedAttributeHook
in classUserExtSourceAttributesModuleAbstract
- Parameters:
session
-ues
-attribute
-
-
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
- Overrides:
checkAttributeSyntax
in classUserExtSourceAttributesModuleAbstract
- Parameters:
perunSession
- Perun sessionattribute
- Attribute to be checked.- Throws:
WrongAttributeValueException
- if the attribute value has wrong/illegal syntax
-
getAttributeDefinition
Description copied from interface:AttributesModuleImplApi
Return attributes definition which is represented by the module- Specified by:
getAttributeDefinition
in interfaceAttributesModuleImplApi
- Overrides:
getAttributeDefinition
in classAttributesModuleAbstract
- Returns:
- attribute definition
-