Class urn_perun_member_attribute_def_def_phone
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_phone
- All Implemented Interfaces:
AttributesModuleImplApi, MemberAttributesModuleImplApi
public class urn_perun_member_attribute_def_def_phone
extends MemberAttributesModuleAbstract
implements MemberAttributesModuleImplApi
- Author:
- Simona Kruppova
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangedAttributeHook(PerunSessionImpl session, Member member, Attribute attribute) If you need to do some further work with other modules, this method do thatvoidcheckAttributeSemantics(PerunSessionImpl perunSession, Member member, Attribute attribute) Checks if value of assigned attribute to the member has valid semantics.voidcheckAttributeSyntax(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 MemberAttributesModuleAbstract
fillAttributeMethods inherited from class AttributesModuleAbstract
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AttributesModuleImplApi
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from interface MemberAttributesModuleImplApi
fillAttribute
-
Constructor Details
-
urn_perun_member_attribute_def_def_phone
public urn_perun_member_attribute_def_def_phone()
-
-
Method Details
-
changedAttributeHook
public void changedAttributeHook(PerunSessionImpl session, Member member, Attribute attribute) throws WrongReferenceAttributeValueException Description copied from interface:MemberAttributesModuleImplApiIf you need to do some further work with other modules, this method do that- Specified by:
changedAttributeHookin interfaceMemberAttributesModuleImplApi- Overrides:
changedAttributeHookin 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:MemberAttributesModuleImplApiChecks if value of assigned attribute to the member has valid semantics.- Specified by:
checkAttributeSemanticsin interfaceMemberAttributesModuleImplApi- Overrides:
checkAttributeSemanticsin 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: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
-