Class urn_perun_member_resource_attribute_def_def_dataQuotasOverride
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.MemberResourceAttributesModuleAbstract
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_member_resource_attribute_def_def_dataQuotasOverride
- All Implemented Interfaces:
AttributesModuleImplApi, MemberResourceAttributesModuleImplApi
public class urn_perun_member_resource_attribute_def_def_dataQuotasOverride
extends MemberResourceAttributesModuleAbstract
implements MemberResourceAttributesModuleImplApi
Attribute for setting override of the member's quota on the resource. This override is always used instead of
defaultDataQuota on resource or specific member-resource DataQuota
- Author:
- Michal Stava stavamichal@gmail.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAttributeSyntax(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) This method checks syntax of Member's attribute value at a specified resource.Return attributes definition which is represented by the moduleMethods inherited from class MemberResourceAttributesModuleAbstract
changedAttributeHook, checkAttributeSemantics, fillAttributeMethods 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 MemberResourceAttributesModuleImplApi
changedAttributeHook, checkAttributeSemantics, fillAttribute
-
Constructor Details
-
urn_perun_member_resource_attribute_def_def_dataQuotasOverride
public urn_perun_member_resource_attribute_def_def_dataQuotasOverride()
-
-
Method Details
-
checkAttributeSyntax
public void checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) throws WrongAttributeValueException Description copied from interface:MemberResourceAttributesModuleImplApiThis method checks syntax of Member's attribute value at a specified resource.- Specified by:
checkAttributeSyntaxin interfaceMemberResourceAttributesModuleImplApi- Overrides:
checkAttributeSyntaxin classMemberResourceAttributesModuleAbstract- Parameters:
perunSession- Perun sessionmember- Memberresource- Resourceattribute- Attribute to be checked.- Throws:
WrongAttributeValueException- if the attribute value has wrong/illegal syntax
-
getAttributeDefinition
Description copied from interface:AttributesModuleImplApiReturn attributes definition which is represented by the module- Specified by:
getAttributeDefinitionin interfaceAttributesModuleImplApi- Overrides:
getAttributeDefinitionin classAttributesModuleAbstract- Returns:
- attribute definition
-