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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAttributeSyntax(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, 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_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:MemberAttributesModuleImplApiChecks if value of assigned attribute to the member has valid syntax.- Specified by:
checkAttributeSyntaxin interfaceMemberAttributesModuleImplApi- Overrides:
checkAttributeSyntaxin 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:AttributesModuleImplApiReturn attributes definition which is represented by the module- Specified by:
getAttributeDefinitionin interfaceAttributesModuleImplApi- Overrides:
getAttributeDefinitionin classAttributesModuleAbstract- Returns:
- attribute definition
-