Interface MemberGroupAttributesModuleImplApi
- All Superinterfaces:
AttributesModuleImplApi
- All Known Subinterfaces:
MemberGroupVirtualAttributesModuleImplApi
- All Known Implementing Classes:
MemberGroupAttributesModuleAbstract
,MemberGroupVirtualAttributesModuleAbstract
,urn_perun_member_group_attribute_def_def_groupMembershipExpiration
,urn_perun_member_group_attribute_def_virt_groupStatus
,urn_perun_member_group_attribute_def_virt_groupStatusIndirect
,urn_perun_member_group_attribute_def_virt_isGroupAdmin
,urn_perun_member_group_attribute_def_virt_o365SendAs
,urn_perun_member_group_attribute_def_virt_o365SendOnBehalf
This interface serves as a template for checking and filling in attribute for a member in a specified group.
author: Oliver Mrázik version: 2015-03-22
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changedAttributeHook
(PerunSessionImpl session, Member member, Group group, Attribute attribute) If you need to do some further work with other modules, this method do thatvoid
checkAttributeSemantics
(PerunSessionImpl perunSession, Member member, Group group, Attribute attribute) This method checks semantics of Member's attribute value in a specified group.void
checkAttributeSyntax
(PerunSessionImpl perunSession, Member member, Group group, Attribute attribute) This method checks syntax of Member's attribute value in a specified group.fillAttribute
(PerunSessionImpl perunSession, Member member, Group group, AttributeDefinition attribute) This method MAY fill Member's attributes in a specified group.Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleImplApi
getAttributeDefinition, getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
-
Method Details
-
changedAttributeHook
void changedAttributeHook(PerunSessionImpl session, Member member, Group group, Attribute attribute) If you need to do some further work with other modules, this method do that- Parameters:
session
- sessionmember
- Membergroup
- Groupattribute
- the attribute
-
checkAttributeSemantics
void checkAttributeSemantics(PerunSessionImpl perunSession, Member member, Group group, Attribute attribute) This method checks semantics of Member's attribute value in a specified group.- Parameters:
perunSession
- Perun sessionmember
- Membergroup
- Groupattribute
- Attribute to be checked.
-
checkAttributeSyntax
void checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Group group, Attribute attribute) throws WrongAttributeValueException This method checks syntax of Member's attribute value in a specified group.- Parameters:
perunSession
- Perun sessionmember
- Membergroup
- Groupattribute
- Attribute to be checked.- Throws:
InternalErrorException
- if an exception is raised in particular implementation, the exception is wrapped in InternalErrorExceptionWrongAttributeValueException
- if the attribute value has wrong/illegal syntax
-
fillAttribute
Attribute fillAttribute(PerunSessionImpl perunSession, Member member, Group group, AttributeDefinition attribute) This method MAY fill Member's attributes in a specified group.- Parameters:
perunSession
- Perun sessionmember
- Membergroup
- Groupattribute
- Attribute to be filled in- Returns:
- Attribute which MAY be filled in.
-