Class urn_perun_user_attribute_def_def_titleBeforeKos
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_titleBeforeKos
- All Implemented Interfaces:
AttributesModuleImplApi, UserAttributesModuleImplApi
public class urn_perun_user_attribute_def_def_titleBeforeKos
extends UserAttributesModuleAbstract
implements UserAttributesModuleImplApi
Attribute module for setting title before name from KOS.
- Author:
- Pavel Zlámal invalid input: '<'zlamal@cesnet.cz>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangedAttributeHook(PerunSessionImpl session, User user, Attribute attribute) When KOS title before name is set, check if there is title from DC2 (personal system).Return attributes definition which is represented by the moduleMethods inherited from class UserAttributesModuleAbstract
checkAttributeSemantics, checkAttributeSyntax, deletedEntityHook, fillAttribute, getAnonymizedValueMethods inherited from class AttributesModuleAbstract
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AttributesModuleImplApi
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from interface UserAttributesModuleImplApi
checkAttributeSemantics, checkAttributeSyntax, deletedEntityHook, fillAttribute, getAnonymizedValue
-
Constructor Details
-
urn_perun_user_attribute_def_def_titleBeforeKos
public urn_perun_user_attribute_def_def_titleBeforeKos()
-
-
Method Details
-
changedAttributeHook
When KOS title before name is set, check if there is title from DC2 (personal system). If not, update title in 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
-