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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAttributeSemantics(PerunSessionImpl sess, T entity, Attribute attribute) voidcheckAttributeSyntax(PerunSessionImpl sess, T entity, Attribute attribute) protected abstract booleanisAllowedParameter(String parameter) If parameter (key) is allowed in HashMap for membershipExpirationRulesMethods inherited from class AttributesModuleAbstract
getAttributeDefinition, getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-