Class urn_perun_group_attribute_def_def_applicationAutoRejectMessages
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.AbstractApplicationAutoRejectMessagesModule<Group>
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_group_attribute_def_def_applicationAutoRejectMessages
- All Implemented Interfaces:
AttributesModuleImplApi,GroupAttributesModuleImplApi
public class urn_perun_group_attribute_def_def_applicationAutoRejectMessages
extends AbstractApplicationAutoRejectMessagesModule<Group>
implements GroupAttributesModuleImplApi
- Author:
- vojtech sassmann invalid input: '<'vojtech.sassmann@gmail.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangedAttributeHook(PerunSessionImpl session, Group group, Attribute attribute) If you need to do some further work with other modules, this method do thatvoidcheckAttributeSemantics(PerunSessionImpl perunSession, Group group, Attribute attribute) Checks if value of this group attribute has valid semantics.voidcheckAttributeSyntax(PerunSessionImpl sess, Group group, Attribute attribute) Checks if value of this group attribute has valid syntax.fillAttribute(PerunSessionImpl perunSession, Group group, AttributeDefinition attribute) This method MAY fill an attribute at the specified resource.Return attributes definition which is represented by the moduleMethods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleImplApi
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
-
Constructor Details
-
urn_perun_group_attribute_def_def_applicationAutoRejectMessages
public urn_perun_group_attribute_def_def_applicationAutoRejectMessages()
-
-
Method Details
-
changedAttributeHook
public void changedAttributeHook(PerunSessionImpl session, Group group, Attribute attribute) throws WrongReferenceAttributeValueException Description copied from interface:GroupAttributesModuleImplApiIf you need to do some further work with other modules, this method do that- Specified by:
changedAttributeHookin interfaceGroupAttributesModuleImplApi- Parameters:
session- sessiongroup- the groupattribute- the attribute- Throws:
WrongReferenceAttributeValueException
-
checkAttributeSemantics
public void checkAttributeSemantics(PerunSessionImpl perunSession, Group group, Attribute attribute) throws WrongAttributeAssignmentException, WrongReferenceAttributeValueException Description copied from interface:GroupAttributesModuleImplApiChecks if value of this group attribute has valid semantics.- Specified by:
checkAttributeSemanticsin interfaceGroupAttributesModuleImplApi- Parameters:
perunSession- perun sessiongroup- groupattribute- attribute to check- Throws:
WrongAttributeAssignmentException- if attribute does not belong to appropriate entityWrongReferenceAttributeValueException- if the attribute value has wrong/illegal semantics
-
checkAttributeSyntax
public void checkAttributeSyntax(PerunSessionImpl sess, Group group, Attribute attribute) throws WrongAttributeValueException Description copied from interface:GroupAttributesModuleImplApiChecks if value of this group attribute has valid syntax.- Specified by:
checkAttributeSyntaxin interfaceGroupAttributesModuleImplApi- Overrides:
checkAttributeSyntaxin classAbstractApplicationAutoRejectMessagesModule<Group>- Parameters:
sess- perun sessiongroup- string for which you want to check validity of attributeattribute- attribute to check- Throws:
WrongAttributeValueException- if the attribute value has wrong/illegal syntax
-
fillAttribute
public Attribute fillAttribute(PerunSessionImpl perunSession, Group group, AttributeDefinition attribute) throws WrongAttributeAssignmentException Description copied from interface:GroupAttributesModuleImplApiThis method MAY fill an attribute at the specified resource.- Specified by:
fillAttributein interfaceGroupAttributesModuleImplApi- Parameters:
perunSession- perun sessiongroup- groupattribute- attribute to fill in- Returns:
- Throws:
WrongAttributeAssignmentException
-
getAttributeDefinition
Description copied from interface:AttributesModuleImplApiReturn attributes definition which is represented by the module- Specified by:
getAttributeDefinitionin interfaceAttributesModuleImplApi- Overrides:
getAttributeDefinitionin classAttributesModuleAbstract- Returns:
- attribute definition
-