Class AbstractMembershipExpirationRulesModule<T extends PerunBean>
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.AbstractMembershipExpirationRulesModule<T>
- All Implemented Interfaces:
AttributesModuleImplApi
- Direct Known Subclasses:
urn_perun_group_attribute_def_def_groupMembershipExpirationRules
,urn_perun_vo_attribute_def_def_membershipExpirationRules
public abstract class AbstractMembershipExpirationRulesModule<T extends PerunBean>
extends AttributesModuleAbstract
implements AttributesModuleImplApi
- Author:
- Vojtech Sassmann invalid input: '<'vojtech.sassmann@gmail.com>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkAttributeSemantics
(PerunSessionImpl sess, T entity, Attribute attribute) void
checkAttributeSyntax
(PerunSessionImpl sess, T entity, Attribute attribute) protected abstract boolean
isAllowedParameter
(String parameter) If parameter (key) is allowed in HashMap for membershipExpirationRulesMethods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
getAttributeDefinition, getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
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
getAttributeDefinition, getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
-
Field Details
-
MEMBERSHIP_GRACE_PERIOD_KEY_NAME
- See Also:
-
MEMBERSHIP_PERIOD_KEY_NAME
- See Also:
-
MEMBERSHIP_DO_NOT_EXTEND_LOA_KEY_NAME
- See Also:
-
MEMBERSHIP_PERIOD_LOA_KEY_NAME
- See Also:
-
MEMBERSHIP_DO_NOT_ALLOW_LOA_KEY_NAME
- See Also:
-
AUTO_EXTENSION_LAST_LOGIN_PERIOD
- See Also:
-
AUTO_EXTENSION_EXT_SOURCES
- See Also:
-
EXPIRE_SPONSORED_MEMBERS
- See Also:
-
-
Constructor Details
-
AbstractMembershipExpirationRulesModule
public AbstractMembershipExpirationRulesModule()
-
-
Method Details
-
checkAttributeSemantics
public void checkAttributeSemantics(PerunSessionImpl sess, T entity, Attribute attribute) throws WrongReferenceAttributeValueException, WrongAttributeAssignmentException -
checkAttributeSyntax
public void checkAttributeSyntax(PerunSessionImpl sess, T entity, Attribute attribute) throws WrongAttributeValueException - Throws:
WrongAttributeValueException
-
isAllowedParameter
If parameter (key) is allowed in HashMap for membershipExpirationRules- Parameters:
parameter
- String- Returns:
- true if parameter is allowed, false if is not
-