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
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 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, fillAttributeMethods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
getAuthorizedRoles, getDependenciesMethods 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
-
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: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
-
getAttributeDefinition
Description copied from interface:AttributesModuleImplApiReturn attributes definition which is represented by the module- Specified by:
getAttributeDefinitionin interfaceAttributesModuleImplApi- Overrides:
getAttributeDefinitionin classAttributesModuleAbstract- Returns:
- attribute definition
-
resolveVirtualAttributeValueChange
public List<AuditEvent> resolveVirtualAttributeValueChange(PerunSessionImpl session, AuditEvent message) throws WrongReferenceAttributeValueException, WrongAttributeAssignmentException Description copied from interface:AttributesModuleImplApiGets message from auditer and resolves if it is needed to add another messages to DB about virtualAttribute changes.- Specified by:
resolveVirtualAttributeValueChangein interfaceAttributesModuleImplApi- Overrides:
resolveVirtualAttributeValueChangein classAttributesModuleAbstract- Parameters:
session-message-- Returns:
- list of additional messages for auditer to log it
- Throws:
WrongReferenceAttributeValueExceptionWrongAttributeAssignmentException
-