Class urn_perun_user_attribute_def_virt_login_namespace_surf_ram_persistent
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_login_namespace_surf_ram_persistent
- All Implemented Interfaces:
AttributesModuleImplApi
,UserAttributesModuleImplApi
,UserVirtualAttributesModuleImplApi
,VirtualAttributesModuleImplApi
public class urn_perun_user_attribute_def_virt_login_namespace_surf_ram_persistent
extends UserVirtualAttributesModuleAbstract
Class for access def:surf-ram-persistent-shadow attribute. It generates value if you call it for the first time.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn attributes definition which is represented by the modulegetAttributeValue
(PerunSessionImpl sess, User user, AttributeDefinition attributeDefinition) 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
-
Field Details
-
SHADOW
- See Also:
-
-
Constructor Details
-
urn_perun_user_attribute_def_virt_login_namespace_surf_ram_persistent
public urn_perun_user_attribute_def_virt_login_namespace_surf_ram_persistent()
-
-
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 sess, User user, AttributeDefinition attributeDefinition) Description copied from interface:UserVirtualAttributesModuleImplApi
This method will return computed value.- Specified by:
getAttributeValue
in interfaceUserVirtualAttributesModuleImplApi
- Overrides:
getAttributeValue
in classUserVirtualAttributesModuleAbstract
- Parameters:
sess
- perun sessionuser
- user which is needed for computing the valueattributeDefinition
- 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:
-