Class urn_perun_user_attribute_def_def_cscaleUserCategory
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_cscaleUserCategory
- All Implemented Interfaces:
AttributesModuleImplApi
,UserAttributesModuleImplApi
public class urn_perun_user_attribute_def_def_cscaleUserCategory
extends UserAttributesModuleAbstract
implements UserAttributesModuleImplApi
Check constraint on C-SCALE user categories
- Author:
- Pavel Zlámal invalid input: '<'zlamal@cesnet.cz>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkAttributeSyntax
(PerunSessionImpl sess, User user, Attribute attribute) Checks if users category has allowed valueMethods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.UserAttributesModuleAbstract
changedAttributeHook, checkAttributeSemantics, fillAttribute, getAnonymizedValue
Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
getAttributeDefinition, 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
getAttributeDefinition, getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.UserAttributesModuleImplApi
changedAttributeHook, checkAttributeSemantics, fillAttribute, getAnonymizedValue
-
Constructor Details
-
urn_perun_user_attribute_def_def_cscaleUserCategory
public urn_perun_user_attribute_def_def_cscaleUserCategory()
-
-
Method Details
-
checkAttributeSyntax
public void checkAttributeSyntax(PerunSessionImpl sess, User user, Attribute attribute) throws WrongAttributeValueException Checks if users category has allowed value- Specified by:
checkAttributeSyntax
in interfaceUserAttributesModuleImplApi
- Overrides:
checkAttributeSyntax
in classUserAttributesModuleAbstract
- Parameters:
sess
- PerunSessionuser
- userattribute
- Attribute of the user- Throws:
WrongAttributeValueException
- if the attribute value has wrong/illegal syntax
-