Class urn_perun_user_attribute_def_def_titleBeforeDc2
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.UserAttributesModuleAbstract
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_user_attribute_def_def_titleBeforeDc2
- All Implemented Interfaces:
AttributesModuleImplApi
,UserAttributesModuleImplApi
public class urn_perun_user_attribute_def_def_titleBeforeDc2
extends UserAttributesModuleAbstract
implements UserAttributesModuleImplApi
Update title before name on User if value in attribute is changed.
- Author:
- Pavel Zlámal invalid input: '<'zlamal@cesnet.cz>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changedAttributeHook
(PerunSessionImpl session, User user, Attribute attribute) When title before name from DC2 changes, update User.Return attributes definition which is represented by the moduleMethods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.UserAttributesModuleAbstract
checkAttributeSemantics, checkAttributeSyntax, fillAttribute, getAnonymizedValue
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.UserAttributesModuleImplApi
checkAttributeSemantics, checkAttributeSyntax, fillAttribute, getAnonymizedValue
-
Constructor Details
-
urn_perun_user_attribute_def_def_titleBeforeDc2
public urn_perun_user_attribute_def_def_titleBeforeDc2()
-
-
Method Details
-
changedAttributeHook
When title before name from DC2 changes, update User.- Specified by:
changedAttributeHook
in interfaceUserAttributesModuleImplApi
- Overrides:
changedAttributeHook
in classUserAttributesModuleAbstract
- Parameters:
session
-user
-attribute
-- Throws:
InternalErrorException
-
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
-