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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changedAttributeHook
(PerunSessionImpl session, Group group, Attribute attribute) If you need to do some further work with other modules, this method do thatvoid
checkAttributeSemantics
(PerunSessionImpl perunSession, Group group, Attribute attribute) Checks if value of this group attribute has valid semantics.void
checkAttributeSyntax
(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, 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_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:GroupAttributesModuleImplApi
If you need to do some further work with other modules, this method do that- Specified by:
changedAttributeHook
in 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:GroupAttributesModuleImplApi
Checks if value of this group attribute has valid semantics.- Specified by:
checkAttributeSemantics
in 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:GroupAttributesModuleImplApi
Checks if value of this group attribute has valid syntax.- Specified by:
checkAttributeSyntax
in interfaceGroupAttributesModuleImplApi
- Overrides:
checkAttributeSyntax
in 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:GroupAttributesModuleImplApi
This method MAY fill an attribute at the specified resource.- Specified by:
fillAttribute
in interfaceGroupAttributesModuleImplApi
- Parameters:
perunSession
- perun sessiongroup
- groupattribute
- attribute to fill in- Returns:
- Throws:
WrongAttributeAssignmentException
-
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
-