Class urn_perun_member_attribute_def_def_lifecycleTimestamps
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.MemberAttributesModuleAbstract
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_member_attribute_def_def_lifecycleTimestamps
- All Implemented Interfaces:
AttributesModuleImplApi, MemberAttributesModuleImplApi
public class urn_perun_member_attribute_def_def_lifecycleTimestamps
extends MemberAttributesModuleAbstract
implements MemberAttributesModuleImplApi
Holds timestamps of member's dates of expiration/archivation. These values should only be set automatically by Perun
- Author:
- David Flor invalid input: '<'davidflor@seznam.cz>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAttributeSemantics(PerunSessionImpl perunSession, Member member, Attribute attribute) Checks if value of assigned attribute to the member has valid semantics.voidcheckAttributeSyntax(PerunSessionImpl perunSession, Member member, Attribute attribute) Checks if value of assigned attribute to the member has valid syntax.Return attributes definition which is represented by the moduleMethods inherited from class MemberAttributesModuleAbstract
changedAttributeHook, fillAttributeMethods inherited from class AttributesModuleAbstract
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods 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 MemberAttributesModuleImplApi
changedAttributeHook, fillAttribute
-
Constructor Details
-
urn_perun_member_attribute_def_def_lifecycleTimestamps
public urn_perun_member_attribute_def_def_lifecycleTimestamps()
-
-
Method Details
-
checkAttributeSyntax
public void checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Attribute attribute) throws WrongAttributeValueException Description copied from interface:MemberAttributesModuleImplApiChecks if value of assigned attribute to the member has valid syntax.- Specified by:
checkAttributeSyntaxin interfaceMemberAttributesModuleImplApi- Overrides:
checkAttributeSyntaxin classMemberAttributesModuleAbstract- Parameters:
perunSession- Perun sessionmember- Memberattribute- Attribute of the member.- Throws:
WrongAttributeValueException- if the attribute value has wrong/illegal syntax
-
checkAttributeSemantics
public void checkAttributeSemantics(PerunSessionImpl perunSession, Member member, Attribute attribute) throws WrongAttributeAssignmentException, WrongReferenceAttributeValueException Description copied from interface:MemberAttributesModuleImplApiChecks if value of assigned attribute to the member has valid semantics.- Specified by:
checkAttributeSemanticsin interfaceMemberAttributesModuleImplApi- Overrides:
checkAttributeSemanticsin classMemberAttributesModuleAbstract- Parameters:
perunSession- Perun sessionmember- Memberattribute- Attribute of the member.- Throws:
WrongAttributeAssignmentException- if attribute does not belong to appropriate entityWrongReferenceAttributeValueException- if the attribute value has wrong/illegal semantics
-
getAttributeDefinition
Description copied from interface:AttributesModuleImplApiReturn attributes definition which is represented by the module- Specified by:
getAttributeDefinitionin interfaceAttributesModuleImplApi- Overrides:
getAttributeDefinitionin classAttributesModuleAbstract- Returns:
- attribute definition
-