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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAttributeSyntax(PerunSessionImpl sess, User user, Attribute attribute) Checks if users category has allowed valueMethods inherited from class UserAttributesModuleAbstract
changedAttributeHook, checkAttributeSemantics, deletedEntityHook, fillAttribute, getAnonymizedValueMethods inherited from class AttributesModuleAbstract
getAttributeDefinition, getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AttributesModuleImplApi
getAttributeDefinition, getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from interface UserAttributesModuleImplApi
changedAttributeHook, checkAttributeSemantics, deletedEntityHook, 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:
checkAttributeSyntaxin interfaceUserAttributesModuleImplApi- Overrides:
checkAttributeSyntaxin classUserAttributesModuleAbstract- Parameters:
sess- PerunSessionuser- userattribute- Attribute of the user- Throws:
WrongAttributeValueException- if the attribute value has wrong/illegal syntax
-