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 invalid input: '<'zlamal@cesnet.cz>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAttributeSyntax(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 MemberGroupVirtualAttributesModuleAbstract
getStrongDependencies, removeAttributeValue, resolveVirtualAttributeValueChange, setAttributeValueMethods inherited from class MemberGroupAttributesModuleAbstract
changedAttributeHook, checkAttributeSemantics, fillAttributeMethods inherited from class AttributesModuleAbstract
getAuthorizedRoles, getDependenciesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AttributesModuleImplApi
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from interface MemberGroupAttributesModuleImplApi
changedAttributeHook, checkAttributeSemantics, fillAttributeMethods inherited from interface MemberGroupVirtualAttributesModuleImplApi
removeAttributeValue, setAttributeValueMethods inherited from interface 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:MemberGroupAttributesModuleImplApiThis method checks syntax of Member's attribute value in a specified group.- Specified by:
checkAttributeSyntaxin interfaceMemberGroupAttributesModuleImplApi- Overrides:
checkAttributeSyntaxin 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:AttributesModuleImplApiReturn attributes definition which is represented by the module- Specified by:
getAttributeDefinitionin interfaceAttributesModuleImplApi- Overrides:
getAttributeDefinitionin classAttributesModuleAbstract- Returns:
- attribute definition
-
getAttributeValue
public Attribute getAttributeValue(PerunSessionImpl sess, Member member, Group group, AttributeDefinition attribute) Description copied from interface:MemberGroupVirtualAttributesModuleImplApiThis method will return computed value.- Specified by:
getAttributeValuein interfaceMemberGroupVirtualAttributesModuleImplApi- Overrides:
getAttributeValuein 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
-