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
Fields inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AbstractApplicationExpirationRulesModule
APPLICATION_IGNORED_BY_ADMIN_KEY_NAME, APPLICATION_WAITING_FOR_EMAIL_VERIFICATION_KEY_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
changedAttributeHook
(PerunSessionImpl session, Vo vo, Attribute attribute) If you need to do some further work with other modules, this method do thatvoid
checkAttributeSemantics
(PerunSessionImpl perunSession, Vo vo, Attribute attribute) Checks if value of this vo attribute has valid semantics.void
checkAttributeSyntax
(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 cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
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
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:VoAttributesModuleImplApi
If you need to do some further work with other modules, this method do that- Specified by:
changedAttributeHook
in interfaceVoAttributesModuleImplApi
- Parameters:
session
- sessionvo
- the voattribute
- the attribute
-
checkAttributeSemantics
public void checkAttributeSemantics(PerunSessionImpl perunSession, Vo vo, Attribute attribute) throws WrongReferenceAttributeValueException Description copied from interface:VoAttributesModuleImplApi
Checks if value of this vo attribute has valid semantics.- Specified by:
checkAttributeSemantics
in 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:VoAttributesModuleImplApi
Checks if value of this vo attribute has valid syntax.- Specified by:
checkAttributeSyntax
in interfaceVoAttributesModuleImplApi
- Overrides:
checkAttributeSyntax
in 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:VoAttributesModuleImplApi
This method tries to fill appropriate Virtual Organization (Vo) attributes.- Specified by:
fillAttribute
in 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:AttributesModuleImplApi
Return attributes definition which is represented by the module- Specified by:
getAttributeDefinition
in interfaceAttributesModuleImplApi
- Overrides:
getAttributeDefinition
in classAttributesModuleAbstract
- Returns:
- attribute definition
-