Class urn_perun_member_attribute_def_def_mail
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_mail
- All Implemented Interfaces:
AttributesModuleImplApi
,MemberAttributesModuleImplApi
public class urn_perun_member_attribute_def_def_mail
extends MemberAttributesModuleAbstract
implements MemberAttributesModuleImplApi
- Author:
- Michal Šťava <stava.michal@gmail.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changedAttributeHook
(PerunSessionImpl session, Member member, Attribute attribute) If you need to do some further work with other modules, this method do thatvoid
checkAttributeSemantics
(PerunSessionImpl perunSession, Member member, Attribute attribute) Checks if value of assigned attribute to the member has valid semantics.void
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
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
Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.MemberAttributesModuleImplApi
fillAttribute
-
Constructor Details
-
urn_perun_member_attribute_def_def_mail
public urn_perun_member_attribute_def_def_mail()
-
-
Method Details
-
changedAttributeHook
public void changedAttributeHook(PerunSessionImpl session, Member member, Attribute attribute) throws WrongReferenceAttributeValueException Description copied from interface:MemberAttributesModuleImplApi
If you need to do some further work with other modules, this method do that- Specified by:
changedAttributeHook
in interfaceMemberAttributesModuleImplApi
- Overrides:
changedAttributeHook
in classMemberAttributesModuleAbstract
- Parameters:
session
- sessionmember
- the memberattribute
- the attribute- Throws:
WrongReferenceAttributeValueException
-
checkAttributeSemantics
public void checkAttributeSemantics(PerunSessionImpl perunSession, Member member, Attribute attribute) throws WrongReferenceAttributeValueException Description copied from interface:MemberAttributesModuleImplApi
Checks if value of assigned attribute to the member has valid semantics.- Specified by:
checkAttributeSemantics
in interfaceMemberAttributesModuleImplApi
- Overrides:
checkAttributeSemantics
in classMemberAttributesModuleAbstract
- Parameters:
perunSession
- Perun sessionmember
- Memberattribute
- Attribute of the member.- Throws:
WrongReferenceAttributeValueException
- if the attribute value has wrong/illegal semantics
-
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
-