Class urn_perun_member_group_attribute_def_virt_groupStatus
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.MemberGroupAttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.MemberGroupVirtualAttributesModuleAbstract
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_member_group_attribute_def_virt_groupStatus
- All Implemented Interfaces:
AttributesModuleImplApi
,MemberGroupAttributesModuleImplApi
,MemberGroupVirtualAttributesModuleImplApi
,VirtualAttributesModuleImplApi
public class urn_perun_member_group_attribute_def_virt_groupStatus
extends MemberGroupVirtualAttributesModuleAbstract
implements MemberGroupVirtualAttributesModuleImplApi
Returns member-group status (VALID/EXPIRED) for specified member and group
- Author:
- Pavel Zlámal <zlamal@cesnet.cz>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkAttributeSyntax
(PerunSessionImpl perunSession, Member member, Group group, Attribute attribute) This method checks syntax of Member's attribute value in a specified group.Return attributes definition which is represented by the modulegetAttributeValue
(PerunSessionImpl sess, Member member, Group group, AttributeDefinition attribute) This method will return computed value.Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.MemberGroupVirtualAttributesModuleAbstract
getStrongDependencies, removeAttributeValue, resolveVirtualAttributeValueChange, setAttributeValue
Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.MemberGroupAttributesModuleAbstract
changedAttributeHook, checkAttributeSemantics, fillAttribute
Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
getAuthorizedRoles, getDependencies
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
Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.MemberGroupAttributesModuleImplApi
changedAttributeHook, checkAttributeSemantics, fillAttribute
Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.MemberGroupVirtualAttributesModuleImplApi
removeAttributeValue, setAttributeValue
Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.VirtualAttributesModuleImplApi
getStrongDependencies
-
Constructor Details
-
urn_perun_member_group_attribute_def_virt_groupStatus
public urn_perun_member_group_attribute_def_virt_groupStatus()
-
-
Method Details
-
checkAttributeSyntax
public void checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Group group, Attribute attribute) throws WrongAttributeValueException Description copied from interface:MemberGroupAttributesModuleImplApi
This method checks syntax of Member's attribute value in a specified group.- Specified by:
checkAttributeSyntax
in interfaceMemberGroupAttributesModuleImplApi
- Overrides:
checkAttributeSyntax
in classMemberGroupAttributesModuleAbstract
- Parameters:
perunSession
- Perun sessionmember
- Membergroup
- Groupattribute
- Attribute to be checked.- Throws:
WrongAttributeValueException
- if the attribute value has wrong/illegal syntax
-
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
-
getAttributeValue
public Attribute getAttributeValue(PerunSessionImpl sess, Member member, Group group, AttributeDefinition attribute) Description copied from interface:MemberGroupVirtualAttributesModuleImplApi
This method will return computed value.- Specified by:
getAttributeValue
in interfaceMemberGroupVirtualAttributesModuleImplApi
- Overrides:
getAttributeValue
in classMemberGroupVirtualAttributesModuleAbstract
- Parameters:
sess
- perun sessionmember
- member which is needed for computing the valuegroup
- group which is needed for computing the valueattribute
- attribute to operate on- Returns:
- attribute value
-