Class urn_perun_vo_attribute_def_def_applicationExpirationRules
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.AbstractApplicationExpirationRulesModule<Vo>
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_vo_attribute_def_def_applicationExpirationRules
- All Implemented Interfaces:
AttributesModuleImplApi, VoAttributesModuleImplApi
public class urn_perun_vo_attribute_def_def_applicationExpirationRules
extends AbstractApplicationExpirationRulesModule<Vo>
implements VoAttributesModuleImplApi
- Author:
- Jakub Hejda invalid input: '<'Jakub.Hejda@cesnet.cz>
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangedAttributeHook(PerunSessionImpl session, Vo vo, Attribute attribute) If you need to do some further work with other modules, this method do thatvoidcheckAttributeSemantics(PerunSessionImpl perunSession, Vo vo, Attribute attribute) Checks if value of this vo attribute has valid semantics.voidcheckAttributeSyntax(PerunSessionImpl perunSession, Vo vo, Attribute attribute) Checks if value of this vo attribute has valid syntax.fillAttribute(PerunSessionImpl perunSession, Vo vo, AttributeDefinition attribute) This method tries to fill appropriate Virtual Organization (Vo) attributes.Return attributes definition which is represented by the moduleMethods 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, resolveVirtualAttributeValueChange
-
Constructor Details
-
urn_perun_vo_attribute_def_def_applicationExpirationRules
public urn_perun_vo_attribute_def_def_applicationExpirationRules()
-
-
Method Details
-
changedAttributeHook
Description copied from interface:VoAttributesModuleImplApiIf you need to do some further work with other modules, this method do that- Specified by:
changedAttributeHookin interfaceVoAttributesModuleImplApi- Parameters:
session- sessionvo- the voattribute- the attribute
-
checkAttributeSemantics
public void checkAttributeSemantics(PerunSessionImpl perunSession, Vo vo, Attribute attribute) throws WrongReferenceAttributeValueException Description copied from interface:VoAttributesModuleImplApiChecks if value of this vo attribute has valid semantics.- Specified by:
checkAttributeSemanticsin interfaceVoAttributesModuleImplApi- Parameters:
perunSession- Perun sessionvo- Virtual Organizationattribute- attribute to be checked- Throws:
WrongReferenceAttributeValueException- if the attribute value has wrong/illegal semantics
-
checkAttributeSyntax
public void checkAttributeSyntax(PerunSessionImpl perunSession, Vo vo, Attribute attribute) throws WrongAttributeValueException Description copied from interface:VoAttributesModuleImplApiChecks if value of this vo attribute has valid syntax.- Specified by:
checkAttributeSyntaxin interfaceVoAttributesModuleImplApi- Overrides:
checkAttributeSyntaxin classAbstractApplicationExpirationRulesModule<Vo>- Parameters:
perunSession- Perun sessionvo- Virtual Organizationattribute- attribute to be checked- Throws:
WrongAttributeValueException- if the attribute value has wrong/illegal syntax
-
fillAttribute
Description copied from interface:VoAttributesModuleImplApiThis method tries to fill appropriate Virtual Organization (Vo) attributes.- Specified by:
fillAttributein interfaceVoAttributesModuleImplApi- Parameters:
perunSession- Perun sessionvo- Virtual Organizationattribute- Attribute of which you'd like to check.- Returns:
- attribute which MAY by filled in.
-
getAttributeDefinition
Description copied from interface:AttributesModuleImplApiReturn attributes definition which is represented by the module- Specified by:
getAttributeDefinitionin interfaceAttributesModuleImplApi- Overrides:
getAttributeDefinitionin classAttributesModuleAbstract- Returns:
- attribute definition
-