Class urn_perun_member_attribute_def_def_suspensionInfo
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_suspensionInfo
- All Implemented Interfaces:
AttributesModuleImplApi
,MemberAttributesModuleImplApi
public class urn_perun_member_attribute_def_def_suspensionInfo
extends MemberAttributesModuleAbstract
Message with information about suspension of a member.
- Author:
- Metodej Klang invalid input: '<'metodej.klang@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 thatReturn attributes definition which is represented by the moduleresolveVirtualAttributeValueChange
(PerunSessionImpl session, AuditEvent message) Gets message from auditer and resolves if it is needed to add another messages to DB about virtualAttribute changes.Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.MemberAttributesModuleAbstract
checkAttributeSemantics, checkAttributeSyntax, fillAttribute
Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
getAuthorizedRoles, getDependencies
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
-
Constructor Details
-
urn_perun_member_attribute_def_def_suspensionInfo
public urn_perun_member_attribute_def_def_suspensionInfo()
-
-
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
-
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
-
resolveVirtualAttributeValueChange
public List<AuditEvent> resolveVirtualAttributeValueChange(PerunSessionImpl session, AuditEvent message) throws WrongReferenceAttributeValueException, WrongAttributeAssignmentException Description copied from interface:AttributesModuleImplApi
Gets message from auditer and resolves if it is needed to add another messages to DB about virtualAttribute changes.- Specified by:
resolveVirtualAttributeValueChange
in interfaceAttributesModuleImplApi
- Overrides:
resolveVirtualAttributeValueChange
in classAttributesModuleAbstract
- Parameters:
session
-message
-- Returns:
- list of additional messages for auditer to log it
- Throws:
WrongReferenceAttributeValueException
WrongAttributeAssignmentException
-