Class urn_perun_member_attribute_def_def_o365EmailAddresses_mu
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.MemberAttributesModuleAbstract
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_member_attribute_def_def_o365EmailAddresses_mu
- All Implemented Interfaces:
AttributesModuleImplApi
,MemberAttributesModuleImplApi
public class urn_perun_member_attribute_def_def_o365EmailAddresses_mu
extends MemberAttributesModuleAbstract
Module for email addresses for Office365 at Masaryk University. Implements checks for attribute
urn:perun:member:attribute-def:def:o365EmailAddresses_mu.
Requirements:
- type is list
- value can be null
- if not null, than all values are email addresses
- no duplicates among the list values
- no duplicates among all values of this attribute for all members
- Author:
- Martin Kuba <makub@ics.muni.cz>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkAttributeSyntax
(PerunSessionImpl perunSession, Member member, Attribute attribute) Checks if value of assigned attribute to the member has valid syntax.Return attributes definition which is represented by the moduleMethods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.MemberAttributesModuleAbstract
changedAttributeHook, 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_member_attribute_def_def_o365EmailAddresses_mu
public urn_perun_member_attribute_def_def_o365EmailAddresses_mu()
-
-
Method Details
-
checkAttributeSyntax
public void checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Attribute attribute) throws WrongAttributeValueException Description copied from interface:MemberAttributesModuleImplApi
Checks if value of assigned attribute to the member has valid syntax.- Specified by:
checkAttributeSyntax
in interfaceMemberAttributesModuleImplApi
- Overrides:
checkAttributeSyntax
in classMemberAttributesModuleAbstract
- Parameters:
perunSession
- Perun sessionmember
- Memberattribute
- Attribute of the member.- 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
-