Class urn_perun_user_attribute_def_virt_scopedLogin_namespace_mu
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.UserAttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.UserVirtualAttributesModuleAbstract
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_user_attribute_def_virt_scopedLogin_namespace_mu
- All Implemented Interfaces:
AttributesModuleImplApi
,UserAttributesModuleImplApi
,UserVirtualAttributesModuleImplApi
,VirtualAttributesModuleImplApi
public class urn_perun_user_attribute_def_virt_scopedLogin_namespace_mu
extends UserVirtualAttributesModuleAbstract
Contains login in the MU namespace concatenated with @muni.cz if it is available, null otherwise
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn attributes definition which is represented by the modulegetAttributeValue
(PerunSessionImpl perunSession, User user, AttributeDefinition attribute) This method will return computed value.Get list of attributes which this attribute value is computed from.Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.UserVirtualAttributesModuleAbstract
removeAttributeValue, resolveVirtualAttributeValueChange, searchInAttributesValues, setAttributeValue
Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.UserAttributesModuleAbstract
changedAttributeHook, checkAttributeSemantics, checkAttributeSyntax, fillAttribute, getAnonymizedValue
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
Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.UserAttributesModuleImplApi
changedAttributeHook, checkAttributeSemantics, checkAttributeSyntax, fillAttribute, getAnonymizedValue
-
Constructor Details
-
urn_perun_user_attribute_def_virt_scopedLogin_namespace_mu
public urn_perun_user_attribute_def_virt_scopedLogin_namespace_mu()
-
-
Method Details
-
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 perunSession, User user, AttributeDefinition attribute) Description copied from interface:UserVirtualAttributesModuleImplApi
This method will return computed value.- Specified by:
getAttributeValue
in interfaceUserVirtualAttributesModuleImplApi
- Overrides:
getAttributeValue
in classUserVirtualAttributesModuleAbstract
- Parameters:
perunSession
- perun sessionuser
- user which is needed for computing the valueattribute
- attribute to operate on- Returns:
-
getStrongDependencies
Description copied from interface:VirtualAttributesModuleImplApi
Get list of attributes which this attribute value is computed from. In other words attributes whose values change can also directly affect value of this attribute.An attribute should strongly depend on all attributes which values are used in method "getAttributeValue" defined in attribute module for virtual attributes.
- Specified by:
getStrongDependencies
in interfaceVirtualAttributesModuleImplApi
- Overrides:
getStrongDependencies
in classUserVirtualAttributesModuleAbstract
- Returns:
- list of attributes this attribute strongly depends on
- See Also:
-