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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangedAttributeHook(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, deletedEntityHook, fillAttribute, getAnonymizedValueMethods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods 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, resolveVirtualAttributeValueChangeMethods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.UserAttributesModuleImplApi
checkAttributeSemantics, checkAttributeSyntax, deletedEntityHook, 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:
changedAttributeHookin interfaceUserAttributesModuleImplApi- Overrides:
changedAttributeHookin classUserAttributesModuleAbstract- Parameters:
session-user-attribute-- Throws:
InternalErrorException
-
getAttributeDefinition
Description copied from interface:AttributesModuleImplApiReturn attributes definition which is represented by the module- Specified by:
getAttributeDefinitionin interfaceAttributesModuleImplApi- Overrides:
getAttributeDefinitionin classAttributesModuleAbstract- Returns:
- attribute definition
-